base:protecting_against_soft-resets
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
base:protecting_against_soft-resets [2016-01-31 21:03] – created karmic | base:protecting_against_soft-resets [2016-01-31 22:02] (current) – karmic | ||
---|---|---|---|
Line 26: | Line 26: | ||
lda #$2f ;reset data-direction register, otherwise the system won't start correctly | lda #$2f ;reset data-direction register, otherwise the system won't start correctly | ||
sta $00 | sta $00 | ||
+ | jsr $e5a8 ;optional, refresh the VIC | ||
jmp main ;go back to main code</ | jmp main ;go back to main code</ | ||
Now try soft-resetting. Instead of going back to the basic screen, instead you'll see the inc $d020 effect. | Now try soft-resetting. Instead of going back to the basic screen, instead you'll see the inc $d020 effect. | ||
+ | |||
+ | Note that if you're using the kernal NMI routine ([[http:// |
base/protecting_against_soft-resets.1454270626.txt.gz · Last modified: 2016-01-31 21:03 by karmic