]> git.sur5r.net Git - cc65/commitdiff
Removed the jump to RESTOR on exit for all the CBM platforms.
authoruz <uz@b7a2c559-68d2-44c3-8de9-860c34a00d81>
Sun, 1 Jan 2012 19:58:31 +0000 (19:58 +0000)
committeruz <uz@b7a2c559-68d2-44c3-8de9-860c34a00d81>
Sun, 1 Jan 2012 19:58:31 +0000 (19:58 +0000)
git-svn-id: svn://svn.cc65.org/cc65/trunk@5355 b7a2c559-68d2-44c3-8de9-860c34a00d81

libsrc/c128/crt0.s
libsrc/c16/crt0.s
libsrc/c64/crt0.s
libsrc/plus4/crt0.s
libsrc/vic20/crt0.s

index 97cad58faae32c3ba93900d9723419ce1529041e..5185e2c835f479d904e2011b19bb12ae0f6750d5 100644 (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
index 21f31bb681b0b3789d535a595bdfb113bac94721..71e7b0cf8b0b9b0b5c5d4c6ec71af15a58b9f256 100644 (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.
index a513b1f7380b42df1cc942cd26e2817479520e36..c9fee203157663f7a31ba4ab02ce8f3aeb5a28d4 100644 (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.
index a838854add62c0df2e97e10c4560fe7f82704cda..0592cca7ec316f0bcc57f8c76f8c7aa089019e66 100644 (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
index f2b01c9e860230ecac3a817a47223c67d7750498..944fabe48b40aa8cbabe73805c3f009758aac1ae 100644 (file)
@@ -106,9 +106,9 @@ L2: lda     zpsave,x
        ldx     spsave
        txs
 
-; Reset changed vectors, back to basic
+; Back to basic
 
-       jmp     RESTOR
+        rts
 
 
 ; ------------------------------------------------------------------------