diff options
Diffstat (limited to 'src/mame/drivers/mephisto.cpp')
-rw-r--r-- | src/mame/drivers/mephisto.cpp | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/src/mame/drivers/mephisto.cpp b/src/mame/drivers/mephisto.cpp index 79621f44587..f24ed79a2d4 100644 --- a/src/mame/drivers/mephisto.cpp +++ b/src/mame/drivers/mephisto.cpp @@ -116,6 +116,10 @@ public: TIMER_DEVICE_CALLBACK_MEMBER(update_nmi_r5); TIMER_DEVICE_CALLBACK_MEMBER(update_irq); + void rebel5(machine_config &config); + void mm4tk(machine_config &config); + void mm2(machine_config &config); + void mephisto(machine_config &config); protected: required_ioport m_key1_0; required_ioport m_key1_1; @@ -352,7 +356,7 @@ void mephisto_state::machine_reset() } -static MACHINE_CONFIG_START( mephisto ) +MACHINE_CONFIG_START(mephisto_state::mephisto) /* basic machine hardware */ MCFG_CPU_ADD("maincpu",M65C02,4915200) /* 65C02 */ MCFG_CPU_PROGRAM_MAP(mephisto_mem) @@ -369,7 +373,7 @@ static MACHINE_CONFIG_START( mephisto ) MCFG_DEFAULT_LAYOUT(layout_mephisto) MACHINE_CONFIG_END -static MACHINE_CONFIG_DERIVED( rebel5, mephisto ) +MACHINE_CONFIG_DERIVED(mephisto_state::rebel5, mephisto) /* basic machine hardware */ MCFG_CPU_MODIFY("maincpu") MCFG_CPU_PROGRAM_MAP(rebel5_mem) @@ -378,7 +382,7 @@ static MACHINE_CONFIG_DERIVED( rebel5, mephisto ) MACHINE_CONFIG_END -static MACHINE_CONFIG_DERIVED( mm2, mephisto ) +MACHINE_CONFIG_DERIVED(mephisto_state::mm2, mephisto) MCFG_CPU_REPLACE("maincpu", M65C02, 3700000) MCFG_CPU_PROGRAM_MAP(mm2_mem) MCFG_MACHINE_START_OVERRIDE(mephisto_state, mm2 ) @@ -387,7 +391,7 @@ static MACHINE_CONFIG_DERIVED( mm2, mephisto ) MCFG_TIMER_DRIVER_ADD_PERIODIC("irq_timer", mephisto_state, update_irq, attotime::from_hz(450)) MACHINE_CONFIG_END -static MACHINE_CONFIG_DERIVED( mm4tk, mephisto ) +MACHINE_CONFIG_DERIVED(mephisto_state::mm4tk, mephisto) MCFG_CPU_MODIFY("maincpu") MCFG_CPU_REPLACE("maincpu", M65C02, 18000000) MCFG_CPU_PROGRAM_MAP(mephisto_mem) |