fix FILE NOT FOUND detection in IEC ATN turnaround
This commit is contained in:
1 parent
8994f3c608
commit
79017d2d50
1 file changed
+3
-3
@@ -23,16 +23,16 @@ iec_turnaround_to_listen:
|
|||||||
ldx #$ff
|
ldx #$ff
|
||||||
* lda $dd00
|
* lda $dd00
|
||||||
and #$40
|
and #$40
|
||||||
beq +
|
bne +
|
||||||
dex
|
dex
|
||||||
bne -
|
beq -
|
||||||
|
|
||||||
jsr printf
|
jsr printf
|
||||||
.byte "TURNAROUND FAILED - FILE NOT FOUND?",$0d,$00
|
.byte "TURNAROUND FAILED - FILE NOT FOUND?",$0d,$00
|
||||||
|
|
||||||
;; Timeout = file not found error
|
;; Timeout = file not found error
|
||||||
;; (https://www.pagetable.com/?p=1023)
|
;; (https://www.pagetable.com/?p=1023)
|
||||||
lda #5
|
lda #4
|
||||||
sec
|
sec
|
||||||
rts
|
rts
|
||||||
*
|
*
|
||||||
|
|||||||
Reference in new issue
Block a user