mirror of
https://github.com/a2-4am/passport.git
synced 2024-12-22 04:29:59 +00:00
Merge pull request #69 from peterferrie/master
let RDOS exit on seek failure
This commit is contained in:
commit
639c442cb5
@ -197,6 +197,11 @@ TraceDOS32LO
|
||||
lda #>.RDOS13Hook
|
||||
sta jCallRWTS+2
|
||||
|
||||
lda #<.RDOS13Seek
|
||||
sta $BAC7
|
||||
lda #>.RDOS13Seek
|
||||
sta $BAC8
|
||||
|
||||
lda $BC76
|
||||
cmp #$D5
|
||||
beq .patchmap
|
||||
@ -347,4 +352,14 @@ FFer
|
||||
dex
|
||||
stx $B719 ;count of sectors (high part)
|
||||
jmp $BA00
|
||||
|
||||
.RDOS13Seek
|
||||
jsr $BC65 ;read address
|
||||
lda $2E
|
||||
cmp $BAF5
|
||||
bne +
|
||||
jmp $BAC9
|
||||
+ sec ;fail on the tracks that don't exist
|
||||
rts
|
||||
|
||||
}
|
||||
|
@ -147,7 +147,7 @@ StringTable
|
||||
; can be set directly before calling PrintByID.
|
||||
;
|
||||
.header
|
||||
!text "Passport by 4am 2018-10-09",$00
|
||||
!text "Passport by 4am 2018-10-10",$00
|
||||
.mainmenu
|
||||
!text "________________________________________",$8D,$8D,$8D,$8D,$8D,$8D,$8D
|
||||
!text " "
|
||||
|
Loading…
Reference in New Issue
Block a user