User Tools

Site Tools


base:protecting_against_soft-resets

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Last revisionBoth sides next revision
base:protecting_against_soft-resets [2016-01-31 21:03] – created karmicbase:protecting_against_soft-resets [2016-01-31 21:41] 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</code>   jmp main ;go back to main code</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.
base/protecting_against_soft-resets.txt · Last modified: 2016-01-31 22:02 by karmic