passport/src/patchers/t00_jmpbcf0.a
2021-06-21 08:18:07 -04:00

29 lines
783 B
Plaintext
Executable File

;-------------------------------
; #JMPBCF0
; $B999 jumps to $BCF0 to count
; timing bits in data epilogue
; e.g. Easy as ABC
; NOTE: must be run before RWTS
; patchers due to overlapping bytes
;-------------------------------
T00_JMPBCF0
; gTrack = 0
; Caller found DOS 3.3 RWTS
lda #$03
ldx #$94
ldy #$08
jsr compare ; if T00,S03,$94 ==
!byte $DD,$8C,$C0
!byte $D0,$A9
!byte $4C,$F0,$BC
bcs + ; passport-test-suite/Easy as ABC.woz [C=0] matches
jsr PrintByID
!byte s_jmpbcf0
jsr modify ; then set T00,S03,$94 =
!byte $EA
!byte $BD,$8C,$C0
!byte $10,$FB
!byte $C9,$AA
+