1
0
mirror of https://github.com/cc65/cc65.git synced 2024-12-26 08:32:00 +00:00

No need to save the Y register in INSTALL.

git-svn-id: svn://svn.cc65.org/cc65/trunk@4567 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
uz 2010-02-01 07:19:47 +00:00
parent 3bf4afae50
commit cf4d3d0a16

View File

@ -62,8 +62,6 @@ pagecount: .res 2 ; Number of available pages
;
INSTALL:
tya
pha
ldx GR_WINDOW
cpx GR_WINDOW
bne @notpresent
@ -118,8 +116,6 @@ INSTALL:
bne @setok
@notpresent:
pla
tay
lda #<EM_ERR_NO_DEVICE
ldx #>EM_ERR_NO_DEVICE
rts
@ -128,8 +124,6 @@ INSTALL:
lda #0
sta pagecount
stx pagecount+1
pla
tay
lda #<EM_ERR_OK
ldx #>EM_ERR_OK
rts