more IEC work - the turnaround seems to work now

This commit is contained in:
FeralChild64 committed 2019-06-22 15:52:09 +02:00
1 parent 22e1e201af
commit a1d3c74a0d
5 files changed
+18 -4

No files matched your search

@@ -0,0 +1,15 @@
iec_pull_data_release_atn_clk:
;; Released CLK = DATA considered valid; for extra robustness on non-emulated
;; hardware give some lines few more cycles to stabilize; see page 10 of
;; http://www.zimmers.net/anonftp/pub/cbm/programming/serial-bus.pdf
lda CI2PRA
ora #BIT_CI2PRA_DAT_OUT ; pull
sta CI2PRA
and #$FF - BIT_CI2PRA_CLK_OUT ; release
sta CI2PRA
and #$FF - BIT_CI2PRA_ATN_OUT ; release
sta CI2PRA
rts