support Threshold secondary protection

This commit is contained in:
Peter Ferrie 2017-12-04 12:05:52 -08:00
parent 283fa4ce8a
commit 3eb00c6654
2 changed files with 23 additions and 2 deletions

View File

@ -5,7 +5,7 @@
; disks ; disks
; ;
; Cranston Manor ; Cranston Manor
; Jawbreaker ][ ; Jawbreaker
; Missile Defense ; Missile Defense
; Pegasus ][ ; Pegasus ][
; Threshold ; Threshold
@ -85,6 +85,27 @@
!byte $A0,$B9 !byte $A0,$B9
jmp .exit jmp .exit
;Threshold secondary protection
+ ldy #11
jsr SearchTrack
!byte $A9,$00 ;LDA #$00
!byte $AA ;TAX
!byte $5D,$00,$96 ;EOR $9600,X
!byte $E8 ;INX
!byte $D0,$FA ;BNE *-4
!byte $C9,$F3 ;CMP #$F3
bcs +
pha
txa
adc #$0A
tax
pla
ldy #$01
jsr modify
!byte $FC
jmp .exit
;Missile Defense ;Missile Defense
+ ldy #17 + ldy #17

View File

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