support Sierra tertiary protection

This commit is contained in:
Peter Ferrie 2017-12-03 20:02:16 -08:00
parent a243c97f68
commit 3760fc0169
2 changed files with 41 additions and 1 deletions

View File

@ -31,6 +31,46 @@
ldy #$01
jsr modify
!byte $AD ;LDA
.jmpexit
jmp .exit
;Cranston Manor/Wizard and the Princess
;tertiary protection
+ ldy #10
jsr SearchTrack
!byte $A9,$1E ;LDA #$1E
!byte $8D,$7D,$BE ;STA $BE7D
!byte $A9,$BA ;LDA #$BA
!byte $8D,$7E,$BE ;STA $BE7E
bcs +
pha
tay
txa
pha
tya
ldy #10
jsr modify
!byte $A9,$A0 ;LDA #$A0
!byte $8D,$8C,$BE ;STA $BE8C
!byte $A9,$B9 ;LDA #$B9
!byte $8D,$8D,$BE ;STA $BE8D
pla
sec
sbc #$0B
tax
pla
ldy #8
jsr compare
!byte $8D,$7D,$BE ;STA $BE7D
!byte $A9,$6B ;LDA #$6B
!byte $8D,$7E,$BE ;STA $BE7E
bcs +
ldy #8
jsr modify
!byte $8D,$8C,$BE ;STA $BE8C
!byte $A9,$6B ;LDA #$6B
!byte $8D,$8D,$BE ;STA $BE8D
jmp .exit
;Missile Defense

View File

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