mirror of
https://github.com/a2-4am/passport.git
synced 2024-05-28 21:41:27 +00:00
35 lines
1.1 KiB
Plaintext
Executable File
35 lines
1.1 KiB
Plaintext
Executable File
;-------------------------------
|
|
; #BADEMU
|
|
; RWTS checks for timing bit by
|
|
; checking if data latch is still
|
|
; $D5 after waiting "too long"
|
|
; but this confuses legacy emulators
|
|
; (AppleWin, older versions of MAME)
|
|
; so we patch it for compatibility
|
|
;
|
|
; variant 1:
|
|
; - Dino Dig (Troll Associates)
|
|
; - Make A Face (Troll Associates)
|
|
; - Let's Go There: Beginning Map and Geography Skills (Troll Associates)
|
|
;
|
|
; variant 2:
|
|
; - Dinosaur Days (Pelican Software)
|
|
;-------------------------------
|
|
T00_BADEMU
|
|
; gTrack = 0
|
|
; Caller found DOS 3.3 RWTS
|
|
|
|
ldy #$05
|
|
jsr SearchTrack
|
|
!byte $BD,$8C,$C0; LDA $C08C,X
|
|
!byte $C9,$D5 ; CMP #$D5
|
|
bcs + ; passport-test-suite/Beginning Map and Geography Skills.woz [C=0] matches
|
|
; passport-test-suite/Dinosaur Days.woz [C=0] matches at a different offset
|
|
jsr PrintByID
|
|
!byte s_d5timing
|
|
inx
|
|
inx
|
|
jsr modify1 ; then change $C0 to $BF to avoid hitting softswitch
|
|
!byte $BF
|
|
+
|