mirror of
https://github.com/a2-4am/passport.git
synced 2024-11-19 03:06:34 +00:00
add patchers/dos32muse [fixes Castle Wolfenstein and maybe other DOS 3.2 MUSE titles]
This commit is contained in:
parent
9eb4b5044d
commit
3ee6fa37bc
@ -697,6 +697,7 @@ _applyToAll
|
||||
!source "patchers/advint.a" ; gAdventureInternational only
|
||||
!source "patchers/jsr8635.a" ; gIsRWTS only
|
||||
!source "patchers/dos32jmpb4bb.a" ; T01 && gIsDOS32 only
|
||||
!source "patchers/dos32muse.a" ; T01 && gIsDOS32 only
|
||||
!source "patchers/sra.a" ; gIsDOS32 or gIsRWTS only
|
||||
|
||||
lda gPatchCount
|
||||
|
24
src/patchers/dos32muse.a
Normal file
24
src/patchers/dos32muse.a
Normal file
@ -0,0 +1,24 @@
|
||||
;-------------------------------
|
||||
; #DOS32MUSE
|
||||
; $A5D6 jumps to $BFD5 for no good reason
|
||||
;
|
||||
; tested on
|
||||
; Castle Wolfenstein (1981, MUSE)
|
||||
;-------------------------------
|
||||
!zone {
|
||||
lda gIsDOS32
|
||||
bne .exit
|
||||
lda gTrack
|
||||
cmp #$01
|
||||
bne .exit
|
||||
lda #$08
|
||||
ldx #$D6
|
||||
ldy #$02
|
||||
jsr compare ; if T01,S08,$D6 ==
|
||||
!byte $4C,$D5
|
||||
bcs .exit
|
||||
ldy #$03
|
||||
jsr modify ; then set T01,S08,$D6 =
|
||||
!byte $E8,$D0,$32
|
||||
.exit
|
||||
}
|
@ -134,7 +134,7 @@ StringTable
|
||||
; can be set directly before calling PrintByID.
|
||||
;
|
||||
.header
|
||||
!text "Passport by 4am 2017-11-14",$00
|
||||
!text "Passport by 4am 2017-11-24",$00
|
||||
.mainmenu
|
||||
!text "________________________________________",$8D,$8D,$8D,$8D,$8D,$8D,$8D
|
||||
!text " "
|
||||
|
Loading…
Reference in New Issue
Block a user