From fc79688749743b893bba6999a95f2411075ef40e Mon Sep 17 00:00:00 2001 From: 4am Date: Tue, 23 Apr 2019 14:14:44 -0400 Subject: [PATCH] shorter search patterns for fbffpascal --- src/patchers/fbffpascal.a | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/src/patchers/fbffpascal.a b/src/patchers/fbffpascal.a index 88ffcd2..042f9cf 100644 --- a/src/patchers/fbffpascal.a +++ b/src/patchers/fbffpascal.a @@ -16,7 +16,7 @@ bpl .exit lda gIsPascal ; only seen this protection on Pascal disks bne .exit - ldy #$26 + ldy #$14 jsr SearchTrack !byte $AD,$E9,$C0; LDA $C0E9 !byte $A9,WILDCARD; LDA ... @@ -27,16 +27,6 @@ !byte $C6,$03 ; DEC $03 !byte $F0,WILDCARD; BEQ ... (this branch offset will be used later to build the patch) !byte $AC,$EC,$C0; LDY $C0EC - !byte $10,$FB ; BPL - - !byte $C0,$FB ; CPY #$FB - !byte $D0,$ED ; BNE - - !byte $F0,$00 ; BEQ + - !byte $EA ; NOP - !byte $EA ; NOP - !byte $AC,$EC,$C0; LDY $C0EC - !byte $C0,$08 ; CMP #$08 - !byte $2A ; ROL - !byte $B0,$0B ; BCS + bcs .exit stx .a+1 sta gDisplayBytes