mirror of
https://github.com/a2-4am/passport.git
synced 2024-08-19 23:29:16 +00:00
don't do 13-sector ID if not track 0
This commit is contained in:
parent
91c0f4e805
commit
101c5ba5d7
@ -52,8 +52,11 @@ VerifyInfocom18
|
|||||||
cmp #$AA
|
cmp #$AA
|
||||||
bne --
|
bne --
|
||||||
jsr ReadNib
|
jsr ReadNib
|
||||||
|
ldx gTrack
|
||||||
|
bne .no13 ; skip if not boot phase
|
||||||
cmp #$B5 ; 13-sector only
|
cmp #$B5 ; 13-sector only
|
||||||
beq .build13
|
beq .build13
|
||||||
|
.no13
|
||||||
cmp #$AD
|
cmp #$AD
|
||||||
bne --
|
bne --
|
||||||
|
|
||||||
@ -119,12 +122,15 @@ VerifyInfocom18
|
|||||||
|
|
||||||
.RW18
|
.RW18
|
||||||
jsr .rw18pro
|
jsr .rw18pro
|
||||||
bne .badsect
|
bne .jmpbadsect
|
||||||
ldx gIsRW18
|
ldx gIsRW18
|
||||||
beq .verifyrw18
|
beq .verifyrw18
|
||||||
sta gIsRW18
|
sta gIsRW18
|
||||||
bne .checkmode ; always taken
|
bne .checkmode ; always taken
|
||||||
|
|
||||||
|
.jmpbadsect
|
||||||
|
jmp .badsect
|
||||||
|
|
||||||
;build 5-and-3 decoding table
|
;build 5-and-3 decoding table
|
||||||
;for 13-sector support
|
;for 13-sector support
|
||||||
|
|
||||||
|
@ -341,7 +341,7 @@ StringTableHigh
|
|||||||
.passport
|
.passport
|
||||||
!text "Passport ",$00
|
!text "Passport ",$00
|
||||||
.header
|
.header
|
||||||
!text "@",s_passport,"by 4am@",s_space7,"@",s_space7," 2021-07-03",$00
|
!text "@",s_passport,"by 4am@",s_space7,"@",s_space7," 2021-07-08",$00
|
||||||
.bar9
|
.bar9
|
||||||
!text "_________",$00
|
!text "_________",$00
|
||||||
.bar18
|
.bar18
|
||||||
|
Loading…
Reference in New Issue
Block a user