mirror of
https://github.com/a2-4am/passport.git
synced 2024-11-08 22:10:32 +00:00
modify now preserves A,X
This commit is contained in:
parent
6df5814826
commit
4302cea943
@ -10,7 +10,8 @@
|
||||
; $moddest zero page clobbered
|
||||
; stack set to return to
|
||||
; code after string
|
||||
; all registers clobbered
|
||||
; A,X preserved
|
||||
; Y clobbered
|
||||
; oVerflow bit clear
|
||||
; all other flags clobbered
|
||||
;-------------------------------
|
||||
@ -71,6 +72,8 @@ modify
|
||||
.exit
|
||||
inc gPatchCount
|
||||
.exitnomod
|
||||
lda gDisplayBytes
|
||||
ldx moddest
|
||||
clv
|
||||
rts
|
||||
}
|
||||
|
@ -183,10 +183,15 @@
|
||||
adc #6
|
||||
tax
|
||||
pla
|
||||
ldy #$05
|
||||
ldy #$01
|
||||
jsr modify
|
||||
!byte $EA ;NOP
|
||||
!byte $BD,$47,$4A ;LDA $4A47,X
|
||||
inx
|
||||
inx
|
||||
inx
|
||||
inx
|
||||
ldy #$01
|
||||
jsr modify
|
||||
!byte $EA ;NOP
|
||||
+ jmp .exit
|
||||
|
||||
|
@ -138,7 +138,7 @@ StringTable
|
||||
; can be set directly before calling PrintByID.
|
||||
;
|
||||
.header
|
||||
!text "Passport by 4am 2018-01-11",$00
|
||||
!text "Passport by 4am 2018-01-12",$00
|
||||
.mainmenu
|
||||
!text "________________________________________",$8D,$8D,$8D,$8D,$8D,$8D,$8D
|
||||
!text " "
|
||||
|
Loading…
Reference in New Issue
Block a user