robustness improvements in IEC support

This commit is contained in:
FeralChild64 committed 2019-06-22 14:35:28 +02:00
1 parent b21ce3116d
commit 22e1e201af
11 files changed
+63 -12

No files matched your search

+6
View File
@@ -1,7 +1,13 @@
iec_pull_clk_release_data:
;; Pulled CLK = DATA considered invalid; 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_CLK_OUT ; pull
sta CI2PRA
and #$FF - BIT_CI2PRA_DAT_OUT ; release
sta CI2PRA
rts