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 bcc @printReading
jmp FatalWriteError ; failed to create target file on hard disk jmp FatalWriteError ; failed to create target file on hard disk
; this is fatal ; this is fatal
@idBootloader
jmp IDBootloader ; /src/id/inspect0
@notHardDrive @notHardDrive
lda RAMDiskImagePath lda RAMDiskImagePath
beq @printReading ; no RAM disk available beq @printReading ; no RAM disk available
@ -152,15 +156,12 @@ Reaction
jsr CopyUniversal jsr CopyUniversal
jsr IgnoreAddressChecksum jsr IgnoreAddressChecksum
jsr ReadSector jsr ReadSector
bcc + bcc @idBootloader
jsr IDBootFailure ; /src/id/bootfailure jsr IDBootFailure ; /src/id/bootfailure
bcc + bcc @idBootloader
lda #s_fail
jsr PrintByID
lda #s_fatal0000 lda #s_fatal0000
jsr PrintByID jsr PrintByID
jmp TheEnd ; /!\ execution falls through here
+ jmp IDBootloader ; /src/id/inspect0
TheEnd TheEnd
lda $C0E8 lda $C0E8

View File

@ -461,6 +461,7 @@ StringTableHigh
!byte $8D !byte $8D
!text "T%t,S%s Fatal read error",$8D,$8D,$00 !text "T%t,S%s Fatal read error",$8D,$8D,$00
.fatal0000 .fatal0000
!text "@",s_fail
!text "@",s_reasons !text "@",s_reasons
!text "@",s_nodiskin,"S6,D1.",$8D !text "@",s_nodiskin,"S6,D1.",$8D
!text "- It is not an Apple ][ disk.",$8D !text "- It is not an Apple ][ disk.",$8D