diff options
author | Olivier Galibert <galibert@pobox.com> | 2018-01-07 22:20:14 +0100 |
---|---|---|
committer | Olivier Galibert <galibert@pobox.com> | 2018-01-17 16:11:18 +0100 |
commit | d469cc04bcace0f601802301caeddc5b473b75f2 (patch) | |
tree | a9d71540c9c69cee5ab3a533476b81833fa02f5f /src/mame/drivers/hh_tms1k.cpp | |
parent | 9f383f76ce6f00cc3320e5ba53dc323781e0077b (diff) |
API Change: Machine configs are now a method of the owner class, and the prototype is simplified [O. Galibert]
Beware, the device context does not follow in MCFG_FRAGMENT_ADD
anymore due to the prototype change. So creating a device then
configuring through a fragment doesn't work as-is. The simplest
solution is just to add a MCFG_DEVICE_MODIFY at the start of the
fragment with the correct tag.
Diffstat (limited to 'src/mame/drivers/hh_tms1k.cpp')
-rw-r--r-- | src/mame/drivers/hh_tms1k.cpp | 207 |
1 files changed, 138 insertions, 69 deletions
diff --git a/src/mame/drivers/hh_tms1k.cpp b/src/mame/drivers/hh_tms1k.cpp index c4b2df63e62..682c82a6c1c 100644 --- a/src/mame/drivers/hh_tms1k.cpp +++ b/src/mame/drivers/hh_tms1k.cpp @@ -446,6 +446,7 @@ public: DECLARE_WRITE16_MEMBER(write_r); DECLARE_WRITE16_MEMBER(write_o); DECLARE_READ8_MEMBER(read_k); + void matchnum(machine_config &config); }; // handlers @@ -526,7 +527,7 @@ INPUT_PORTS_END static const s16 matchnum_speaker_levels[4] = { 0, 0x7fff, -0x8000, 0 }; -static MACHINE_CONFIG_START( matchnum ) +MACHINE_CONFIG_START(matchnum_state::matchnum) /* basic machine hardware */ MCFG_CPU_ADD("maincpu", TMS1000, 325000) // approximation - RC osc. R=47K, C=47pF @@ -574,6 +575,7 @@ public: DECLARE_WRITE16_MEMBER(write_r); DECLARE_WRITE16_MEMBER(write_o); DECLARE_READ8_MEMBER(read_k); + void arrball(machine_config &config); }; // handlers @@ -625,7 +627,7 @@ INPUT_PORTS_END static const s16 arrball_speaker_levels[4] = { 0, 0x7fff, -0x8000, 0 }; -static MACHINE_CONFIG_START( arrball ) +MACHINE_CONFIG_START(arrball_state::arrball) /* basic machine hardware */ MCFG_CPU_ADD("maincpu", TMS1000, 325000) // approximation - RC osc. R=47K, C=47pF @@ -681,6 +683,7 @@ public: DECLARE_WRITE16_MEMBER(write_r); DECLARE_WRITE16_MEMBER(write_o); DECLARE_READ8_MEMBER(read_k); + void mathmagi(machine_config &config); }; // handlers @@ -804,7 +807,7 @@ static const u16 mathmagi_output_pla[0x20] = lA+lF+lE+lD+lC // G }; -static MACHINE_CONFIG_START( mathmagi ) +MACHINE_CONFIG_START(mathmagi_state::mathmagi) /* basic machine hardware */ MCFG_CPU_ADD("maincpu", TMS1100, 175000) // approximation - RC osc. R=68K, C=82pF @@ -851,6 +854,7 @@ public: DECLARE_WRITE16_MEMBER(write_r); DECLARE_WRITE16_MEMBER(write_o); DECLARE_READ8_MEMBER(read_k); + void bcheetah(machine_config &config); }; // handlers @@ -909,7 +913,7 @@ static INPUT_PORTS_START( bcheetah ) PORT_BIT( 0x08, IP_ACTIVE_HIGH, IPT_KEYPAD ) PORT_CODE(KEYCODE_4) PORT_CODE(KEYCODE_4_PAD) PORT_NAME("4") INPUT_PORTS_END -static MACHINE_CONFIG_START( bcheetah ) +MACHINE_CONFIG_START(bcheetah_state::bcheetah) /* basic machine hardware */ MCFG_CPU_ADD("maincpu", TMS1000, 100000) // approximation - RC osc. R=47K, C=47pF @@ -949,6 +953,7 @@ public: DECLARE_WRITE16_MEMBER(write_r); DECLARE_WRITE16_MEMBER(write_o); DECLARE_READ8_MEMBER(read_k); + void amaztron(machine_config &config); }; // handlers @@ -1035,7 +1040,7 @@ static INPUT_PORTS_START( amaztron ) PORT_BIT( 0x1c, IP_ACTIVE_HIGH, IPT_UNUSED ) INPUT_PORTS_END -static MACHINE_CONFIG_START( amaztron ) +MACHINE_CONFIG_START(amaztron_state::amaztron) /* basic machine hardware */ MCFG_CPU_ADD("maincpu", TMS1100, 300000) // approximation - RC osc. R=33K?, C=100pF @@ -1078,6 +1083,7 @@ public: DECLARE_WRITE16_MEMBER(write_r); DECLARE_WRITE16_MEMBER(write_o); DECLARE_READ8_MEMBER(read_k); + void zodiac(machine_config &config); }; // handlers @@ -1211,7 +1217,7 @@ static const u16 zodiac_output_pla[0x20] = lB+lC+lD+lE+lF // U }; -static MACHINE_CONFIG_START( zodiac ) +MACHINE_CONFIG_START(zodiac_state::zodiac) /* basic machine hardware */ MCFG_CPU_ADD("maincpu", TMS1100, 500000) // approximation - RC osc. R=18K, C=100pF @@ -1256,6 +1262,7 @@ public: DECLARE_WRITE16_MEMBER(write_r); DECLARE_WRITE16_MEMBER(write_o); DECLARE_READ8_MEMBER(read_k); + void cqback(machine_config &config); }; // handlers @@ -1326,7 +1333,7 @@ static INPUT_PORTS_START( cqback ) PORT_BIT( 0x02, IP_ACTIVE_HIGH, IPT_JOYSTICK_RIGHT ) PORT_16WAY INPUT_PORTS_END -static MACHINE_CONFIG_START( cqback ) +MACHINE_CONFIG_START(cqback_state::cqback) /* basic machine hardware */ MCFG_CPU_ADD("maincpu", TMS1100, 310000) // approximation - RC osc. R=33K, C=100pF @@ -1373,6 +1380,7 @@ public: DECLARE_WRITE16_MEMBER(write_r); DECLARE_WRITE16_MEMBER(write_o); DECLARE_READ8_MEMBER(read_k); + void h2hfootb(machine_config &config); }; // handlers @@ -1443,7 +1451,7 @@ static INPUT_PORTS_START( h2hfootb ) PORT_BIT( 0x02, IP_ACTIVE_HIGH, IPT_JOYSTICK_RIGHT ) PORT_16WAY INPUT_PORTS_END -static MACHINE_CONFIG_START( h2hfootb ) +MACHINE_CONFIG_START(h2hfootb_state::h2hfootb) /* basic machine hardware */ MCFG_CPU_ADD("maincpu", TMS1100, 310000) // approximation - RC osc. R=39K, C=100pF @@ -1492,6 +1500,7 @@ public: void set_clock(); DECLARE_INPUT_CHANGED_MEMBER(skill_switch); + void h2hbaseb(machine_config &config); protected: virtual void machine_reset() override; }; @@ -1581,7 +1590,7 @@ void h2hbaseb_state::machine_reset() set_clock(); } -static MACHINE_CONFIG_START( h2hbaseb ) +MACHINE_CONFIG_START(h2hbaseb_state::h2hbaseb) /* basic machine hardware */ MCFG_CPU_ADD("maincpu", TMS1170, 350000) // see set_clock @@ -1623,6 +1632,7 @@ public: DECLARE_WRITE16_MEMBER(write_r); DECLARE_WRITE16_MEMBER(write_o); DECLARE_READ8_MEMBER(read_k); + void h2hboxing(machine_config &config); }; // handlers @@ -1692,7 +1702,7 @@ static INPUT_PORTS_START( h2hboxing ) PORT_BIT( 0x08, IP_ACTIVE_HIGH, IPT_BUTTON1 ) PORT_COCKTAIL PORT_NAME("P2 Block") INPUT_PORTS_END -static MACHINE_CONFIG_START( h2hboxing ) +MACHINE_CONFIG_START(h2hboxing_state::h2hboxing) /* basic machine hardware */ MCFG_CPU_ADD("maincpu", TMS1100, 350000) // approximation - RC osc. R=39K, C=100pF @@ -1754,6 +1764,7 @@ public: DECLARE_WRITE16_MEMBER(write_o); DECLARE_READ8_MEMBER(read_k); + void quizwizc(machine_config &config); protected: virtual void machine_start() override; }; @@ -1862,7 +1873,7 @@ void quizwizc_state::machine_start() save_item(NAME(m_pinout)); } -static MACHINE_CONFIG_START( quizwizc ) +MACHINE_CONFIG_START(quizwizc_state::quizwizc) /* basic machine hardware */ MCFG_CPU_ADD("maincpu", TMS1000, 300000) // approximation - RC osc. R=43K, C=100pF @@ -1930,6 +1941,7 @@ public: DECLARE_WRITE16_MEMBER(write_o); DECLARE_READ8_MEMBER(read_k); + void tc4(machine_config &config); protected: virtual void machine_start() override; }; @@ -2037,7 +2049,7 @@ void tc4_state::machine_start() save_item(NAME(m_pinout)); } -static MACHINE_CONFIG_START( tc4 ) +MACHINE_CONFIG_START(tc4_state::tc4) /* basic machine hardware */ MCFG_CPU_ADD("maincpu", TMS1400, 450000) // approximation - RC osc. R=27.3K, C=100pF @@ -2091,6 +2103,7 @@ public: DECLARE_WRITE16_MEMBER(write_r); DECLARE_WRITE16_MEMBER(write_o); DECLARE_READ8_MEMBER(read_k); + void cnbaskb(machine_config &config); }; // handlers @@ -2151,7 +2164,7 @@ static INPUT_PORTS_START( cnbaskb ) PORT_BIT( 0x0e, IP_ACTIVE_HIGH, IPT_UNUSED ) INPUT_PORTS_END -static MACHINE_CONFIG_START( cnbaskb ) +MACHINE_CONFIG_START(cnbaskb_state::cnbaskb) /* basic machine hardware */ MCFG_CPU_ADD("maincpu", TMS1000, 400000) // approximation - RC osc. R=39K, C=47pF @@ -2201,6 +2214,7 @@ public: DECLARE_WRITE16_MEMBER(write_r); DECLARE_WRITE16_MEMBER(write_o); DECLARE_READ8_MEMBER(read_k); + void cmsport(machine_config &config); }; // handlers @@ -2263,7 +2277,7 @@ static INPUT_PORTS_START( cmsport ) PORT_CONFSETTING( 0x08, "2" ) // professional INPUT_PORTS_END -static MACHINE_CONFIG_START( cmsport ) +MACHINE_CONFIG_START(cmsport_state::cmsport) /* basic machine hardware */ MCFG_CPU_ADD("maincpu", TMS1000, 375000) // approximation - RC osc. R=47K, C=47pF @@ -2315,6 +2329,7 @@ public: DECLARE_WRITE16_MEMBER(write_r); DECLARE_WRITE16_MEMBER(write_o); DECLARE_READ8_MEMBER(read_k); + void cnfball(machine_config &config); }; // handlers @@ -2388,7 +2403,7 @@ INPUT_PORTS_END static const s16 cnfball_speaker_levels[4] = { 0, 0x7fff, -0x8000, 0 }; -static MACHINE_CONFIG_START( cnfball ) +MACHINE_CONFIG_START(cnfball_state::cnfball) /* basic machine hardware */ MCFG_CPU_ADD("maincpu", TMS1000, 400000) // approximation - RC osc. R=39K, C=47pF @@ -2435,6 +2450,7 @@ public: DECLARE_WRITE16_MEMBER(write_r); DECLARE_WRITE16_MEMBER(write_o); DECLARE_READ8_MEMBER(read_k); + void cnfball2(machine_config &config); }; // handlers @@ -2513,7 +2529,7 @@ static const u16 cnfball2_output_pla[0x20] = 0, 0, 0, 0, 0, 0, 0, 0 }; -static MACHINE_CONFIG_START( cnfball2 ) +MACHINE_CONFIG_START(cnfball2_state::cnfball2) /* basic machine hardware */ MCFG_CPU_ADD("maincpu", TMS1100, 375000) // approximation - RC osc. R=47K, C=47pF @@ -2564,6 +2580,7 @@ public: DECLARE_READ8_MEMBER(read_k); DECLARE_INPUT_CHANGED_MEMBER(reset_button); + void eleciq(machine_config &config); }; // handlers @@ -2654,7 +2671,7 @@ INPUT_CHANGED_MEMBER(eleciq_state::reset_button) m_maincpu->set_input_line(INPUT_LINE_RESET, newval ? ASSERT_LINE : CLEAR_LINE); } -static MACHINE_CONFIG_START( eleciq ) +MACHINE_CONFIG_START(eleciq_state::eleciq) /* basic machine hardware */ MCFG_CPU_ADD("maincpu", TMS1000, 325000) // approximation - RC osc. R=47K, C=50pF @@ -2698,6 +2715,7 @@ public: DECLARE_WRITE16_MEMBER(write_r); DECLARE_WRITE16_MEMBER(write_o); DECLARE_READ8_MEMBER(read_k); + void esoccer(machine_config &config); }; // handlers @@ -2758,7 +2776,7 @@ static INPUT_PORTS_START( esoccer ) PORT_BIT( 0x08, IP_ACTIVE_HIGH, IPT_BUTTON1 ) PORT_COCKTAIL INPUT_PORTS_END -static MACHINE_CONFIG_START( esoccer ) +MACHINE_CONFIG_START(esoccer_state::esoccer) /* basic machine hardware */ MCFG_CPU_ADD("maincpu", TMS1000, 350000) // approximation - RC osc. R=47K, C=33pF @@ -2821,6 +2839,7 @@ public: DECLARE_WRITE16_MEMBER(write_r); DECLARE_WRITE16_MEMBER(write_o); DECLARE_READ8_MEMBER(read_k); + void ebball(machine_config &config); }; // handlers @@ -2891,7 +2910,7 @@ static INPUT_PORTS_START( ebball ) PORT_BIT( 0x08, IP_ACTIVE_HIGH, IPT_BUTTON1 ) PORT_NAME("P1 Batter") INPUT_PORTS_END -static MACHINE_CONFIG_START( ebball ) +MACHINE_CONFIG_START(ebball_state::ebball) /* basic machine hardware */ MCFG_CPU_ADD("maincpu", TMS1000, 375000) // approximation - RC osc. R=43K, C=47pF @@ -2950,6 +2969,7 @@ public: DECLARE_WRITE16_MEMBER(write_r); DECLARE_WRITE16_MEMBER(write_o); DECLARE_READ8_MEMBER(read_k); + void ebball2(machine_config &config); }; // handlers @@ -3013,7 +3033,7 @@ static INPUT_PORTS_START( ebball2 ) PORT_BIT( 0x0a, IP_ACTIVE_HIGH, IPT_UNUSED ) INPUT_PORTS_END -static MACHINE_CONFIG_START( ebball2 ) +MACHINE_CONFIG_START(ebball2_state::ebball2) /* basic machine hardware */ MCFG_CPU_ADD("maincpu", TMS1000, 350000) // approximation - RC osc. R=47K, C=47pF @@ -3081,6 +3101,7 @@ public: void set_clock(); DECLARE_INPUT_CHANGED_MEMBER(skill_switch); + void ebball3(machine_config &config); protected: virtual void machine_reset() override; }; @@ -3192,7 +3213,7 @@ void ebball3_state::machine_reset() set_clock(); } -static MACHINE_CONFIG_START( ebball3 ) +MACHINE_CONFIG_START(ebball3_state::ebball3) /* basic machine hardware */ MCFG_CPU_ADD("maincpu", TMS1100, 340000) // see set_clock @@ -3247,6 +3268,7 @@ public: DECLARE_WRITE16_MEMBER(write_r); DECLARE_WRITE16_MEMBER(write_o); DECLARE_READ8_MEMBER(read_k); + void esbattle(machine_config &config); }; // handlers @@ -3302,7 +3324,7 @@ static INPUT_PORTS_START( esbattle ) PORT_CONFSETTING( 0x00, "2" ) // Manual INPUT_PORTS_END -static MACHINE_CONFIG_START( esbattle ) +MACHINE_CONFIG_START(esbattle_state::esbattle) /* basic machine hardware */ MCFG_CPU_ADD("maincpu", TMS1000, 425000) // approximation - RC osc. R=47K, C=33pF @@ -3349,6 +3371,7 @@ public: void set_clock(); DECLARE_INPUT_CHANGED_MEMBER(skill_switch); + void einvader(machine_config &config); protected: virtual void machine_reset() override; }; @@ -3410,7 +3433,7 @@ void einvader_state::machine_reset() set_clock(); } -static MACHINE_CONFIG_START( einvader ) +MACHINE_CONFIG_START(einvader_state::einvader) /* basic machine hardware */ MCFG_CPU_ADD("maincpu", TMS1100, 320000) // see set_clock @@ -3455,6 +3478,7 @@ public: DECLARE_WRITE16_MEMBER(write_r); DECLARE_WRITE16_MEMBER(write_o); DECLARE_READ8_MEMBER(read_k); + void efootb4(machine_config &config); }; // handlers @@ -3529,7 +3553,7 @@ static INPUT_PORTS_START( efootb4 ) PORT_BIT( 0x08, IP_ACTIVE_HIGH, IPT_UNUSED ) INPUT_PORTS_END -static MACHINE_CONFIG_START( efootb4 ) +MACHINE_CONFIG_START(efootb4_state::efootb4) /* basic machine hardware */ MCFG_CPU_ADD("maincpu", TMS1670, 475000) // approximation - RC osc. R=42K, C=47pF @@ -3581,6 +3605,7 @@ public: DECLARE_WRITE16_MEMBER(write_r); DECLARE_WRITE16_MEMBER(write_o); DECLARE_READ8_MEMBER(read_k); + void ebaskb2(machine_config &config); }; // handlers @@ -3649,7 +3674,7 @@ static INPUT_PORTS_START( ebaskb2 ) PORT_BIT( 0x08, IP_ACTIVE_HIGH, IPT_JOYSTICK_RIGHT ) PORT_16WAY INPUT_PORTS_END -static MACHINE_CONFIG_START( ebaskb2 ) +MACHINE_CONFIG_START(ebaskb2_state::ebaskb2) /* basic machine hardware */ MCFG_CPU_ADD("maincpu", TMS1100, 360000) // approximation - RC osc. R=33K, C=82pF @@ -3708,6 +3733,7 @@ public: void set_clock(); DECLARE_INPUT_CHANGED_MEMBER(skill_switch); + void raisedvl(machine_config &config); protected: virtual void machine_reset() override; }; @@ -3787,7 +3813,7 @@ void raisedvl_state::machine_reset() set_clock(); } -static MACHINE_CONFIG_START( raisedvl ) +MACHINE_CONFIG_START(raisedvl_state::raisedvl) /* basic machine hardware */ MCFG_CPU_ADD("maincpu", TMS1100, 350000) // see set_clock @@ -3847,6 +3873,7 @@ public: DECLARE_READ8_MEMBER(read_k); DECLARE_INPUT_CHANGED_MEMBER(reset_button); + void f2pbball(machine_config &config); }; // handlers @@ -3917,7 +3944,7 @@ INPUT_CHANGED_MEMBER(f2pbball_state::reset_button) m_maincpu->set_input_line(INPUT_LINE_RESET, newval ? ASSERT_LINE : CLEAR_LINE); } -static MACHINE_CONFIG_START( f2pbball ) +MACHINE_CONFIG_START(f2pbball_state::f2pbball) /* basic machine hardware */ MCFG_CPU_ADD("maincpu", TMS1000, 325000) // approximation - RC osc. R=51K, C=39pF @@ -3965,6 +3992,7 @@ public: void set_clock(); DECLARE_INPUT_CHANGED_MEMBER(skill_switch); + void f3in1(machine_config &config); protected: virtual void machine_reset() override; }; @@ -4053,7 +4081,7 @@ void f3in1_state::machine_reset() set_clock(); } -static MACHINE_CONFIG_START( f3in1 ) +MACHINE_CONFIG_START(f3in1_state::f3in1) /* basic machine hardware */ MCFG_CPU_ADD("maincpu", TMS1100, 300000) // see set_clock @@ -4102,6 +4130,7 @@ public: virtual DECLARE_WRITE16_MEMBER(write_o); virtual DECLARE_READ8_MEMBER(read_k); + void gpoker(machine_config &config); protected: virtual void machine_reset() override; }; @@ -4197,7 +4226,7 @@ void gpoker_state::machine_reset() m_beeper->set_state(0); } -static MACHINE_CONFIG_START( gpoker ) +MACHINE_CONFIG_START(gpoker_state::gpoker) /* basic machine hardware */ MCFG_CPU_ADD("maincpu", TMS1370, 350000) // approximation - RC osc. R=47K, C=47pF @@ -4239,6 +4268,7 @@ public: { } virtual DECLARE_WRITE16_MEMBER(write_r) override; + void gjackpot(machine_config &config); }; // handlers @@ -4309,7 +4339,7 @@ static INPUT_PORTS_START( gjackpot ) PORT_BIT( 0x09, IP_ACTIVE_HIGH, IPT_UNUSED ) INPUT_PORTS_END -static MACHINE_CONFIG_START( gjackpot ) +MACHINE_CONFIG_START(gjackpot_state::gjackpot) /* basic machine hardware */ MCFG_CPU_ADD("maincpu", TMS1670, 450000) // approximation - RC osc. R=47K, C=47pF @@ -4355,6 +4385,7 @@ public: virtual DECLARE_WRITE16_MEMBER(write_r); virtual DECLARE_WRITE16_MEMBER(write_o); virtual DECLARE_READ8_MEMBER(read_k); + void ginv1000(machine_config &config); }; // handlers @@ -4413,7 +4444,7 @@ static INPUT_PORTS_START( ginv1000 ) PORT_BIT( 0x08, IP_ACTIVE_HIGH, IPT_BUTTON1 ) INPUT_PORTS_END -static MACHINE_CONFIG_START( ginv1000 ) +MACHINE_CONFIG_START(ginv1000_state::ginv1000) /* basic machine hardware */ MCFG_CPU_ADD("maincpu", TMS1370, 340000) // approximation @@ -4469,6 +4500,7 @@ public: virtual DECLARE_WRITE16_MEMBER(write_o); virtual DECLARE_READ8_MEMBER(read_k); + void ginv2000(machine_config &config); protected: virtual void machine_reset() override; }; @@ -4542,7 +4574,7 @@ void ginv2000_state::machine_reset() m_expander->write_ms(1); // Vss } -static MACHINE_CONFIG_START( ginv2000 ) +MACHINE_CONFIG_START(ginv2000_state::ginv2000) /* basic machine hardware */ MCFG_CPU_ADD("maincpu", TMS1370, 425000) // approximation - RC osc. R=36K, C=47pF @@ -4603,6 +4635,7 @@ public: DECLARE_WRITE16_MEMBER(write_r); DECLARE_WRITE16_MEMBER(write_o); DECLARE_READ8_MEMBER(read_k); + void fxmcr165(machine_config &config); }; // handlers @@ -4690,7 +4723,7 @@ static INPUT_PORTS_START( fxmcr165 ) PORT_BIT( 0x08, IP_ACTIVE_HIGH, IPT_KEYPAD ) PORT_CODE(KEYCODE_MINUS) PORT_CODE(KEYCODE_MINUS_PAD) PORT_NAME("Address Set") INPUT_PORTS_END -static MACHINE_CONFIG_START( fxmcr165 ) +MACHINE_CONFIG_START(fxmcr165_state::fxmcr165) /* basic machine hardware */ MCFG_CPU_ADD("maincpu", TMS1100, XTAL_400kHz) @@ -4736,6 +4769,7 @@ public: DECLARE_WRITE16_MEMBER(write_r); DECLARE_WRITE16_MEMBER(write_o); DECLARE_READ8_MEMBER(read_k); + void elecdet(machine_config &config); }; // handlers @@ -4817,7 +4851,7 @@ INPUT_PORTS_END static const s16 elecdet_speaker_levels[4] = { 0, 0x3fff, 0x3fff, 0x7fff }; -static MACHINE_CONFIG_START( elecdet ) +MACHINE_CONFIG_START(elecdet_state::elecdet) /* basic machine hardware */ MCFG_CPU_ADD("maincpu", TMS0980, 425000) // approximation @@ -4863,6 +4897,7 @@ public: DECLARE_WRITE16_MEMBER(write_r); DECLARE_WRITE16_MEMBER(write_o); DECLARE_READ8_MEMBER(read_k); + void starwbc(machine_config &config); }; // handlers @@ -4944,7 +4979,7 @@ static INPUT_PORTS_START( starwbc ) PORT_BIT( 0x08, IP_ACTIVE_HIGH, IPT_KEYPAD ) PORT_CODE(KEYCODE_RIGHT) PORT_NAME("Right") INPUT_PORTS_END -static MACHINE_CONFIG_START( starwbc ) +MACHINE_CONFIG_START(starwbc_state::starwbc) /* basic machine hardware */ MCFG_CPU_ADD("maincpu", TMS1100, 325000) // approximation - RC osc. R=51K, C=47pF @@ -4987,6 +5022,7 @@ public: DECLARE_WRITE16_MEMBER(write_r); DECLARE_WRITE16_MEMBER(write_o); DECLARE_READ8_MEMBER(read_k); + void astro(machine_config &config); }; // handlers @@ -5070,7 +5106,7 @@ static INPUT_PORTS_START( astro ) PORT_CONFSETTING( 0x08, "Astro" ) INPUT_PORTS_END -static MACHINE_CONFIG_START( astro ) +MACHINE_CONFIG_START(astro_state::astro) /* basic machine hardware */ MCFG_CPU_ADD("maincpu", TMS1470, 450000) // approximation - RC osc. R=4.7K, C=33pF @@ -5125,6 +5161,7 @@ public: DECLARE_WRITE16_MEMBER(write_r); DECLARE_WRITE16_MEMBER(write_o); DECLARE_READ8_MEMBER(read_k); + void elecbowl(machine_config &config); }; // handlers @@ -5234,7 +5271,7 @@ static const u16 elecbowl_output_pla[0x20] = 0x98, 0x99, 0x9a, 0x9b, 0x9c, 0x9d, 0x9e, 0x9f }; -static MACHINE_CONFIG_START( elecbowl ) +MACHINE_CONFIG_START(elecbowl_state::elecbowl) /* basic machine hardware */ MCFG_CPU_ADD("maincpu", TMS1100, 350000) // approximation - RC osc. R=33K, C=100pF @@ -5286,6 +5323,7 @@ public: DECLARE_WRITE32_MEMBER(lcd_output_w); DECLARE_WRITE16_MEMBER(write_r); DECLARE_READ8_MEMBER(read_k); + void horseran(machine_config &config); }; // handlers @@ -5390,7 +5428,7 @@ static INPUT_PORTS_START( horseran ) PORT_BIT( 0x08, IP_ACTIVE_HIGH, IPT_KEYPAD ) PORT_CODE(KEYCODE_6) PORT_CODE(KEYCODE_7_PAD) PORT_NAME("7") INPUT_PORTS_END -static MACHINE_CONFIG_START( horseran ) +MACHINE_CONFIG_START(horseran_state::horseran) /* basic machine hardware */ MCFG_CPU_ADD("maincpu", TMS1100, 300000) // approximation - RC osc. R=56K, C=47pF @@ -5431,6 +5469,7 @@ public: DECLARE_WRITE16_MEMBER(write_r); DECLARE_WRITE16_MEMBER(write_o); DECLARE_READ8_MEMBER(read_k); + void mdndclab(machine_config &config); }; // handlers @@ -5568,7 +5607,7 @@ static INPUT_PORTS_START( mdndclab ) PORT_BIT( 0x08, IP_ACTIVE_HIGH, IPT_KEYPAD ) PORT_CODE(KEYCODE_2) PORT_CODE(KEYCODE_2_PAD) PORT_NAME("Dragon Attacks / Dragon Wakes") INPUT_PORTS_END -static MACHINE_CONFIG_START( mdndclab ) +MACHINE_CONFIG_START(mdndclab_state::mdndclab) /* basic machine hardware */ MCFG_CPU_ADD("maincpu", TMS1100, 475000) // approximation - RC osc. R=27K, C=100pF @@ -5617,6 +5656,7 @@ public: DECLARE_WRITE16_MEMBER(write_r); DECLARE_WRITE16_MEMBER(write_o); DECLARE_READ8_MEMBER(read_k); + void comp4(machine_config &config); }; // handlers @@ -5671,7 +5711,7 @@ static INPUT_PORTS_START( comp4 ) PORT_BIT( 0x08, IP_ACTIVE_HIGH, IPT_KEYPAD ) PORT_CODE(KEYCODE_9) PORT_CODE(KEYCODE_9_PAD) PORT_NAME("9") INPUT_PORTS_END -static MACHINE_CONFIG_START( comp4 ) +MACHINE_CONFIG_START(comp4_state::comp4) /* basic machine hardware */ MCFG_CPU_ADD("maincpu", TMS0970, 250000) // approximation @@ -5720,6 +5760,7 @@ public: DECLARE_WRITE16_MEMBER(write_r); DECLARE_WRITE16_MEMBER(write_o); DECLARE_READ8_MEMBER(read_k); + void bship(machine_config &config); }; // handlers @@ -5820,7 +5861,7 @@ static INPUT_PORTS_START( bship ) PORT_BIT( 0x08, IP_ACTIVE_HIGH, IPT_KEYPAD ) PORT_NAME("P2 Clear Last Entry") INPUT_PORTS_END -static MACHINE_CONFIG_START( bship ) +MACHINE_CONFIG_START(bship_state::bship) /* basic machine hardware */ MCFG_CPU_ADD("maincpu", TMS1000, 200000) // approximation - RC osc. R=100K, C=47pF @@ -5864,6 +5905,7 @@ public: DECLARE_WRITE16_MEMBER(write_r); DECLARE_WRITE16_MEMBER(write_o); DECLARE_READ8_MEMBER(read_k); + void bshipb(machine_config &config); }; // handlers @@ -5922,7 +5964,7 @@ READ8_MEMBER(bshipb_state::read_k) // buttons are same as bship set -static MACHINE_CONFIG_START( bshipb ) +MACHINE_CONFIG_START(bshipb_state::bshipb) /* basic machine hardware */ MCFG_CPU_ADD("maincpu", TMS1000, 200000) // approximation - RC osc. R=100K, C=47pF @@ -5981,6 +6023,7 @@ public: DECLARE_WRITE16_MEMBER(write_r); DECLARE_READ8_MEMBER(read_k); + void simon(machine_config &config); }; // handlers @@ -6039,7 +6082,7 @@ static INPUT_PORTS_START( simon ) PORT_CONFSETTING( 0x01, "4" ) INPUT_PORTS_END -static MACHINE_CONFIG_START( simon ) +MACHINE_CONFIG_START(simon_state::simon) /* basic machine hardware */ MCFG_CPU_ADD("maincpu", TMS1000, 350000) // approximation - RC osc. R=33K, C=100pF @@ -6083,6 +6126,7 @@ public: void set_clock(); DECLARE_INPUT_CHANGED_MEMBER(speed_switch); + void ssimon(machine_config &config); protected: virtual void machine_reset() override; }; @@ -6179,7 +6223,7 @@ void ssimon_state::machine_reset() set_clock(); } -static MACHINE_CONFIG_START( ssimon ) +MACHINE_CONFIG_START(ssimon_state::ssimon) /* basic machine hardware */ MCFG_CPU_ADD("maincpu", TMS1100, 275000) // see set_clock @@ -6231,6 +6275,7 @@ public: bool sensor_state() { return m_gearbox_pos < 0 && m_display_decay[0][0] != 0; } TIMER_DEVICE_CALLBACK_MEMBER(gearbox_sim_tick); + void bigtrak(machine_config &config); protected: virtual void machine_start() override; }; @@ -6358,7 +6403,7 @@ void bigtrak_state::machine_start() static const s16 bigtrak_speaker_levels[8] = { 0, 0x7fff/3, 0x7fff/3, 0x7fff/3*2, 0x7fff/3, 0x7fff/3*2, 0x7fff/3*2, 0x7fff }; -static MACHINE_CONFIG_START( bigtrak ) +MACHINE_CONFIG_START(bigtrak_state::bigtrak) /* basic machine hardware */ MCFG_CPU_ADD("maincpu", TMS1000, 200000) // approximation - RC osc. R=83K, C=100pF @@ -6422,6 +6467,7 @@ public: DECLARE_WRITE16_MEMBER(write_o); DECLARE_READ8_MEMBER(read_k); + void mbdtower(machine_config &config); protected: virtual void machine_start() override; }; @@ -6590,7 +6636,7 @@ void mbdtower_state::machine_start() save_item(NAME(m_sensor_blind)); } -static MACHINE_CONFIG_START( mbdtower ) +MACHINE_CONFIG_START(mbdtower_state::mbdtower) /* basic machine hardware */ MCFG_CPU_ADD("maincpu", TMS1400, 425000) // approximation - RC osc. R=43K, C=56pF @@ -6633,6 +6679,7 @@ public: DECLARE_WRITE16_MEMBER(write_r); DECLARE_WRITE16_MEMBER(write_o); DECLARE_READ8_MEMBER(read_k); + void arcmania(machine_config &config); }; // handlers @@ -6700,7 +6747,7 @@ INPUT_PORTS_END static const s16 arcmania_speaker_levels[8] = { 0, 0x7fff/3, 0x7fff/3, 0x7fff/3*2, 0x7fff/3, 0x7fff/3*2, 0x7fff/3*2, 0x7fff }; -static MACHINE_CONFIG_START( arcmania ) +MACHINE_CONFIG_START(arcmania_state::arcmania) /* basic machine hardware */ MCFG_CPU_ADD("maincpu", TMS1100, 250000) // approximation - RC osc. R=56K, C=100pF @@ -6744,6 +6791,7 @@ public: DECLARE_WRITE16_MEMBER(write_r); DECLARE_WRITE16_MEMBER(write_o); DECLARE_READ8_MEMBER(read_k); + void cnsector(machine_config &config); }; // handlers @@ -6818,7 +6866,7 @@ static INPUT_PORTS_START( cnsector ) PORT_BIT( 0x08, IP_ACTIVE_HIGH, IPT_KEYPAD ) PORT_CODE(KEYCODE_B) PORT_NAME("Teach Mode") INPUT_PORTS_END -static MACHINE_CONFIG_START( cnsector ) +MACHINE_CONFIG_START(cnsector_state::cnsector) /* basic machine hardware */ MCFG_CPU_ADD("maincpu", TMS0970, 250000) // approximation @@ -6868,6 +6916,7 @@ public: virtual DECLARE_WRITE16_MEMBER(write_r); virtual DECLARE_WRITE16_MEMBER(write_o); virtual DECLARE_READ8_MEMBER(read_k); + void merlin(machine_config &config); }; // handlers @@ -6931,7 +6980,7 @@ INPUT_PORTS_END static const s16 merlin_speaker_levels[8] = { 0, 0x7fff/3, 0x7fff/3, 0x7fff/3*2, 0x7fff/3, 0x7fff/3*2, 0x7fff/3*2, 0x7fff }; -static MACHINE_CONFIG_START( merlin ) +MACHINE_CONFIG_START(merlin_state::merlin) /* basic machine hardware */ MCFG_CPU_ADD("maincpu", TMS1100, 350000) // approximation - RC osc. R=33K, C=100pF @@ -6981,6 +7030,7 @@ public: mmerlin_state(const machine_config &mconfig, device_type type, const char *tag) : merlin_state(mconfig, type, tag) { } + void mmerlin(machine_config &config); }; // handlers: uses the ones in merlin_state @@ -6994,7 +7044,7 @@ static INPUT_PORTS_START( mmerlin ) PORT_BIT( 0x04, IP_ACTIVE_HIGH, IPT_KEYPAD ) PORT_CODE(KEYCODE_S) PORT_NAME("Score") // instead of Hit Me INPUT_PORTS_END -static MACHINE_CONFIG_START( mmerlin ) +MACHINE_CONFIG_START(mmerlin_state::mmerlin) /* basic machine hardware */ MCFG_CPU_ADD("maincpu", TMS1400, 425000) // approximation - RC osc. R=30K, C=100pF @@ -7038,6 +7088,7 @@ public: DECLARE_WRITE16_MEMBER(write_r); DECLARE_WRITE16_MEMBER(write_o); DECLARE_READ8_MEMBER(read_k); + void stopthief(machine_config &config); }; // handlers @@ -7108,7 +7159,7 @@ INPUT_PORTS_END static const s16 stopthief_speaker_levels[7] = { 0, 0x7fff/6, 0x7fff/5, 0x7fff/4, 0x7fff/3, 0x7fff/2, 0x7fff }; -static MACHINE_CONFIG_START( stopthief ) +MACHINE_CONFIG_START(stopthief_state::stopthief) /* basic machine hardware */ MCFG_CPU_ADD("maincpu", TMS0980, 425000) // approximation @@ -7158,6 +7209,7 @@ public: DECLARE_WRITE16_MEMBER(write_r); DECLARE_WRITE16_MEMBER(write_o); DECLARE_READ8_MEMBER(read_k); + void bankshot(machine_config &config); }; // handlers @@ -7222,7 +7274,7 @@ static INPUT_PORTS_START( bankshot ) PORT_BIT( 0x08, IP_ACTIVE_HIGH, IPT_UNUSED ) INPUT_PORTS_END -static MACHINE_CONFIG_START( bankshot ) +MACHINE_CONFIG_START(bankshot_state::bankshot) /* basic machine hardware */ MCFG_CPU_ADD("maincpu", TMS1400, 475000) // approximation - RC osc. R=24K, C=100pF @@ -7286,6 +7338,7 @@ public: DECLARE_WRITE16_MEMBER(write_r); DECLARE_WRITE16_MEMBER(write_o); DECLARE_READ8_MEMBER(read_k); + void splitsec(machine_config &config); }; // handlers @@ -7338,7 +7391,7 @@ static INPUT_PORTS_START( splitsec ) PORT_BIT( 0x08, IP_ACTIVE_HIGH, IPT_UNUSED ) INPUT_PORTS_END -static MACHINE_CONFIG_START( splitsec ) +MACHINE_CONFIG_START(splitsec_state::splitsec) /* basic machine hardware */ MCFG_CPU_ADD("maincpu", TMS1400, 475000) // approximation - RC osc. R=24K, C=100pF @@ -7380,6 +7433,7 @@ public: DECLARE_WRITE16_MEMBER(write_r); DECLARE_WRITE16_MEMBER(write_o); DECLARE_READ8_MEMBER(read_k); + void lostreas(machine_config &config); }; // handlers @@ -7455,7 +7509,7 @@ static const s16 lostreas_speaker_levels[16] = 0x7fff/8, 0x7fff/7, 0x7fff/6, 0x7fff/5, 0x7fff/4, 0x7fff/3, 0x7fff/2, 0x7fff/1 }; -static MACHINE_CONFIG_START( lostreas ) +MACHINE_CONFIG_START(lostreas_state::lostreas) /* basic machine hardware */ MCFG_CPU_ADD("maincpu", TMS1100, 425000) // approximation - RC osc. R=39K, C=47pF @@ -7508,6 +7562,7 @@ public: DECLARE_WRITE16_MEMBER(write_r); DECLARE_WRITE16_MEMBER(write_o); DECLARE_READ8_MEMBER(read_k); + void alphie(machine_config &config); }; // handlers @@ -7575,7 +7630,7 @@ static const u16 alphie_output_pla[0x20] = 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1 }; -static MACHINE_CONFIG_START( alphie ) +MACHINE_CONFIG_START(alphie_state::alphie) /* basic machine hardware */ MCFG_CPU_ADD("maincpu", TMS1000, 350000) // approximation @@ -7621,6 +7676,7 @@ public: virtual DECLARE_WRITE16_MEMBER(write_r); virtual DECLARE_WRITE16_MEMBER(write_o); virtual DECLARE_READ8_MEMBER(read_k); + void tcfball(machine_config &config); }; // handlers @@ -7685,7 +7741,7 @@ static INPUT_PORTS_START( tcfball ) PORT_CONFSETTING( 0x08, "2" ) // professional INPUT_PORTS_END -static MACHINE_CONFIG_START( tcfball ) +MACHINE_CONFIG_START(tcfball_state::tcfball) /* basic machine hardware */ MCFG_CPU_ADD("maincpu", TMS1100, 375000) // approximation - RC osc. R=56K, C=24pF @@ -7727,6 +7783,7 @@ public: tcfballa_state(const machine_config &mconfig, device_type type, const char *tag) : tcfball_state(mconfig, type, tag) { } + void tcfballa(machine_config &config); }; // handlers: uses the ones in tcfball_state @@ -7748,7 +7805,7 @@ static const u16 tcfballa_output_pla[0x20] = 0x01, 0x02, 0x04, 0x08, 0x10, 0x20, 0x40, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }; -static MACHINE_CONFIG_START( tcfballa ) +MACHINE_CONFIG_START(tcfballa_state::tcfballa) /* basic machine hardware */ MCFG_CPU_ADD("maincpu", TMS1100, 375000) // approximation - RC osc. R=47K, C=50pF @@ -7808,6 +7865,7 @@ public: DECLARE_WRITE16_MEMBER(write_r); DECLARE_WRITE16_MEMBER(write_o); DECLARE_READ8_MEMBER(read_k); + void tandy12(machine_config &config); }; // handlers @@ -7911,7 +7969,7 @@ static const u16 tandy12_output_pla[0x20] = 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }; -static MACHINE_CONFIG_START( tandy12 ) +MACHINE_CONFIG_START(tandy12_state::tandy12) /* basic machine hardware */ MCFG_CPU_ADD("maincpu", TMS1100, 400000) // approximation - RC osc. R=39K, C=47pF @@ -7959,6 +8017,7 @@ public: DECLARE_WRITE16_MEMBER(write_r); DECLARE_WRITE16_MEMBER(write_o); DECLARE_READ8_MEMBER(read_k); + void monkeysee(machine_config &config); }; // handlers @@ -8019,7 +8078,7 @@ static INPUT_PORTS_START( monkeysee ) PORT_BIT( 0x08, IP_ACTIVE_HIGH, IPT_KEYPAD ) PORT_CODE(KEYCODE_STOP) PORT_CODE(KEYCODE_DEL_PAD) PORT_NAME(".") INPUT_PORTS_END -static MACHINE_CONFIG_START( monkeysee ) +MACHINE_CONFIG_START(monkeysee_state::monkeysee) /* basic machine hardware */ MCFG_CPU_ADD("maincpu", TMS1000, 250000) // approximation - RC osc. R=68K, C=47pF @@ -8067,6 +8126,7 @@ public: virtual DECLARE_WRITE16_MEMBER(write_r); virtual DECLARE_WRITE16_MEMBER(write_o); virtual DECLARE_READ8_MEMBER(read_k); + void speechp(machine_config &config); }; // handlers @@ -8167,7 +8227,7 @@ static INPUT_PORTS_START( speechp ) PORT_CONFSETTING( 0x00, DEF_STR( Normal ) ) INPUT_PORTS_END -static MACHINE_CONFIG_START( speechp ) +MACHINE_CONFIG_START(speechp_state::speechp) /* basic machine hardware */ MCFG_CPU_ADD("maincpu", TMS1000, 400000) // approximation - RC osc. R=39K, C=47pF @@ -8215,6 +8275,7 @@ public: DECLARE_WRITE16_MEMBER(write_r); DECLARE_WRITE16_MEMBER(write_o); DECLARE_READ8_MEMBER(read_k); + void timaze(machine_config &config); }; // handlers @@ -8248,7 +8309,7 @@ static INPUT_PORTS_START( timaze ) PORT_BIT( 0x08, IP_ACTIVE_HIGH, IPT_JOYSTICK_UP ) PORT_16WAY INPUT_PORTS_END -static MACHINE_CONFIG_START( timaze ) +MACHINE_CONFIG_START(timaze_state::timaze) /* basic machine hardware */ MCFG_CPU_ADD("maincpu", TMS1000, 200000) // approximation - RC osc. R=80K, C=27pF @@ -8290,6 +8351,7 @@ public: DECLARE_WRITE16_MEMBER(write_r); DECLARE_WRITE16_MEMBER(write_o); DECLARE_READ8_MEMBER(read_k); + void copycat(machine_config &config); }; // handlers @@ -8349,7 +8411,7 @@ INPUT_PORTS_END static const s16 copycat_speaker_levels[4] = { 0, 0x7fff, -0x8000, 0 }; -static MACHINE_CONFIG_START( copycat ) +MACHINE_CONFIG_START(copycat_state::copycat) /* basic machine hardware */ MCFG_CPU_ADD("maincpu", TMS1000, 320000) // approximation - RC osc. R=47K, C=47pF @@ -8398,6 +8460,7 @@ public: DECLARE_WRITE16_MEMBER(write_r); DECLARE_WRITE16_MEMBER(write_o); + void copycatm2(machine_config &config); }; // handlers @@ -8424,7 +8487,7 @@ static INPUT_PORTS_START( copycatm2 ) PORT_BIT( 0x08, IP_ACTIVE_HIGH, IPT_BUTTON4 ) PORT_NAME("Green Button") INPUT_PORTS_END -static MACHINE_CONFIG_START( copycatm2 ) +MACHINE_CONFIG_START(copycatm2_state::copycatm2) /* basic machine hardware */ MCFG_CPU_ADD("maincpu", TMS1730, 275000) // approximation - RC osc. R=100K, C=47pF @@ -8468,6 +8531,7 @@ public: DECLARE_WRITE16_MEMBER(write_r); DECLARE_WRITE16_MEMBER(write_o); + void ditto(machine_config &config); }; // handlers @@ -8494,7 +8558,7 @@ static INPUT_PORTS_START( ditto ) PORT_BIT( 0x08, IP_ACTIVE_HIGH, IPT_BUTTON4 ) PORT_NAME("Red Button") INPUT_PORTS_END -static MACHINE_CONFIG_START( ditto ) +MACHINE_CONFIG_START(ditto_state::ditto) /* basic machine hardware */ MCFG_CPU_ADD("maincpu", TMS1730, 275000) // approximation - RC osc. R=100K, C=47pF @@ -8543,6 +8607,7 @@ public: DECLARE_WRITE16_MEMBER(write_r); DECLARE_WRITE16_MEMBER(write_o); DECLARE_READ8_MEMBER(read_k); + void ss7in1(machine_config &config); }; // handlers @@ -8608,7 +8673,7 @@ static INPUT_PORTS_START( ss7in1 ) PORT_BIT( 0x0c, IP_ACTIVE_LOW, IPT_UNUSED ) INPUT_PORTS_END -static MACHINE_CONFIG_START( ss7in1 ) +MACHINE_CONFIG_START(ss7in1_state::ss7in1) /* basic machine hardware */ MCFG_CPU_ADD("maincpu", TMS1400, 450000) // approximation - RC osc. R=47K, C=47pF @@ -8684,6 +8749,7 @@ public: void set_clock(); DECLARE_INPUT_CHANGED_MEMBER(skill_switch); + void tbreakup(machine_config &config); protected: virtual void machine_reset() override; virtual void machine_start() override; @@ -8800,7 +8866,7 @@ void tbreakup_state::machine_start() save_item(NAME(m_exp_port)); } -static MACHINE_CONFIG_START( tbreakup ) +MACHINE_CONFIG_START(tbreakup_state::tbreakup) /* basic machine hardware */ MCFG_CPU_ADD("maincpu", TMS1040, 325000) // see set_clock @@ -8872,6 +8938,7 @@ public: DECLARE_READ8_MEMBER(read_k); DECLARE_INPUT_CHANGED_MEMBER(flipper_button); + void phpball(machine_config &config); }; // handlers @@ -8932,7 +8999,7 @@ INPUT_CHANGED_MEMBER(phpball_state::flipper_button) prepare_display(); } -static MACHINE_CONFIG_START( phpball ) +MACHINE_CONFIG_START(phpball_state::phpball) /* basic machine hardware */ MCFG_CPU_ADD("maincpu", TMS1100, 375000) // approximation - RC osc. R=47K, C=47pF @@ -8977,6 +9044,7 @@ public: DECLARE_WRITE16_MEMBER(write_r); DECLARE_WRITE16_MEMBER(write_o); DECLARE_READ8_MEMBER(read_k); + void ssports4(machine_config &config); }; // handlers @@ -9066,7 +9134,7 @@ static const u16 ssports4_output_pla[0x20] = 0x3f, 0x06, 0x5b, 0x4f, 0x66, 0x6d, 0x7d, 0x07, 0x7f, 0x6f, 0x00, 0x40, 0x40, 0x40, 0x40, 0x40 }; -static MACHINE_CONFIG_START( ssports4 ) +MACHINE_CONFIG_START(ssports4_state::ssports4) /* basic machine hardware */ MCFG_CPU_ADD("maincpu", TMS1100, 375000) // approximation - RC osc. R=47K, C=47pF @@ -9114,6 +9182,7 @@ public: DECLARE_WRITE16_MEMBER(write_o); DECLARE_READ8_MEMBER(read_k); + void xl25(machine_config &config); protected: virtual void machine_reset() override; }; @@ -9235,7 +9304,7 @@ void xl25_state::machine_reset() update_halt(); } -static MACHINE_CONFIG_START( xl25 ) +MACHINE_CONFIG_START(xl25_state::xl25) /* basic machine hardware */ MCFG_CPU_ADD("maincpu", TMS1000C, 300000) // approximation - RC osc. R=5.6K, C=47pF |