support Realm of Impossibility

This commit is contained in:
Peter Ferrie 2017-03-08 07:28:30 -08:00
parent e3f8d9249e
commit ec9d512062
3 changed files with 22 additions and 3 deletions

View File

@ -94,7 +94,7 @@ flag = $FF ; byte
}
; Application constants (not zero addresses)
RELBASE = $6700 ; address to move Passport code
RELBASE = $6600 ; address to move Passport code
; so that it's out of the way
LOWPOINT = $4300 ; lowest available address for code
BASEPAGE = $10 ; Special Delivery tracer assumes

View File

@ -298,12 +298,31 @@ _ea
!byte $18 ;CLC
!byte $E9,$00 ;SBC #$00
!byte $48 ;PHA
bcs .exit
bcs +
inx
ldy #1
jsr modify
!byte $E8 ;new checksum value for eor
+ ldy #14
jsr SearchTrack
!byte $AD,$00,$05
!byte $A2,$FF
!byte $5D,$00,$05
!byte $CA
!byte $D0,$FA
!byte $C9,$A0
!byte $F0
bcs .exit
pha
txa
adc #12
tax
pla
ldy #1
jsr modify
!byte $A1 ;new checksum value for eor
.dostitles
lda gIsBoot0
bne .exit

View File

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