support One-on-One

This commit is contained in:
Peter Ferrie 2019-08-28 14:34:33 -07:00
parent 5a059dca7f
commit 8113c31805
2 changed files with 49 additions and 2 deletions

View File

@ -513,7 +513,7 @@
!byte $5C,$0D
!byte $5E,$00
!byte $5E,$0D
bcs .exit
bcs +
sta gDisplayBytes
pha
lda #s_tamper
@ -525,6 +525,53 @@
jsr modify
!byte $F0 ;new checksum value for eor
+ ldy #23
jsr SearchTrack
!byte $03,$4C ;LDI #$00
!byte $07,$E1,$66 ;STA $bfe2
!byte $04,$CC,$64 ;JSRA $bdcf
!byte $04,$CC,$64 ;JSRA $bdcf
!byte $04,$CC,$64 ;JSRA $bdcf
!byte $04,$CC,$64 ;JSRA $bdcf
!byte $05,$EB,$19 ;LDA $c0e8
!byte $05,$E1,$66 ;LDA $bfe2
bcs +
pha
txa
adc #21
tax
pla
ldy #1
jsr modify
!byte $E0 ;lda from known-zero instead
+ ldy #14
jsr SearchTrack
!byte $A9,$BD ;LDA #$BD
!byte $A0,$00 ;LDY #$00
!byte $51,$97 ;EOR ($97),Y
!byte $18 ;CLC
!byte $71,$97 ;ADC ($97),Y
!byte $C8 ;INY
!byte $D0,$F8 ;BNE $8111
!byte $E6,$98 ;INC $98
bcs +
sta gDisplayBytes
pha
lda #s_tamper
jsr PrintByID
txa
adc #25
tax
pla
ldy #1
jsr compare
!byte $4C
bcs +
ldy #1
jsr modify
!byte $2C ;jmp to bit
+
.dostitles

View File

@ -280,7 +280,7 @@ StringTableHigh
; can be set directly before calling PrintByID.
;
.header
!text "Passport by 4am 2019-08-27",$00
!text "Passport by 4am 2019-08-28",$00
.mainmenu
!text "________________________________________",$8D,$8D,$8D,$8D,$8D,$8D,$8D,$8D
!text " "