summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/audio/namco54.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/audio/namco54.cpp')
-rw-r--r--src/mame/audio/namco54.cpp9
1 files changed, 2 insertions, 7 deletions
diff --git a/src/mame/audio/namco54.cpp b/src/mame/audio/namco54.cpp
index 9741953a847..d81b48acd21 100644
--- a/src/mame/audio/namco54.cpp
+++ b/src/mame/audio/namco54.cpp
@@ -99,14 +99,9 @@ void namco_54xx_device::write(uint8_t data)
{
machine().scheduler().synchronize(timer_expired_delegate(FUNC(namco_54xx_device::latch_callback),this), data);
+ // TODO: should use chip_select line for this
m_cpu->set_input_line(0, ASSERT_LINE);
-
- // The execution time of one instruction is ~4us, so we must make sure to
- // give the cpu time to poll the /IRQ input before we clear it.
- // The input clock to the 06XX interface chip is 64H, that is
- // 18432000/6/64 = 48kHz, so it makes sense for the irq line to be
- // asserted for one clock cycle ~= 21us.
- machine().scheduler().timer_set(attotime::from_usec(21), timer_expired_delegate(FUNC(namco_54xx_device::irq_clear),this), 0);
+ machine().scheduler().timer_set(attotime::from_usec(100), timer_expired_delegate(FUNC(namco_54xx_device::irq_clear),this), 0);
}