don't do 13-sector ID if not track 0

This commit is contained in:
Peter Ferrie 2021-07-08 09:09:18 -07:00
parent 91c0f4e805
commit 101c5ba5d7
2 changed files with 8 additions and 2 deletions

View File

@ -52,8 +52,11 @@ VerifyInfocom18
cmp #$AA
bne --
jsr ReadNib
ldx gTrack
bne .no13 ; skip if not boot phase
cmp #$B5 ; 13-sector only
beq .build13
.no13
cmp #$AD
bne --
@ -119,12 +122,15 @@ VerifyInfocom18
.RW18
jsr .rw18pro
bne .badsect
bne .jmpbadsect
ldx gIsRW18
beq .verifyrw18
sta gIsRW18
bne .checkmode ; always taken
.jmpbadsect
jmp .badsect
;build 5-and-3 decoding table
;for 13-sector support

View File

@ -341,7 +341,7 @@ StringTableHigh
.passport
!text "Passport ",$00
.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
!text "_________",$00
.bar18