DEC Rainbow: apply fix for serial RX proposed by Shattered

Small fix for serial RX proposed by Shattered (on page 38 of Requirements-Thread at Bannisters). Terminal mode (key "T") still misbehaves afterwards (handshake or keyboard problem...?)
This commit is contained in:
Bavarese 2016-11-05 19:33:10 +01:00 committed by GitHub
parent f05e7ffad0
commit 4e3aa1efd5

View File

@ -1274,12 +1274,12 @@ void rainbow_state::lower_8088_irq(int ref)
// IRQ service for 7201 (commm / printer)
void rainbow_state::update_mpsc_irq()
{
if (m_mpsc_irq == 0)
lower_8088_irq(IRQ_COMM_PTR_INTR_L);
else
raise_8088_irq(IRQ_COMM_PTR_INTR_L);
if (m_mpsc_irq == 0) {
lower_8088_irq(IRQ_COMM_PTR_INTR_L);
m_mpsc->m1_r(); // interrupt acknowledge
} else
raise_8088_irq(IRQ_COMM_PTR_INTR_L);
m_mpsc->m1_r(); // interrupt acknowledge
}
WRITE_LINE_MEMBER(rainbow_state::mpsc_irq)