summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
author hap <happppp@users.noreply.github.com>2021-04-05 17:49:14 +0200
committer hap <happppp@users.noreply.github.com>2021-04-05 17:49:43 +0200
commitb2f9079356fed796e3665d10cdd312e59bceb3c2 (patch)
tree210c801f692d13a2162de6766ea4e5b496f67771
parenta23cee7261ad98df4e4d65d1dc75aff4f99e2903 (diff)
srumbler: correct xtal/cpu speed [jotego]
-rw-r--r--src/mame/drivers/srumbler.cpp9
1 files changed, 4 insertions, 5 deletions
diff --git a/src/mame/drivers/srumbler.cpp b/src/mame/drivers/srumbler.cpp
index dbce6369a0e..20ea98f9006 100644
--- a/src/mame/drivers/srumbler.cpp
+++ b/src/mame/drivers/srumbler.cpp
@@ -248,15 +248,14 @@ GFXDECODE_END
void srumbler_state::srumbler(machine_config &config)
{
/* basic machine hardware */
- MC6809(config, m_maincpu, 6000000); /* HD68B09P at 6 MHz (?) */
+ MC6809(config, m_maincpu, 16_MHz_XTAL / 2); // HD68B09P
m_maincpu->set_addrmap(AS_PROGRAM, &srumbler_state::srumbler_map);
TIMER(config, "scantimer").configure_scanline(FUNC(srumbler_state::interrupt), "screen", 0, 1);
- z80_device &audiocpu(Z80(config, "audiocpu", 3000000)); /* 3 MHz ??? */
+ z80_device &audiocpu(Z80(config, "audiocpu", 16_MHz_XTAL / 4));
audiocpu.set_addrmap(AS_PROGRAM, &srumbler_state::srumbler_sound_map);
audiocpu.set_periodic_int(FUNC(srumbler_state::irq0_line_hold), attotime::from_hz(4*60));
-
/* video hardware */
BUFFERED_SPRITERAM8(config, m_spriteram);
@@ -278,13 +277,13 @@ void srumbler_state::srumbler(machine_config &config)
GENERIC_LATCH_8(config, "soundlatch");
- ym2203_device &ym1(YM2203(config, "ym1", 4000000));
+ ym2203_device &ym1(YM2203(config, "ym1", 16_MHz_XTAL / 4));
ym1.add_route(0, "mono", 0.10);
ym1.add_route(1, "mono", 0.10);
ym1.add_route(2, "mono", 0.10);
ym1.add_route(3, "mono", 0.30);
- ym2203_device &ym2(YM2203(config, "ym2", 4000000));
+ ym2203_device &ym2(YM2203(config, "ym2", 16_MHz_XTAL / 4));
ym2.add_route(0, "mono", 0.10);
ym2.add_route(1, "mono", 0.10);
ym2.add_route(2, "mono", 0.10);