PDA

View Full Version : Vic-20/C64 RESTORE Key



jeff48356
December 23rd, 2007, 05:46 PM
On some games, pressing the RESTORE key by itself will restart the game. How is this done?

zeropage
December 23rd, 2007, 08:01 PM
poke 792,peek(65532) : poke 793,peek(65533) - Changes Restore Key to Reset

found it here. http://www.geocities.com/dunric/pokesc64.txt

carlsson
December 23rd, 2007, 10:50 PM
The RESTORE key generates an NMI (non-maskable interrupt) if I recall correctly, so the pointer changed above would determine what happens wheneven an NMI occurs.