actually try 255 times before giving up when waiting for talker turnaround.
This commit is contained in:
1 parent
84841ab283
commit
d0932029bb
1 file changed
+1
-5
@@ -3,9 +3,6 @@
|
||||
|
||||
iec_turnaround_to_listen:
|
||||
|
||||
jsr printf
|
||||
.byte "DOING TURNAROUND",$0d,0
|
||||
|
||||
;; Assert data and release clock
|
||||
lda $dd00
|
||||
sta $0420
|
||||
@@ -19,13 +16,12 @@ iec_turnaround_to_listen:
|
||||
and #$40
|
||||
bne -
|
||||
|
||||
;; Wait for clk to be released by the drive to mark ready to talk
|
||||
ldx #$ff
|
||||
* lda $dd00
|
||||
and #$40
|
||||
bne +
|
||||
dex
|
||||
beq -
|
||||
bne -
|
||||
|
||||
jsr printf
|
||||
.byte "TURNAROUND FAILED - FILE NOT FOUND?",$0d,$00
|
||||
|
||||
Reference in new issue
Block a user