summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/eolith.c
diff options
context:
space:
mode:
author Brian Troha <briantro@users.noreply.github.com>2012-06-27 22:10:55 +0000
committer Brian Troha <briantro@users.noreply.github.com>2012-06-27 22:10:55 +0000
commit64afc76d60ba8e1a2ccb2d4202ab53b553423fb5 (patch)
treed7684bf7ad3a0542f519749600c44bd2fca6311e /src/mame/drivers/eolith.c
parentdc32b3bbaa0e53ffcce7af55dddabfde010556ad (diff)
eolith.c: Boost interleave for sound to correct syncing issues. [David Haywood]
Diffstat (limited to 'src/mame/drivers/eolith.c')
-rw-r--r--src/mame/drivers/eolith.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/mame/drivers/eolith.c b/src/mame/drivers/eolith.c
index 7384e4ec328..5b6c811db41 100644
--- a/src/mame/drivers/eolith.c
+++ b/src/mame/drivers/eolith.c
@@ -164,6 +164,8 @@ WRITE32_MEMBER( eolith_state::sound_w )
// printf("CPU Command: %x\n", m_sound_data);
m_sound_data = data;
m_soundcpu->set_input_line(MCS51_INT0_LINE, ASSERT_LINE);
+
+ space.machine().scheduler().boost_interleave(attotime::zero, attotime::from_usec(250));
}
@@ -580,6 +582,10 @@ static MACHINE_CONFIG_START( eolith45, eolith_state )
MCFG_EEPROM_ADD("eeprom", eeprom_interface_93C66)
+// for testing sound sync
+// MCFG_QUANTUM_PERFECT_CPU("maincpu")
+// MCFG_QUANTUM_TIME(attotime::from_hz(6000))
+
/* video hardware */
MCFG_SCREEN_ADD("screen", RASTER)
MCFG_SCREEN_REFRESH_RATE(60)