ldx mmusave
stx MMU_CR
-; Done, restore kernal vectors in an attempt to cleanup
+; Done, return to BASIC
- jmp RESTOR
+ rts
; ------------------------------------------------------------------------
; The C128 has ROM parallel to the RAM starting from $4000. The startup code
ldx spsave
txs
-; Reset changed vectors
+; Back to BASIC
- jmp RESTOR
+ rts
; ------------------------------------------------------------------------
; The IRQ vector jumps here, if condes routines are defined with type 2.
ldx mmusave
stx $01 ; Restore memory configuration
-; Reset changed vectors, back to basic
+; Back to basic
- jmp RESTOR
+ rts
; ------------------------------------------------------------------------
; The IRQ vector jumps here, if condes routines are defined with type 2.
ldx spsave
txs
-; Enable the ROM, reset changed vectors and return to BASIC
+; Enable the ROM and return to BASIC
sta ENABLE_ROM
- jmp $FF8A ; RESTOR
-
+ rts
; ------------------------------------------------------------------------
; IRQ handler. The handler in the ROM enables the kernal and jumps to
ldx spsave
txs
-; Reset changed vectors, back to basic
+; Back to basic
- jmp RESTOR
+ rts
; ------------------------------------------------------------------------