mirror of
https://github.com/a2-4am/passport.git
synced 2025-08-15 15:27:24 +00:00
honour verify mode
This commit is contained in:
@@ -9,6 +9,8 @@
|
|||||||
; Module by Brian Troha
|
; Module by Brian Troha
|
||||||
;-------------------------------
|
;-------------------------------
|
||||||
!zone {
|
!zone {
|
||||||
|
bit gMode ; nothing to do here in verify-only mode
|
||||||
|
bpl .exit
|
||||||
ldy #$45
|
ldy #$45
|
||||||
jsr SearchTrack
|
jsr SearchTrack
|
||||||
!byte $BD,$89,$C0
|
!byte $BD,$89,$C0
|
||||||
|
@@ -86,11 +86,8 @@
|
|||||||
iny
|
iny
|
||||||
cpy #$03
|
cpy #$03
|
||||||
bne .serialloop
|
bne .serialloop
|
||||||
bit gMode
|
|
||||||
bpl +
|
|
||||||
lda #s_protserial
|
lda #s_protserial
|
||||||
jsr PrintByID
|
jsr PrintByID
|
||||||
+
|
|
||||||
lda gTrack
|
lda gTrack
|
||||||
beq .track0
|
beq .track0
|
||||||
|
|
||||||
|
@@ -31,13 +31,9 @@
|
|||||||
; module by qkumba
|
; module by qkumba
|
||||||
;-------------------------------
|
;-------------------------------
|
||||||
!zone {
|
!zone {
|
||||||
bit gMode ; nothing to do here in verify-only mode
|
|
||||||
bpl .jmpexit
|
|
||||||
lda gIsSierra
|
lda gIsSierra
|
||||||
beq +
|
beq +
|
||||||
jmp .dosearch
|
jmp .dosearch
|
||||||
.jmpexit
|
|
||||||
jmp .exit
|
|
||||||
|
|
||||||
+ ldy #3
|
+ ldy #3
|
||||||
jsr SearchTrack
|
jsr SearchTrack
|
||||||
@@ -237,7 +233,7 @@
|
|||||||
|
|
||||||
.trybox
|
.trybox
|
||||||
lda #$2C ;BIT $xxxx
|
lda #$2C ;BIT $xxxx
|
||||||
sta patchstyle
|
sta .patchstyle
|
||||||
ldy #17
|
ldy #17
|
||||||
jsr SearchTrack
|
jsr SearchTrack
|
||||||
!byte $20,$00,$1D ;JSR $1D00
|
!byte $20,$00,$1D ;JSR $1D00
|
||||||
@@ -277,7 +273,7 @@
|
|||||||
;"BLOAD WALT..."
|
;"BLOAD WALT..."
|
||||||
+ bcc +
|
+ bcc +
|
||||||
lda #$60 ;RTS
|
lda #$60 ;RTS
|
||||||
sta patchstyle
|
sta .patchstyle
|
||||||
ldy #14
|
ldy #14
|
||||||
jsr SearchTrack
|
jsr SearchTrack
|
||||||
!byte $A9,$00 ;LDA #$00
|
!byte $A9,$00 ;LDA #$00
|
||||||
@@ -299,7 +295,7 @@
|
|||||||
pla
|
pla
|
||||||
ldy #$01
|
ldy #$01
|
||||||
jsr modify
|
jsr modify
|
||||||
patchstyle
|
.patchstyle
|
||||||
!byte $2C ;BIT $xxxx
|
!byte $2C ;BIT $xxxx
|
||||||
jmp .exit
|
jmp .exit
|
||||||
|
|
||||||
@@ -327,7 +323,7 @@ patchstyle
|
|||||||
ldy #$01
|
ldy #$01
|
||||||
jsr modify
|
jsr modify
|
||||||
!byte $DD ;checksum
|
!byte $DD ;checksum
|
||||||
sta patchstyle
|
sta .patchstyle
|
||||||
ldy #11
|
ldy #11
|
||||||
jsr SearchTrack
|
jsr SearchTrack
|
||||||
!byte $A5,$12 ;LDA $12
|
!byte $A5,$12 ;LDA $12
|
||||||
|
@@ -144,7 +144,7 @@ StringTable
|
|||||||
; can be set directly before calling PrintByID.
|
; can be set directly before calling PrintByID.
|
||||||
;
|
;
|
||||||
.header
|
.header
|
||||||
!text "Passport by 4am 2018-07-19",$00
|
!text "Passport by 4am 2018-08-03",$00
|
||||||
.mainmenu
|
.mainmenu
|
||||||
!text "________________________________________",$8D,$8D,$8D,$8D,$8D,$8D,$8D
|
!text "________________________________________",$8D,$8D,$8D,$8D,$8D,$8D,$8D
|
||||||
!text " "
|
!text " "
|
||||||
|
Reference in New Issue
Block a user