osAfterPreNMI osAfterPreNMI (function)

Initializes the RSP's program counter (PC)


#include <ultra64.h> /* ultra64.h */
s32 osAfterPreNMI(void);


The application will call this function every time after it receives a pre-NMI or all the RSP tasks have been stopped.

0 is returned if the function is successfully called. When the RSP is running, -1 is returned if the call fails. In the event of a failure, wait for the RSP task currently running to finish, then call the function again.

Revision History

1999/04/30 Changed Format