summaryrefslogtreecommitdiffstatshomepage
path: root/src
diff options
context:
space:
mode:
author Bavarese <Bavarese@users.noreply.github.com>2016-11-05 19:33:10 +0100
committer GitHub <noreply@github.com>2016-11-05 19:33:10 +0100
commit4e3aa1efd5f16d6a596cc1af00545713d057cce3 (patch)
tree72f05aa6bcf1946eda15bc57f5712f0507ea0587 /src
parentf05e7ffad0fce71293f65d142b7c13084ad48215 (diff)
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...?)
Diffstat (limited to 'src')
-rw-r--r--src/mame/drivers/rainbow.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/mame/drivers/rainbow.cpp b/src/mame/drivers/rainbow.cpp
index 703584082ae..d3df823b634 100644
--- a/src/mame/drivers/rainbow.cpp
+++ b/src/mame/drivers/rainbow.cpp
@@ -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)