From 003240e50548b7a5037958c2d1b0979f42d822ff Mon Sep 17 00:00:00 2001 From: 4am Date: Fri, 11 Jun 2021 20:45:10 -0400 Subject: [PATCH] shave some bytes --- src/passport.a | 13 +++++++------ src/strings/en.a | 1 + 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/src/passport.a b/src/passport.a index aa4ea6d..e286f1f 100755 --- a/src/passport.a +++ b/src/passport.a @@ -132,6 +132,10 @@ Reaction bcc @printReading jmp FatalWriteError ; failed to create target file on hard disk ; this is fatal + +@idBootloader + jmp IDBootloader ; /src/id/inspect0 + @notHardDrive lda RAMDiskImagePath beq @printReading ; no RAM disk available @@ -152,15 +156,12 @@ Reaction jsr CopyUniversal jsr IgnoreAddressChecksum jsr ReadSector - bcc + + bcc @idBootloader jsr IDBootFailure ; /src/id/bootfailure - bcc + - lda #s_fail - jsr PrintByID + bcc @idBootloader lda #s_fatal0000 jsr PrintByID - jmp TheEnd -+ jmp IDBootloader ; /src/id/inspect0 + ; /!\ execution falls through here TheEnd lda $C0E8 diff --git a/src/strings/en.a b/src/strings/en.a index c5bcc31..c8149ad 100755 --- a/src/strings/en.a +++ b/src/strings/en.a @@ -461,6 +461,7 @@ StringTableHigh !byte $8D !text "T%t,S%s Fatal read error",$8D,$8D,$00 .fatal0000 + !text "@",s_fail !text "@",s_reasons !text "@",s_nodiskin,"S6,D1.",$8D !text "- It is not an Apple ][ disk.",$8D