mirror of
https://github.com/a2-4am/passport.git
synced 2025-01-02 17:30:53 +00:00
restore zpage on Special Delivery failure
This commit is contained in:
parent
ae5016cf49
commit
448c20472e
@ -58,6 +58,7 @@ TraceSpecDel2
|
|||||||
TraceSpecDel3
|
TraceSpecDel3
|
||||||
lda $1212
|
lda $1212
|
||||||
cmp #$D8
|
cmp #$D8
|
||||||
|
sec
|
||||||
bne SDfail
|
bne SDfail
|
||||||
ldy #$00
|
ldy #$00
|
||||||
lda $10D1
|
lda $10D1
|
||||||
@ -77,13 +78,10 @@ TraceSpecDel3
|
|||||||
|
|
||||||
TraceSpecDel4
|
TraceSpecDel4
|
||||||
lda $C0E8 ; turn off source drive
|
lda $C0E8 ; turn off source drive
|
||||||
lda #$0A ; restore zero page from before trace
|
|
||||||
ldx #$00
|
|
||||||
ldy #$01
|
|
||||||
jsr CopyMemory
|
|
||||||
|
|
||||||
lda $3FFF
|
lda $3FFF
|
||||||
cmp #$EA
|
cmp #$EA
|
||||||
|
sec
|
||||||
bne SDfail
|
bne SDfail
|
||||||
|
|
||||||
lda #$0B
|
lda #$0B
|
||||||
@ -91,8 +89,15 @@ TraceSpecDel4
|
|||||||
ldy #$03
|
ldy #$03
|
||||||
jsr compare ; if $1B00 ==
|
jsr compare ; if $1B00 ==
|
||||||
!byte $4C,$4D,$2A
|
!byte $4C,$4D,$2A
|
||||||
bcc SDsuccess
|
|
||||||
SDfail
|
SDfail
|
||||||
|
php
|
||||||
|
lda #$0A ; restore zero page from before trace
|
||||||
|
ldx #$00
|
||||||
|
ldy #$01
|
||||||
|
jsr CopyMemory
|
||||||
|
plp
|
||||||
|
bcc SDsuccess
|
||||||
|
|
||||||
jmp UseUniversal
|
jmp UseUniversal
|
||||||
|
|
||||||
SDsuccess
|
SDsuccess
|
||||||
|
@ -280,7 +280,7 @@ StringTableHigh
|
|||||||
; can be set directly before calling PrintByID.
|
; can be set directly before calling PrintByID.
|
||||||
;
|
;
|
||||||
.header
|
.header
|
||||||
!text "Passport by 4am 2019-05-05",$00
|
!text "Passport by 4am 2019-05-26",$00
|
||||||
.mainmenu
|
.mainmenu
|
||||||
!text "________________________________________",$8D,$8D,$8D,$8D,$8D,$8D,$8D,$8D
|
!text "________________________________________",$8D,$8D,$8D,$8D,$8D,$8D,$8D,$8D
|
||||||
!text " "
|
!text " "
|
||||||
|
Loading…
Reference in New Issue
Block a user