mirror of
https://github.com/a2-4am/passport.git
synced 2025-01-02 17:30:53 +00:00
shave some bytes
This commit is contained in:
parent
acf943baf1
commit
003240e505
@ -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
|
||||||
|
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user