fixed timing in iec_tx_common

This commit is contained in:
FeralChild64 committed 2019-06-20 17:59:29 +02:00
1 parent 56f6dbfd3d
commit 339ae0335f
1 file changed
+5 -4
+5 -4
View File
@@ -39,6 +39,11 @@ iec_tx_common_bit_is_sent:
;; Wait 20us, so that device(s) can pick DATA ;; Wait 20us, so that device(s) can pick DATA
jsr iec_wait20us jsr iec_wait20us
;; Pull CLK for 20us again, before sending the next bit
;; or performing any other action
jsr iec_pull_clk_release_data
jsr iec_wait20us
;; More bits to send? ;; More bits to send?
dex dex
bpl iec_tx_common_nextbit bpl iec_tx_common_nextbit
@@ -73,9 +78,5 @@ iec_tx_common_done:
iec_tx_common_nextbit: iec_tx_common_nextbit:
;; Pull CLK for 20us again, before
jsr iec_pull_clk_release_data
jsr iec_wait20us
pla pla
jmp iec_tx_common_sendbit jmp iec_tx_common_sendbit