From d6db17b402c06138cc50b5bcf875033ebc05a818 Mon Sep 17 00:00:00 2001 From: Peter Ferrie Date: Mon, 24 Jan 2022 12:38:14 -0800 Subject: [PATCH] clear leftover DOS error --- src/crackme.a | 8 ++++++++ src/strings/en.a | 2 +- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/src/crackme.a b/src/crackme.a index 38edc1d..e4fe6f7 100644 --- a/src/crackme.a +++ b/src/crackme.a @@ -15,6 +15,11 @@ ; exits via TheEnd ;------------------------------- ReadWithRWTS + ldx #0 + ldy #0 + dec gCommand + jsr ReadSectorXY ; clear DOS error + inc gCommand jsr IncProgress lda #$22 jsr ChangeTrackNW @@ -38,6 +43,9 @@ ReadWithRWTS lda gIsInfocom18 and gIsRW18 bne checksector + dec gCommand + jsr ReadSector ; seek + inc gCommand jsr VerifyInfocom18 bcc .passtrack jmp FatalError diff --git a/src/strings/en.a b/src/strings/en.a index 14075de..a124b00 100755 --- a/src/strings/en.a +++ b/src/strings/en.a @@ -365,7 +365,7 @@ StringTableHigh ; must be kept in sync with constants in enid.a .passport !text "Passport ",$00 .header - !text "@",s_passport,"by 4am@",s_space7,"@",s_space7," 2022-01-09",$00 + !text "@",s_passport,"by 4am@",s_space7,"@",s_space7," 2022-01-24",$00 .bar9 !text "_________",$00 .bar18