mirror of
https://github.com/a2-4am/passport.git
synced 2024-06-08 16:29:33 +00:00
23 lines
558 B
Plaintext
23 lines
558 B
Plaintext
;-------------------------------
|
|
; #DOS32MUSE
|
|
; $A5D6 jumps to $BFD5 for no good reason
|
|
;
|
|
; tested on
|
|
; Castle Wolfenstein (1981, MUSE)
|
|
;-------------------------------
|
|
!zone {
|
|
lda gIsDOS32
|
|
bne .exit
|
|
ldx gTrack
|
|
dex
|
|
bne .exit
|
|
lda #$08
|
|
ldx #$D6
|
|
jsr compare2 ; if T01,S08,$D6 ==
|
|
!byte $4C,$D5
|
|
bcs .exit ; passport-test-suite/Castle Wolfenstein.woz [C=0] matches
|
|
jsr modify3 ; then set T01,S08,$D6 =
|
|
!byte $E8,$D0,$32
|
|
.exit
|
|
}
|