mirror of
https://github.com/a2-4am/passport.git
synced 2025-02-15 03:31:37 +00:00
simplify JMPB4BB patchers (fixes Property Management System demo with different entry point)
This commit is contained in:
parent
546494dc88
commit
b55676292a
@ -2,7 +2,10 @@
|
|||||||
; #DOS32JMPB4BB
|
; #DOS32JMPB4BB
|
||||||
; boot2 jumps to $B4BB for a
|
; boot2 jumps to $B4BB for a
|
||||||
; nibble check (13-sector variant)
|
; nibble check (13-sector variant)
|
||||||
; e.g. Bellhop
|
;
|
||||||
|
; tested on
|
||||||
|
; Bellhop (1982, Imaginative Systems)
|
||||||
|
; Property Management System demo (1982, Realty Software Company)
|
||||||
;-------------------------------
|
;-------------------------------
|
||||||
!zone {
|
!zone {
|
||||||
lda gIsDOS32 ; if DOS 3.2
|
lda gIsDOS32 ; if DOS 3.2
|
||||||
@ -31,9 +34,9 @@
|
|||||||
;
|
;
|
||||||
lda #$01
|
lda #$01
|
||||||
ldx #$BA
|
ldx #$BA
|
||||||
ldy #$03
|
ldy #$01
|
||||||
jsr compare ; if T01,S01,$BA ==
|
jsr compare ; if T01,S01,$BA ==
|
||||||
!byte $4C,$0B,$37
|
!byte $4C
|
||||||
bcs .exit
|
bcs .exit
|
||||||
ldy #$03
|
ldy #$03
|
||||||
jsr modify ; then set T01,S01,$BA =
|
jsr modify ; then set T01,S01,$BA =
|
||||||
|
@ -28,9 +28,9 @@
|
|||||||
;
|
;
|
||||||
lda #$0D
|
lda #$0D
|
||||||
ldx #$BA
|
ldx #$BA
|
||||||
ldy #$03
|
ldy #$01
|
||||||
jsr compare ; if T00,S0D,$BA ==
|
jsr compare ; if T00,S0D,$BA ==
|
||||||
!byte $4C,$0B,$37
|
!byte $4C
|
||||||
bcs .exit
|
bcs .exit
|
||||||
lda #$0D
|
lda #$0D
|
||||||
ldx #$BA
|
ldx #$BA
|
||||||
|
@ -28,9 +28,9 @@ _jmpb4bbhi
|
|||||||
;
|
;
|
||||||
lda #$0D
|
lda #$0D
|
||||||
ldx #$BA
|
ldx #$BA
|
||||||
ldy #$03
|
ldy #$01
|
||||||
jsr compare ; if T00,S0D,$BA ==
|
jsr compare ; if T00,S0D,$BA ==
|
||||||
!byte $4C,$0B,$B7
|
!byte $4C
|
||||||
bcs .exit
|
bcs .exit
|
||||||
ldy #$03
|
ldy #$03
|
||||||
jsr modify ; then set T00,S0D,$BA =
|
jsr modify ; then set T00,S0D,$BA =
|
||||||
|
@ -232,7 +232,7 @@ StringTable
|
|||||||
; can be set directly before calling PrintByID.
|
; can be set directly before calling PrintByID.
|
||||||
;
|
;
|
||||||
.header
|
.header
|
||||||
!text "Passport by 4am 2017-10-08",$00
|
!text "Passport by 4am 2017-10-11",$00
|
||||||
.mainmenu
|
.mainmenu
|
||||||
!text "________________________________________",$8D,$8D,$8D,$8D,$8D,$8D,$8D
|
!text "________________________________________",$8D,$8D,$8D,$8D,$8D,$8D,$8D
|
||||||
!text " "
|
!text " "
|
||||||
|
Loading…
x
Reference in New Issue
Block a user