mirror of
https://github.com/a2-4am/passport.git
synced 2024-07-04 19:29:43 +00:00
expand MicroFun patcher [fixes Short Circuit]
This commit is contained in:
parent
bfa675b13b
commit
522b16c352
@ -1,35 +1,33 @@
|
||||
;-------------------------------
|
||||
; #MICROFUN
|
||||
; RWTS jumps to nibble check
|
||||
; from $BE38
|
||||
; e.g. Station 5, re-releases of
|
||||
; The Heist and Miner 2049er
|
||||
; RWTS jumps to nibble check after
|
||||
; reading certain sectors
|
||||
;
|
||||
; tested on
|
||||
; - Station 5
|
||||
; - The Heist
|
||||
; - Miner 2049er (re-release)
|
||||
; - Miner 2049er II
|
||||
; - Short Circuit
|
||||
;-------------------------------
|
||||
!zone {
|
||||
lda gIsRWTS ; if DOS 3.3-shaped RWTS
|
||||
bne .exit
|
||||
lda #$08
|
||||
ldx #$AF
|
||||
ldy #$09
|
||||
jsr compare ; and T00,S08,$AF ==
|
||||
jsr SearchTrack
|
||||
!byte $A0,$00 ; LDY #$00
|
||||
!byte $84,$26 ; STY $26
|
||||
!byte $84,$27 ; STY $27
|
||||
!byte $BD,$8C,$C0; LDA $C08C,X
|
||||
bcs .exit
|
||||
ldx #$38
|
||||
ldy #$03
|
||||
jsr compare ; and T00,S08,$38 ==
|
||||
!byte $4C,$6A,$BA; JMP $BA6A
|
||||
bcs .exit
|
||||
sta gDisplayBytes
|
||||
pha
|
||||
lda #s_microfun
|
||||
jsr PrintByID
|
||||
pla
|
||||
ldy #$03
|
||||
jsr modify ; then set T00,S08,$38 =
|
||||
!byte $08 ; PHP
|
||||
!byte $B0,$8E ; BCS -
|
||||
ldy #$02
|
||||
jsr modify
|
||||
!byte $18 ; CLC
|
||||
!byte $60 ; RTS
|
||||
.exit
|
||||
}
|
||||
|
@ -92,10 +92,9 @@
|
||||
!byte $C9
|
||||
bcs +
|
||||
ldx #$92
|
||||
ldy #$03
|
||||
ldy #$02
|
||||
jsr compare ; and T00,S03,$92 ==
|
||||
!byte $D0,$AE
|
||||
!byte $EA
|
||||
bcs +
|
||||
ldx #$91
|
||||
ldy #$01
|
||||
|
@ -140,7 +140,7 @@ StringTable
|
||||
; can be set directly before calling PrintByID.
|
||||
;
|
||||
.header
|
||||
!text "Passport by 4am 2018-04-05",$00
|
||||
!text "Passport by 4am 2018-04-06",$00
|
||||
.mainmenu
|
||||
!text "________________________________________",$8D,$8D,$8D,$8D,$8D,$8D,$8D
|
||||
!text " "
|
||||
|
Loading…
Reference in New Issue
Block a user