From 101c5ba5d7c825023735e18914b2f698b4fc754b Mon Sep 17 00:00:00 2001 From: Peter Ferrie Date: Thu, 8 Jul 2021 09:09:18 -0700 Subject: [PATCH] don't do 13-sector ID if not track 0 --- src/id/bootfailure.a | 8 +++++++- src/strings/en.a | 2 +- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/src/id/bootfailure.a b/src/id/bootfailure.a index f9c67cb..4fff462 100644 --- a/src/id/bootfailure.a +++ b/src/id/bootfailure.a @@ -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 diff --git a/src/strings/en.a b/src/strings/en.a index 47ebe25..d1037f4 100755 --- a/src/strings/en.a +++ b/src/strings/en.a @@ -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