diff --git a/bin/V2Make.scpt b/bin/V2Make.scpt index 2e697cb..0a7eeb4 100644 Binary files a/bin/V2Make.scpt and b/bin/V2Make.scpt differ diff --git a/src/passport.a b/src/passport.a index 6fbf7a5..6002e55 100755 --- a/src/passport.a +++ b/src/passport.a @@ -691,6 +691,7 @@ _applyToT00 !source "patchers/davidbb03.a" !source "patchers/rwtsswap.a" !source "patchers/rwtsswap2.a" + !source "patchers/border.a" !source "patchers/jmpae8e.a" !source "patchers/jmpbbfe.a" !source "patchers/datasoft.a" diff --git a/src/patchers/border.a b/src/patchers/border.a new file mode 100644 index 0000000..b505f04 --- /dev/null +++ b/src/patchers/border.a @@ -0,0 +1,28 @@ +;------------------------------- +; #BORDER +; RWTS changes prologue and epilogue +; sequences with an RWTS swapper at +; $BE5A +; e.g. Arena, Early Bird by +; Border Software +;------------------------------- +_border + lda gIsBoot0 ; if DOS 3.3 boot0 loader + bne rwtsswap_exit + lda gIsBoot1 ; and DOS 3.3 boot1 loader + bne rwtsswap_exit + lda #$08 + ldx #$5A + ldy #$0A + jsr compare ; and T00,S08,$5A == + !byte $C9,$23,$B0,$EB,$0A,$20,$6C,$BF,$EA,$EA + bcs border_exit + sta gDisplayBytes + pha + lda #s_bytrack + jsr PrintByID + pla + ldy #$0A + jsr modify ; then set T00,S08,$5A = + !byte $48,$A0,$01,$B1,$3C,$6A,$68,$90,$08,$0A +border_exit diff --git a/src/strings/en.a b/src/strings/en.a index f7b59c8..7053a9d 100755 --- a/src/strings/en.a +++ b/src/strings/en.a @@ -81,7 +81,8 @@ s_fbff = $3E s_encoded44 = $3F s_encoded53 = $40 s_specdel = $41 -STRINGCOUNT = $42 +s_bytrack = $42 +STRINGCOUNT = $43 StringTable !word header @@ -150,6 +151,7 @@ StringTable !word encoded44 !word encoded53 !word specdel + !word bytrack ; ; Text can contain substitution strings, which ; are replaced by current values at runtime. Each @@ -175,7 +177,7 @@ StringTable ; can be set directly before calling PrintByID. ; header - !text "Passport by 4am 20161230-en",00 + !text "Passport by 4am 2017-01-11",00 mainmenu !text "________________________________________",$8D,$8D,$8D,$8D,$8D,$8D,$8D !text " " @@ -392,3 +394,5 @@ encoded53 !text "because it uses a 5-and-3 encoding.",$8D,00 specdel !text "T00,S00 Found DOS 3.3P bootloader",$8D,00 +bytrack + !text "T%t,S%0 RWTS changes based on track",$8D,$00