try to fix ATN turn around to listen

This commit is contained in:
Paul Gardner-Stephen committed 2019-05-04 12:02:25 +09:30
1 parent 9f05cc3e4c
commit 3e0c6e3c1e
1 file changed
+6
+6
View File
@@ -9,6 +9,12 @@ iec_turnaround_to_listen:
ora #$20 ; assert data (bit 5)
sta $dd00
;; Make sure we actually see CLK release?
;; This could cause the CLK assertion by the talker to be missed,
;; so shouldn't probably be done. But it is an attempt to debug
;; why we never see CLK release after the turn-around.
jsr iec_wait_for_clock_release
;; Wait for clock line to be asserted by the drive
* lda $dd00
sta $0421