summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/isbc.cpp
diff options
context:
space:
mode:
author cracyc <cracyc@users.noreply.github.com>2016-08-06 08:28:12 -0500
committer cracyc <cracyc@users.noreply.github.com>2016-08-06 08:28:12 -0500
commitecf09072346b6228403d697e592fe6272a7298e5 (patch)
treee43f50a6d1311a2822746584fbb3d237f5e25c5f /src/mame/drivers/isbc.cpp
parenta8ebc114372476314a3817daa010b71f85d329e1 (diff)
isbc: fix boot (nw)
Diffstat (limited to 'src/mame/drivers/isbc.cpp')
-rw-r--r--src/mame/drivers/isbc.cpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/mame/drivers/isbc.cpp b/src/mame/drivers/isbc.cpp
index 21836db109c..299d117ed72 100644
--- a/src/mame/drivers/isbc.cpp
+++ b/src/mame/drivers/isbc.cpp
@@ -55,8 +55,19 @@ public:
DECLARE_WRITE_LINE_MEMBER(isbc_uart8274_irq);
DECLARE_READ8_MEMBER(get_slave_ack);
DECLARE_WRITE8_MEMBER(ppi_c_w);
+protected:
+ void machine_reset() override;
};
+void isbc_state::machine_reset()
+{
+ if(m_centronics)
+ {
+ m_centronics->write_busy(0); // centronics_device sets busy to 1 at reset causing spurious irqs
+ m_pic_1->ir7_w(0);
+ }
+}
+
static ADDRESS_MAP_START(rpc86_mem, AS_PROGRAM, 16, isbc_state)
ADDRESS_MAP_UNMAP_HIGH
AM_RANGE(0x00000, 0x3ffff) AM_RAM