Language…
10 users online: Angel Miranda, aroohwahoou, Hawkathone,  Lazy, Manperson, papanug, Reese, Shiki_Makiro, SummerStar, Tulip Time Scholarship Games - Guests: 119 - Bots: 116
Users: 67,587 (2,006 active)
Latest user: Mrcheese

SM64 Memory Map

Displaying 1 out of 1 addresses.

View: moderated | waiting (9)

Filter

Link
  • Pages:
  • 1
RAM Address Length Type Context Description Details
$80322640 100 bytes Routine Global void osViSetEvent(OSMesgQueue *mq, OSMesg msg, u32 retraceCount);

Arguments

mq
Message queue address (0x8033AF78)
msg
Message announced when vertical retrace occurs
retraceCount
Retrace count

This function registers the specified message queue and message in the VI manager. The program can thus receive the message (msg) announced by the message queue (mq)) from the VI manager when a vertical retrace occurs. The send cycle for the message is changed according to the value set in the retrace count (retraceCount). For instance, while the cycle is 60Hz when this is set to 1, it becomes a low speed 30Hz when it is set to 2, decreasing the frequency at which the application receives the vertical retrace announcement (message send cycle = 60Hz/retrace count).

Return Values
None.

##Precautions##
Execute this function after setting the display mode (see osViSetMode).
  • Pages:
  • 1