diff options
Diffstat (limited to 'src/mame/drivers/pbaction.cpp')
-rw-r--r-- | src/mame/drivers/pbaction.cpp | 17 |
1 files changed, 8 insertions, 9 deletions
diff --git a/src/mame/drivers/pbaction.cpp b/src/mame/drivers/pbaction.cpp index 1edca6bc038..889b803c16a 100644 --- a/src/mame/drivers/pbaction.cpp +++ b/src/mame/drivers/pbaction.cpp @@ -323,15 +323,15 @@ static const z80_daisy_config daisy_chain[] = MACHINE_CONFIG_START(pbaction_state::pbaction) /* basic machine hardware */ - MCFG_DEVICE_ADD("maincpu", Z80, 4000000) /* 4 MHz? */ + MCFG_DEVICE_ADD("maincpu", Z80, 4_MHz_XTAL) MCFG_DEVICE_PROGRAM_MAP(pbaction_map) - Z80(config, m_audiocpu, 3072000); + Z80(config, m_audiocpu, 12_MHz_XTAL/4); m_audiocpu->set_addrmap(AS_PROGRAM, &pbaction_state::pbaction_sound_map); m_audiocpu->set_addrmap(AS_IO, &pbaction_state::pbaction_sound_io_map); m_audiocpu->set_daisy_config(daisy_chain); - Z80CTC(config, m_ctc, 3072000); + Z80CTC(config, m_ctc, 12_MHz_XTAL/4); m_ctc->intr_callback().set_inputline(m_audiocpu, 0); /* video hardware */ @@ -353,13 +353,13 @@ MACHINE_CONFIG_START(pbaction_state::pbaction) MCFG_GENERIC_LATCH_8_ADD("soundlatch") - MCFG_DEVICE_ADD("ay1", AY8910, 1500000) + MCFG_DEVICE_ADD("ay1", AY8910, 12_MHz_XTAL/8) MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.25) - MCFG_DEVICE_ADD("ay2", AY8910, 1500000) + MCFG_DEVICE_ADD("ay2", AY8910, 12_MHz_XTAL/8) MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.25) - MCFG_DEVICE_ADD("ay3", AY8910, 1500000) + MCFG_DEVICE_ADD("ay3", AY8910, 12_MHz_XTAL/8) MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.25) MACHINE_CONFIG_END @@ -372,7 +372,7 @@ MACHINE_CONFIG_END MACHINE_CONFIG_START(pbaction_state::pbactionx) pbaction2(config); - MCFG_DEVICE_REPLACE("maincpu", SEGA_CPU_PBACTIO4, 4000000) /* 4 MHz? */ + MCFG_DEVICE_REPLACE("maincpu", SEGA_315_5128, 4_MHz_XTAL) MCFG_DEVICE_PROGRAM_MAP(pbaction_map) MCFG_DEVICE_OPCODES_MAP(decrypted_opcodes_map) MCFG_SEGACRPT_SET_DECRYPTED_TAG(":decrypted_opcodes") @@ -548,8 +548,7 @@ void pbaction_state::init_pbactio3() } - - +// some of these are probably bootlegs GAME( 1985, pbaction, 0, pbaction, pbaction, pbaction_state, empty_init, ROT90, "Tehkan", "Pinball Action (set 1)", MACHINE_SUPPORTS_SAVE ) GAME( 1985, pbaction2, pbaction, pbaction2, pbaction, pbaction_state, empty_init, ROT90, "Tehkan", "Pinball Action (set 2)", MACHINE_SUPPORTS_SAVE ) GAME( 1985, pbaction3, pbaction, pbactionx, pbaction, pbaction_state, init_pbactio3, ROT90, "Tehkan", "Pinball Action (set 3, encrypted)", MACHINE_SUPPORTS_SAVE ) |