shave some bytes

This commit is contained in:
4am 2021-06-11 20:45:10 -04:00
parent acf943baf1
commit 003240e505
2 changed files with 8 additions and 6 deletions

View File

@ -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

View File

@ -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