From 9b1f451930c9505d105951a18998c8a86cce2856 Mon Sep 17 00:00:00 2001 From: 4am Date: Sat, 21 Oct 2017 10:42:08 -0400 Subject: [PATCH] add log message for MUSE disks (RWTS doubles every sector ID) --- src/id/trace32.a | 12 +++++++++++- src/strings/en.a | 8 ++++++-- 2 files changed, 17 insertions(+), 3 deletions(-) diff --git a/src/id/trace32.a b/src/id/trace32.a index f341e8d..e1b36f0 100644 --- a/src/id/trace32.a +++ b/src/id/trace32.a @@ -239,8 +239,18 @@ TraceDOS32d lda #TRUE sta gIsDOS32 -; read the rest of the disk with the original RWTS +; check for MUSE sector doubling RWTS + lda callrwts+2 + ldx #$09 + ldy #$02 + jsr CompareMemory + !byte $20,$DD + bcs + + lda #s_muse + jsr PrintByID +; read the rest of the disk with the original RWTS ++ jmp ADStyle ; callback to check if the data field is missing diff --git a/src/strings/en.a b/src/strings/en.a index a62c0f4..7fa7f2e 100755 --- a/src/strings/en.a +++ b/src/strings/en.a @@ -109,7 +109,8 @@ s_bootwrite = $5A s_rwtswrite = $5B s_rdos = $5C s_sra = $5D -STRINGCOUNT = $5E +s_muse = $5E +STRINGCOUNT = $5F !zone { StringTable @@ -207,6 +208,7 @@ StringTable !word .rwtswrite !word .rdos !word .sra + !word .muse ; ; Text can contain substitution strings, which ; are replaced by current values at runtime. Each @@ -232,7 +234,7 @@ StringTable ; can be set directly before calling PrintByID. ; .header - !text "Passport by 4am 2017-10-11",$00 + !text "Passport by 4am 2017-10-21",$00 .mainmenu !text "________________________________________",$8D,$8D,$8D,$8D,$8D,$8D,$8D !text " " @@ -514,4 +516,6 @@ StringTable !text "T00,S00 Found RDOS bootloader",$8D,$00 .sra !text "T%t,S%0 Found SRA protection check",$8D,$00 +.muse + !text "T00,S08 RWTS doubles every sector ID",$8D,$00 }