mirror of
https://github.com/a2-4am/passport.git
synced 2025-01-26 23:30:47 +00:00
add patchers/border for Border Software RWTS swapper
This commit is contained in:
parent
e9e63efd94
commit
ca64133897
BIN
bin/V2Make.scpt
BIN
bin/V2Make.scpt
Binary file not shown.
@ -691,6 +691,7 @@ _applyToT00
|
|||||||
!source "patchers/davidbb03.a"
|
!source "patchers/davidbb03.a"
|
||||||
!source "patchers/rwtsswap.a"
|
!source "patchers/rwtsswap.a"
|
||||||
!source "patchers/rwtsswap2.a"
|
!source "patchers/rwtsswap2.a"
|
||||||
|
!source "patchers/border.a"
|
||||||
!source "patchers/jmpae8e.a"
|
!source "patchers/jmpae8e.a"
|
||||||
!source "patchers/jmpbbfe.a"
|
!source "patchers/jmpbbfe.a"
|
||||||
!source "patchers/datasoft.a"
|
!source "patchers/datasoft.a"
|
||||||
|
28
src/patchers/border.a
Normal file
28
src/patchers/border.a
Normal file
@ -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
|
@ -81,7 +81,8 @@ s_fbff = $3E
|
|||||||
s_encoded44 = $3F
|
s_encoded44 = $3F
|
||||||
s_encoded53 = $40
|
s_encoded53 = $40
|
||||||
s_specdel = $41
|
s_specdel = $41
|
||||||
STRINGCOUNT = $42
|
s_bytrack = $42
|
||||||
|
STRINGCOUNT = $43
|
||||||
|
|
||||||
StringTable
|
StringTable
|
||||||
!word header
|
!word header
|
||||||
@ -150,6 +151,7 @@ StringTable
|
|||||||
!word encoded44
|
!word encoded44
|
||||||
!word encoded53
|
!word encoded53
|
||||||
!word specdel
|
!word specdel
|
||||||
|
!word bytrack
|
||||||
;
|
;
|
||||||
; Text can contain substitution strings, which
|
; Text can contain substitution strings, which
|
||||||
; are replaced by current values at runtime. Each
|
; are replaced by current values at runtime. Each
|
||||||
@ -175,7 +177,7 @@ StringTable
|
|||||||
; can be set directly before calling PrintByID.
|
; can be set directly before calling PrintByID.
|
||||||
;
|
;
|
||||||
header
|
header
|
||||||
!text "Passport by 4am 20161230-en",00
|
!text "Passport by 4am 2017-01-11",00
|
||||||
mainmenu
|
mainmenu
|
||||||
!text "________________________________________",$8D,$8D,$8D,$8D,$8D,$8D,$8D
|
!text "________________________________________",$8D,$8D,$8D,$8D,$8D,$8D,$8D
|
||||||
!text " "
|
!text " "
|
||||||
@ -392,3 +394,5 @@ encoded53
|
|||||||
!text "because it uses a 5-and-3 encoding.",$8D,00
|
!text "because it uses a 5-and-3 encoding.",$8D,00
|
||||||
specdel
|
specdel
|
||||||
!text "T00,S00 Found DOS 3.3P bootloader",$8D,00
|
!text "T00,S00 Found DOS 3.3P bootloader",$8D,00
|
||||||
|
bytrack
|
||||||
|
!text "T%t,S%0 RWTS changes based on track",$8D,$00
|
||||||
|
Loading…
x
Reference in New Issue
Block a user