Nintendo 64: Difference between revisions

m
no edit summary
No edit summary
mNo edit summary
Line 19: Line 19:
When the reset button is pressed, the PIF sends a "pre-NMI" interrupt to the CPU, and 0.5s later sends the NMI that resets the console. Letting the CPU know about the reset in advance allows games to add handlers for resets, such as SM64's reset animation.
When the reset button is pressed, the PIF sends a "pre-NMI" interrupt to the CPU, and 0.5s later sends the NMI that resets the console. Letting the CPU know about the reset in advance allows games to add handlers for resets, such as SM64's reset animation.


When the NMI occurs, RAM is not cleared. In SM64, the bss of the main segment is cleared, but not the bss of other segments (I think?).
When the NMI occurs, RAM is not cleared. In SM64, the bss of the main segment is cleared to 0 on boot, but not the bss of other segments (I think?).