srumbler: correct xtal/cpu speed [jotego]

This commit is contained in:
hap 2021-04-05 17:49:14 +02:00
parent a23cee7261
commit b2f9079356

View File

@ -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);