From d7a79419ef14054ba2bd3c299b654560e2334c87 Mon Sep 17 00:00:00 2001 From: 4am Date: Mon, 13 Jul 2020 20:03:34 -0400 Subject: [PATCH] add support for BB03/B519 variant [fixes Spanish for Mastery] --- src/patchers/bb03.a | 11 +++++++++-- src/strings/en.a | 2 +- 2 files changed, 10 insertions(+), 3 deletions(-) diff --git a/src/patchers/bb03.a b/src/patchers/bb03.a index f0092d9..8f41eff 100755 --- a/src/patchers/bb03.a +++ b/src/patchers/bb03.a @@ -2,10 +2,13 @@ ; #BB03 ; boot1 calls $BB03 for a self-decrypting nibble check ; -; variant 1 (JSR $BB03) +; variant 1a (JSR $BB03, push $B518) ; - Classifying Animals with Backbones ; - EduCalc ; +; variant 1b (JSR $BB03, push $B519) +; - Spanish for Mastery +; ; variant 2 (JSR $BB03 but David-DOS) ; - Case of the Great Train Robbery ; - Case of the Missing Chick @@ -68,13 +71,17 @@ ; unconditional branch (V is always 0 coming out of modify) bvc .no ; passport-test-suite/Trivia Fever.woz [V=0] reaches here .variant1 + lda $1243 + eor $1543 + sta + ; calculate entry point of success path (usually #$18 but sometimes #$19) lda #$05 ldx #$03 ldy #$09 jsr modify ; then set T00,S05,$03 = !byte $A9,$B5 !byte $48 - !byte $A9,$18 + !byte $A9 ++ !byte $FD ; SMC !byte $48 !byte $4C,$93,$B7 ; unconditional branch (V is always 0 coming out of modify) diff --git a/src/strings/en.a b/src/strings/en.a index 7cf87ac..2d3fb18 100755 --- a/src/strings/en.a +++ b/src/strings/en.a @@ -284,7 +284,7 @@ StringTableHigh ; can be set directly before calling PrintByID. ; .header - !text "Passport by 4am 2020-07-12",$00 + !text "Passport by 4am 2020-07-13",$00 .mainmenu !text "________________________________________",$8D,$8D,$8D,$8D,$8D,$8D,$8D,$8D !text " "