1
0
mirror of https://github.com/cc65/cc65.git synced 2026-04-20 02:17:07 +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:
uz
2012-01-01 19:58:31 +00:00
parent 0692c66db3
commit 5b659547b8
5 changed files with 10 additions and 11 deletions
+2 -2
View File
@@ -132,9 +132,9 @@ L2: lda zpsave,x
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
+2 -2
View File
@@ -112,9 +112,9 @@ L2: lda zpsave,x
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.
+2 -2
View File
@@ -121,9 +121,9 @@ L2: lda zpsave,x
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.
+2 -3
View File
@@ -112,11 +112,10 @@ L2: lda zpsave,x
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
+2 -2
View File
@@ -106,9 +106,9 @@ L2: lda zpsave,x
ldx spsave
txs
; Reset changed vectors, back to basic
; Back to basic
jmp RESTOR
rts
; ------------------------------------------------------------------------