patch out SSI fat track check [fixes Sixgun Shootout]

This commit is contained in:
4am 2021-04-06 18:05:12 -04:00
parent 8dda6c43c9
commit 7dea9214a0
2 changed files with 17 additions and 4 deletions

View File

@ -1,8 +1,9 @@
;-------------------------------
; #SSI protections
; weak bit, magic values
; weak bit, magic values,
; the occasional fat track
;
; module by qkumba
; module by qkumba/4am
;-------------------------------
!zone {
bit gMode ; nothing to do here in verify-only mode
@ -20,7 +21,7 @@
!byte $C1,$00 ; CMP ($00,X)
!byte $EA ; NOP
!byte $EA ; NOP
bcs .exit ; passport-test-suite/Epidemic.woz [C=0] matches
bcs + ; passport-test-suite/Epidemic.woz [C=0] matches
sta gDisplayBytes
pha
@ -30,5 +31,17 @@
ldy #$01
jsr modify
!byte $A9 ; LDA #$..
+
ldy #$09
jsr SearchTrack
!byte $AE,$F1,$BA; LDX $BAF1
!byte $BD,$89,$C0; LDA $C089,X
!byte $A9,$44 ; LDA #$22
!byte $20 ; JSR ...
bcs .exit ; passport-test-suite/Sixgun Shootout.woz [C=0] matches
sta gDisplayBytes
ldy #$01
jsr modify
!byte $60 ; RTS
.exit
}

View File

@ -288,7 +288,7 @@ StringTableHigh
; can be set directly before calling PrintByID.
;
.header
!text "Passport by 4am 2021-04-02",$00
!text "Passport by 4am 2021-04-06",$00
.mainmenu
!text "________________________________________",$8D,$8D,$8D,$8D,$8D,$8D,$8D,$8D
!text " "