added turnaround to talker to IEC support

This commit is contained in:
FeralChild64 committed 2019-07-15 20:14:52 +02:00
1 parent ef10c90ee6
commit b1e882b021
3 files changed
+27 -16

No files matched your search

+10 -4
View File
@@ -4,9 +4,15 @@
iec_turnaround_to_talk:
;; XXX implement this
;; First make sure both CLK, DATA and ATN are released at our side
jsr iec_release_atn
jsr iec_release_clk_data
;; Wait till device releases CLK line
jsr iec_wait_for_clk_release
;; Pull CLK line, it should be held by talker
jsr iec_pull_clk_release_data
clc
rts