mirror of
https://github.com/holub/mame
synced 2025-05-03 21:13:18 +03:00
wd33c9x: interrupt on reset (nw)
This commit is contained in:
parent
8775ec6a46
commit
f8c1f01694
@ -667,7 +667,13 @@ WRITE_LINE_MEMBER(wd33c9x_base_device::reset_w)
|
|||||||
{
|
{
|
||||||
if (state) {
|
if (state) {
|
||||||
LOGMASKED(LOG_LINES, "Reset via MR line\n");
|
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();
|
device_reset();
|
||||||
|
|
||||||
|
// hardware reset produces an interrupt
|
||||||
|
m_regs[AUXILIARY_STATUS] |= AUXILIARY_STATUS_INT;
|
||||||
|
m_irq_cb(ASSERT_LINE);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user