diff options
Diffstat (limited to 'src/mame/drivers/taito.cpp')
-rw-r--r-- | src/mame/drivers/taito.cpp | 21 |
1 files changed, 14 insertions, 7 deletions
diff --git a/src/mame/drivers/taito.cpp b/src/mame/drivers/taito.cpp index b41184813d5..1cabcd3c4bb 100644 --- a/src/mame/drivers/taito.cpp +++ b/src/mame/drivers/taito.cpp @@ -77,6 +77,13 @@ public: DECLARE_WRITE_LINE_MEMBER(pia_cb2_w); DECLARE_WRITE_LINE_MEMBER(votrax_request); TIMER_DEVICE_CALLBACK_MEMBER(timer_a); + void taito2(machine_config &config); + void taito6(machine_config &config); + void taito(machine_config &config); + void shock(machine_config &config); + void taito4(machine_config &config); + void taito5(machine_config &config); + void taito_ay_audio(machine_config &config); private: uint8_t m_out_offs; uint8_t m_sndcmd; @@ -325,7 +332,7 @@ TIMER_DEVICE_CALLBACK_MEMBER( taito_state::timer_a ) output().set_digit_value(++digit, patterns[m_p_ram[m_out_offs++]&15]); } -static MACHINE_CONFIG_START( taito ) +MACHINE_CONFIG_START(taito_state::taito) /* basic machine hardware */ MCFG_CPU_ADD("maincpu", I8080, 19000000/9) MCFG_CPU_PROGRAM_MAP(taito_map) @@ -357,20 +364,20 @@ static MACHINE_CONFIG_START( taito ) MCFG_TIMER_DRIVER_ADD_PERIODIC("timer_a", taito_state, timer_a, attotime::from_hz(200)) MACHINE_CONFIG_END -static MACHINE_CONFIG_DERIVED( shock, taito ) +MACHINE_CONFIG_DERIVED(taito_state::shock, taito) MCFG_CPU_MODIFY( "maincpu" ) MCFG_CPU_PROGRAM_MAP(shock_map) MCFG_CPU_MODIFY( "audiocpu" ) MCFG_CPU_PROGRAM_MAP(shock_sub_map) MACHINE_CONFIG_END -static MACHINE_CONFIG_DERIVED( taito2, taito ) +MACHINE_CONFIG_DERIVED(taito_state::taito2, taito) MCFG_CPU_MODIFY( "audiocpu" ) MCFG_CPU_PROGRAM_MAP(taito_sub_map2) MACHINE_CONFIG_END // add vox -static MACHINE_CONFIG_DERIVED( taito4, taito ) +MACHINE_CONFIG_DERIVED(taito_state::taito4, taito) MCFG_SPEAKER_STANDARD_MONO("voxsnd") MCFG_DEVICE_ADD("votrax", VOTRAX_SC01, 720000) // guess MCFG_VOTRAX_SC01_REQUEST_CB(WRITELINE(taito_state, votrax_request)) @@ -380,7 +387,7 @@ static MACHINE_CONFIG_DERIVED( taito4, taito ) MCFG_PIA_CB2_HANDLER(WRITELINE(taito_state, pia_cb2_w)) MACHINE_CONFIG_END -static MACHINE_CONFIG_START( taito_ay_audio ) +MACHINE_CONFIG_START(taito_state::taito_ay_audio) MCFG_CPU_MODIFY( "audiocpu" ) MCFG_CPU_PROGRAM_MAP(taito_sub_map5) @@ -392,12 +399,12 @@ static MACHINE_CONFIG_START( taito_ay_audio ) MACHINE_CONFIG_END // add ay -static MACHINE_CONFIG_DERIVED( taito5, taito ) +MACHINE_CONFIG_DERIVED(taito_state::taito5, taito) MCFG_FRAGMENT_ADD( taito_ay_audio ) MACHINE_CONFIG_END // add vox and ay -static MACHINE_CONFIG_DERIVED( taito6, taito4 ) +MACHINE_CONFIG_DERIVED(taito_state::taito6, taito4) MCFG_FRAGMENT_ADD( taito_ay_audio ) MACHINE_CONFIG_END |