IEC serial bytes have 8 bits, not 9. Fix logic to count 8 bits on TX
This commit is contained in:
1 parent
7caae74955
commit
3a8200d66d
2 files changed
+3
-3
No files matched your search
@@ -62,7 +62,7 @@ iec_tx_byte_l1:
|
|||||||
;; More bits to send?
|
;; More bits to send?
|
||||||
pla
|
pla
|
||||||
dex
|
dex
|
||||||
bpl iec_tx_byte_nextbit
|
bne iec_tx_byte_nextbit
|
||||||
|
|
||||||
;; Done sending bits. Wait for acknowledgement
|
;; Done sending bits. Wait for acknowledgement
|
||||||
jsr iec_assert_clk_release_data
|
jsr iec_assert_clk_release_data
|
||||||
|
|||||||
@@ -2,6 +2,6 @@
|
|||||||
iec_wait20us:
|
iec_wait20us:
|
||||||
;; Wait 20usec
|
;; Wait 20usec
|
||||||
;; JSR + RTS already costs 12, so need only 8 more
|
;; JSR + RTS already costs 12, so need only 8 more
|
||||||
ldx $dd00
|
ldy $dd00
|
||||||
ldx $dd00
|
ldy $dd00
|
||||||
rts
|
rts
|
||||||
Reference in new issue
Block a user