]> git.sur5r.net Git - cc65/commitdiff
Squeezed one precious byte out of the code
authorcuz <cuz@b7a2c559-68d2-44c3-8de9-860c34a00d81>
Sat, 13 Dec 2003 20:55:37 +0000 (20:55 +0000)
committercuz <cuz@b7a2c559-68d2-44c3-8de9-860c34a00d81>
Sat, 13 Dec 2003 20:55:37 +0000 (20:55 +0000)
git-svn-id: svn://svn.cc65.org/cc65/trunk@2749 b7a2c559-68d2-44c3-8de9-860c34a00d81

libsrc/c128/c128-georam.s
libsrc/c128/c128-ramcart.s
libsrc/c64/c64-georam.s
libsrc/c64/c64-ram.s
libsrc/c64/c64-ramcart.s

index 4e0ecd8165537c93ce221203a71920d74513ad4d..c521e4a4bec6b3392564db78cc0259d83988f4b7 100644 (file)
@@ -61,7 +61,7 @@ pagecount:      .word   2048            ; Currently fixed
 INSTALL:
         lda     #<EM_ERR_OK
         ldx     #>EM_ERR_OK
-        rts
+;       rts                             ; Run into UNINSTALL instead
 
 ; ------------------------------------------------------------------------
 ; UNINSTALL routine. Is called before the driver is removed from memory.
@@ -245,7 +245,7 @@ setup:  sta     ptr1
         sta     ptr2
         iny
         lda     (ptr1),y
-        sta     ptr2+1
+        sta     ptr2+1                                              
 
 ; Get the count, calculate -(count-1) and store it into ptr3
 
index 695b478629fa7aac79cc780723e686e1ce2ead4a..0931c3508428f84dc6e2619fcd611d81c8351825 100644 (file)
@@ -100,7 +100,7 @@ INSTALL:
 @readonly:
        lda     #<EM_ERR_NO_DEVICE
        ldx     #>EM_ERR_NO_DEVICE
-       rts
+;      rts                             ; Run into UNINSTALL instead
 
 ; ------------------------------------------------------------------------
 ; UNINSTALL routine. Is called before the driver is removed from memory.
index 4e0ecd8165537c93ce221203a71920d74513ad4d..fc003b6aab167e0679311d882481620603259b71 100644 (file)
@@ -61,7 +61,7 @@ pagecount:      .word   2048            ; Currently fixed
 INSTALL:
         lda     #<EM_ERR_OK
         ldx     #>EM_ERR_OK
-        rts
+;       rts                     ; Run into UNINSTALL instead
 
 ; ------------------------------------------------------------------------
 ; UNINSTALL routine. Is called before the driver is removed from memory.
index 35194034d4a8cc834939c38c74a8f6d0587b20db..161f3527256b06b0ef2bd0dd0c9cb6b9436cc4d1 100644 (file)
@@ -62,7 +62,7 @@ INSTALL:
         stx     curpage                 ; Invalidate the current page
         inx                             ; X = 0
         txa                             ; A = X = EM_ERR_OK
-        rts
+;       rts                             ; Run into UNINSTALL instead
 
 ; ------------------------------------------------------------------------
 ; UNINSTALL routine. Is called before the driver is removed from memory.
index 5541e9b9f9926a222c27fc24b8808f58d38d476c..bd77410488bbb63ce86fef6ce3ee60d6ee2b2dad 100644 (file)
@@ -1,5 +1,5 @@
 ;
-; Extended memory driver for the RamCart 64/128KB cartridge. Driver works 
+; Extended memory driver for the RamCart 64/128KB cartridge. Driver works
 ; without problems when statically linked.
 ; Code is based on GEORAM code by Ullrich von Bassewitz.
 ; Maciej 'YTM/Elysium' Witkowiak <ytm@elysium.pl>
@@ -100,7 +100,7 @@ INSTALL:
 @readonly:
        lda     #<EM_ERR_NO_DEVICE
        ldx     #>EM_ERR_NO_DEVICE
-       rts
+;      rts                             ; Run into UNINSTALL instead
 
 ; ------------------------------------------------------------------------
 ; UNINSTALL routine. Is called before the driver is removed from memory.