simplify JMPB4BB patchers (fixes Property Management System demo with different entry point)

This commit is contained in:
4am 2017-10-11 15:15:11 -04:00
parent 546494dc88
commit b55676292a
4 changed files with 11 additions and 8 deletions

View File

@ -2,7 +2,10 @@
; #DOS32JMPB4BB
; boot2 jumps to $B4BB for a
; nibble check (13-sector variant)
; e.g. Bellhop
;
; tested on
; Bellhop (1982, Imaginative Systems)
; Property Management System demo (1982, Realty Software Company)
;-------------------------------
!zone {
lda gIsDOS32 ; if DOS 3.2
@ -31,9 +34,9 @@
;
lda #$01
ldx #$BA
ldy #$03
ldy #$01
jsr compare ; if T01,S01,$BA ==
!byte $4C,$0B,$37
!byte $4C
bcs .exit
ldy #$03
jsr modify ; then set T01,S01,$BA =

View File

@ -28,9 +28,9 @@
;
lda #$0D
ldx #$BA
ldy #$03
ldy #$01
jsr compare ; if T00,S0D,$BA ==
!byte $4C,$0B,$37
!byte $4C
bcs .exit
lda #$0D
ldx #$BA

View File

@ -28,9 +28,9 @@ _jmpb4bbhi
;
lda #$0D
ldx #$BA
ldy #$03
ldy #$01
jsr compare ; if T00,S0D,$BA ==
!byte $4C,$0B,$B7
!byte $4C
bcs .exit
ldy #$03
jsr modify ; then set T00,S0D,$BA =

View File

@ -232,7 +232,7 @@ StringTable
; can be set directly before calling PrintByID.
;
.header
!text "Passport by 4am 2017-10-08",$00
!text "Passport by 4am 2017-10-11",$00
.mainmenu
!text "________________________________________",$8D,$8D,$8D,$8D,$8D,$8D,$8D
!text " "