correctly detect device not present

This commit is contained in:
Paul Gardner-Stephen committed 2019-05-02 21:55:11 +09:30
1 parent dcebe17e51
commit 148a285633
2 files changed
+11 -1

No files matched your search

+10
View File
@@ -86,6 +86,16 @@ cmd_unimplemented:
;; Try to open an IEC file
jsr $ffc0
bcc +
;; A = KERNAL error code, which also almost match
;; basic ERROR codes, so we can just copy the
;; error code to X, decrement, and handle normally
tax
dex
jmp do_basic_error
*
sta $0427
lda #$00
ror
+1 -1
View File
@@ -125,7 +125,7 @@ do_TO_MANY_FILES_error:
;; Error # in X
;; do_basic_error:
do_basic_error:
;; "?"
txa
pha