passport/src/patchers/t00_sve.a
2021-06-21 11:57:02 -04:00

38 lines
852 B
Plaintext

;-------------------------------
; #SVE
; track 1 identifies itself as #$FF
;
; tested on
; - Decimals & Percent
; - The Fourth R - Reasoning
;-------------------------------
!zone {
; gTrack = 0
; Caller found DOS 3.3 RWTS
lda #$08
ldx #$5A
jsr compare3
!byte $4C,$71,$A9 ; JMP $A971
bcs .exit
jsr modify3
!byte $48,$A0,$01
lda #$06
ldx #$56
ldy #$07
jsr compare
!byte $38 ; SEC
!byte $BD,$8D,$C0 ; LDA $C08D,X
!byte $BD,$8E,$C0 ; LDA $C08E,X
bcs .exit
lda (BASEPAGE*256)+$655
bpl .exit
and #$7f
sta +
lda #$06
dex
jsr modify1
+ !byte $64
.exit
}