1
0
mirror of https://github.com/cc65/cc65.git synced 2024-09-27 04:54:54 +00:00

Squeezed one precious byte out of the code

git-svn-id: svn://svn.cc65.org/cc65/trunk@2749 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
cuz 2003-12-13 20:55:37 +00:00
parent 108134f43d
commit 042c63f278
5 changed files with 7 additions and 7 deletions

View 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

View 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.

View 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.

View 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.

View 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.