mirror of
https://github.com/a2-4am/passport.git
synced 2024-12-22 19:30:50 +00:00
Merge pull request #92 from peterferrie/master
support Sierra track-swap protection
This commit is contained in:
commit
68acfb8792
@ -7,6 +7,7 @@
|
||||
; Cranston Manor
|
||||
; Jawbreaker
|
||||
; Missile Defense
|
||||
; Mission Asteroid
|
||||
; Pegasus ][
|
||||
; Threshold
|
||||
;
|
||||
@ -33,6 +34,8 @@
|
||||
ldy #$01
|
||||
jsr modify
|
||||
!byte $AD ;LDA
|
||||
lda #$24
|
||||
sta $B91E
|
||||
.jmpexit
|
||||
jmp .exit
|
||||
|
||||
@ -79,6 +82,10 @@
|
||||
!byte $8D,$8C,$BE ;STA $BE8C
|
||||
!byte $A9,$B9 ;LDA #$B9
|
||||
!byte $8D,$8D,$BE ;STA $BE8D
|
||||
lda #<.swaptrk
|
||||
sta $BE7D
|
||||
lda #>.swaptrk
|
||||
sta $BE7E
|
||||
++ pla
|
||||
clc
|
||||
adc #$48
|
||||
@ -89,6 +96,21 @@
|
||||
!byte $A0,$B9
|
||||
bvc .jmpexit
|
||||
|
||||
.swaptrk
|
||||
ldy $478
|
||||
cpy #$c0
|
||||
beq .swapped
|
||||
cmp #2
|
||||
bne .try4
|
||||
asl
|
||||
bne .swapped
|
||||
.try4
|
||||
cmp #4
|
||||
bne .swapped
|
||||
lsr
|
||||
.swapped
|
||||
jmp $BA1E
|
||||
|
||||
;Threshold secondary protection
|
||||
|
||||
+ ldy #11
|
||||
|
@ -280,7 +280,7 @@ StringTableHigh
|
||||
; can be set directly before calling PrintByID.
|
||||
;
|
||||
.header
|
||||
!text "Passport by 4am 2019-07-25",$00
|
||||
!text "Passport by 4am 2019-08-08",$00
|
||||
.mainmenu
|
||||
!text "________________________________________",$8D,$8D,$8D,$8D,$8D,$8D,$8D,$8D
|
||||
!text " "
|
||||
|
Loading…
Reference in New Issue
Block a user