mirror of
https://github.com/cc65/cc65.git
synced 2025-08-13 08:25:28 +00:00
Removed the jump to RESTOR on exit for all the CBM platforms.
git-svn-id: svn://svn.cc65.org/cc65/trunk@5355 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
@@ -132,9 +132,9 @@ L2: lda zpsave,x
|
|||||||
ldx mmusave
|
ldx mmusave
|
||||||
stx MMU_CR
|
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
|
; The C128 has ROM parallel to the RAM starting from $4000. The startup code
|
||||||
|
@@ -112,9 +112,9 @@ L2: lda zpsave,x
|
|||||||
ldx spsave
|
ldx spsave
|
||||||
txs
|
txs
|
||||||
|
|
||||||
; Reset changed vectors
|
; Back to BASIC
|
||||||
|
|
||||||
jmp RESTOR
|
rts
|
||||||
|
|
||||||
; ------------------------------------------------------------------------
|
; ------------------------------------------------------------------------
|
||||||
; The IRQ vector jumps here, if condes routines are defined with type 2.
|
; The IRQ vector jumps here, if condes routines are defined with type 2.
|
||||||
|
@@ -121,9 +121,9 @@ L2: lda zpsave,x
|
|||||||
ldx mmusave
|
ldx mmusave
|
||||||
stx $01 ; Restore memory configuration
|
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.
|
; The IRQ vector jumps here, if condes routines are defined with type 2.
|
||||||
|
@@ -112,11 +112,10 @@ L2: lda zpsave,x
|
|||||||
ldx spsave
|
ldx spsave
|
||||||
txs
|
txs
|
||||||
|
|
||||||
; Enable the ROM, reset changed vectors and return to BASIC
|
; Enable the ROM and return to BASIC
|
||||||
|
|
||||||
sta ENABLE_ROM
|
sta ENABLE_ROM
|
||||||
jmp $FF8A ; RESTOR
|
rts
|
||||||
|
|
||||||
|
|
||||||
; ------------------------------------------------------------------------
|
; ------------------------------------------------------------------------
|
||||||
; IRQ handler. The handler in the ROM enables the kernal and jumps to
|
; IRQ handler. The handler in the ROM enables the kernal and jumps to
|
||||||
|
@@ -106,9 +106,9 @@ L2: lda zpsave,x
|
|||||||
ldx spsave
|
ldx spsave
|
||||||
txs
|
txs
|
||||||
|
|
||||||
; Reset changed vectors, back to basic
|
; Back to basic
|
||||||
|
|
||||||
jmp RESTOR
|
rts
|
||||||
|
|
||||||
|
|
||||||
; ------------------------------------------------------------------------
|
; ------------------------------------------------------------------------
|
||||||
|
Reference in New Issue
Block a user