mirror of
https://github.com/cc65/cc65.git
synced 2025-01-11 11:30:13 +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:
parent
108134f43d
commit
042c63f278
@ -61,7 +61,7 @@ pagecount: .word 2048 ; Currently fixed
|
|||||||
INSTALL:
|
INSTALL:
|
||||||
lda #<EM_ERR_OK
|
lda #<EM_ERR_OK
|
||||||
ldx #>EM_ERR_OK
|
ldx #>EM_ERR_OK
|
||||||
rts
|
; rts ; Run into UNINSTALL instead
|
||||||
|
|
||||||
; ------------------------------------------------------------------------
|
; ------------------------------------------------------------------------
|
||||||
; UNINSTALL routine. Is called before the driver is removed from memory.
|
; UNINSTALL routine. Is called before the driver is removed from memory.
|
||||||
|
@ -100,7 +100,7 @@ INSTALL:
|
|||||||
@readonly:
|
@readonly:
|
||||||
lda #<EM_ERR_NO_DEVICE
|
lda #<EM_ERR_NO_DEVICE
|
||||||
ldx #>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.
|
; UNINSTALL routine. Is called before the driver is removed from memory.
|
||||||
|
@ -61,7 +61,7 @@ pagecount: .word 2048 ; Currently fixed
|
|||||||
INSTALL:
|
INSTALL:
|
||||||
lda #<EM_ERR_OK
|
lda #<EM_ERR_OK
|
||||||
ldx #>EM_ERR_OK
|
ldx #>EM_ERR_OK
|
||||||
rts
|
; rts ; Run into UNINSTALL instead
|
||||||
|
|
||||||
; ------------------------------------------------------------------------
|
; ------------------------------------------------------------------------
|
||||||
; UNINSTALL routine. Is called before the driver is removed from memory.
|
; UNINSTALL routine. Is called before the driver is removed from memory.
|
||||||
|
@ -62,7 +62,7 @@ INSTALL:
|
|||||||
stx curpage ; Invalidate the current page
|
stx curpage ; Invalidate the current page
|
||||||
inx ; X = 0
|
inx ; X = 0
|
||||||
txa ; A = X = EM_ERR_OK
|
txa ; A = X = EM_ERR_OK
|
||||||
rts
|
; rts ; Run into UNINSTALL instead
|
||||||
|
|
||||||
; ------------------------------------------------------------------------
|
; ------------------------------------------------------------------------
|
||||||
; UNINSTALL routine. Is called before the driver is removed from memory.
|
; UNINSTALL routine. Is called before the driver is removed from memory.
|
||||||
|
@ -100,7 +100,7 @@ INSTALL:
|
|||||||
@readonly:
|
@readonly:
|
||||||
lda #<EM_ERR_NO_DEVICE
|
lda #<EM_ERR_NO_DEVICE
|
||||||
ldx #>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.
|
; UNINSTALL routine. Is called before the driver is removed from memory.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user