fix broken IEC flush with JiffyDOS

This commit is contained in:
FeralChild64 committed 2019-12-01 17:18:06 +01:00
1 parent 506d9d5c4f
commit aaca51494a
2 files changed
+8

No files matched your search

@@ -84,6 +84,10 @@ iec_rx_byte_jiffydos:
bmi !+
jsr kernalstatus_EOI
!:
// Indicate that no byte waits in output buffer
lda #$00
sta C3PO
// Restore proper IECPROTO value
lda #$01
sta IECPROTO
@@ -77,6 +77,10 @@ iec_tx_byte_jiffydos_finalize:
ora #BIT_CIA2_PRA_CLK_OUT // pull CLK
sta CIA2_PRA
// Indicate that no byte waits in output buffer
lda #$00
sta C3PO
// Restore proper IECPROTO value
lda #$01
sta IECPROTO