1
0
mirror of https://github.com/cc65/cc65.git synced 2024-12-27 00:29:31 +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: INSTALL:
tya
pha
ldx GR_WINDOW ldx GR_WINDOW
cpx GR_WINDOW cpx GR_WINDOW
bne @notpresent bne @notpresent
@ -118,8 +116,6 @@ INSTALL:
bne @setok bne @setok
@notpresent: @notpresent:
pla
tay
lda #<EM_ERR_NO_DEVICE lda #<EM_ERR_NO_DEVICE
ldx #>EM_ERR_NO_DEVICE ldx #>EM_ERR_NO_DEVICE
rts rts
@ -128,8 +124,6 @@ INSTALL:
lda #0 lda #0
sta pagecount sta pagecount
stx pagecount+1 stx pagecount+1
pla
tay
lda #<EM_ERR_OK lda #<EM_ERR_OK
ldx #>EM_ERR_OK ldx #>EM_ERR_OK
rts rts