summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
author Patrick Mackinlay <pmackinlay@hotmail.com>2019-07-03 16:47:12 +0700
committer Patrick Mackinlay <pmackinlay@hotmail.com>2019-07-03 16:47:12 +0700
commitf8c1f01694571cb8ab369d60b15977d1ac6912ea (patch)
tree47c5b9d444b662475a3427a9bc60e8f5516f659e
parent8775ec6a4698fd7e0cb9d99596cd4a2855744f9f (diff)
wd33c9x: interrupt on reset (nw)
-rw-r--r--src/devices/machine/wd33c9x.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/devices/machine/wd33c9x.cpp b/src/devices/machine/wd33c9x.cpp
index d425a9249b9..ab82c36ec0a 100644
--- a/src/devices/machine/wd33c9x.cpp
+++ b/src/devices/machine/wd33c9x.cpp
@@ -667,7 +667,13 @@ WRITE_LINE_MEMBER(wd33c9x_base_device::reset_w)
{
if (state) {
LOGMASKED(LOG_LINES, "Reset via MR line\n");
+ // FIXME: hardware reset is not the same as software reset, and
+ // wd33c93a behaves differently to wd33c93
device_reset();
+
+ // hardware reset produces an interrupt
+ m_regs[AUXILIARY_STATUS] |= AUXILIARY_STATUS_INT;
+ m_irq_cb(ASSERT_LINE);
}
}