really preserve Y

This commit is contained in:
Peter Ferrie 2018-12-25 18:50:55 -08:00
parent ba23931e12
commit 7efc7a8230

View File

@ -273,6 +273,8 @@ ProDOS_exit
sta $c082, x
ProDOS_savedX
ldx #$d1
ProDOS_savedY
ldy #$d1
rts
ProDOS_fatal ;only for debugging, will be removed
pha
@ -351,6 +353,7 @@ ProDOS_enter
!set PASS2=1
}
stx ProDOS_savedX+1
sty ProDOS_savedY+1
pha
jsr @swap_zp
pla
@ -372,8 +375,6 @@ ProDOS_enter
php
txa
pha
tya
pha
@request
lda #$d1
cmp #$c4
@ -584,8 +585,6 @@ ProDOS_enter
@restore_zp
jsr @swap_zp
pla
tay
pla
lsr
lsr
lsr