passport/src/patchers/t00_sigcheck.a
2021-09-14 11:34:01 -04:00

22 lines
600 B
Plaintext

;-------------------------------
; #T00SIGCHECK
; productized extra wide track protection check
;
; tested on
; - Hardball (Accolade)
; - Law of the West (Accolade)
;-------------------------------
; gTrack = 0
ldy #$05
jsr SearchTrack
!byte $BD,$80,$C0; LDA $C080,X
!byte $18 ; CLC
!byte $68 ; PLA
bcs + ; passport-test-suite/Hardball.woz [C=0] matches
inx
inx
jsr modify1
!byte $D0 ; change indexed softswitch address so it does nothing
+