another fix for JiffyDOS EOI detection

This commit is contained in:
FeralChild64 committed 2019-12-05 18:29:34 +01:00
1 parent 11c389f7cc
commit 2487d2d593
2 files changed
+10 -4

No files matched your search

+9 -3
View File
@@ -80,10 +80,16 @@ iec_rx_byte_jiffydos:
// Pull DATA at the end, cycles: 4
stx CIA2_PRA
// Check for EOI (DATA line)
bmi !+
// If CLK line active - success
bvc iec_rx_byte_jiffydos_end
// XXX does the DATA line status tell something?
jsr kernalstatus_EOI
!:
// FALLTROUGH
iec_rx_byte_jiffydos_end:
// Indicate that no byte waits in output buffer
lda #$00
sta C3PO