osAppNMIBuffer osAppNMIBuffer (function)

Functions as a 64-byte buffer cleared by a cold reset


#include <ultra64.h>     /* ultra64.h */
s32 osAppNMIBuffer[16];


osAppNMIBuffer is a 64-byte buffer that is cleared on a cold reset. If the system reboots because of a NMI, this buffer is unchanged. The game can use this small buffer to hold data just as if it were a variable. If the game needs a larger buffer, that buffer needs to be located outside of the 1 Megabyte boot segment.

See Also


Revision History

1998/10/29 Became independent from osGlobals.
1999/04/30 Changed format