diff options
author | Vas Crabb <vas@vastheman.com> | 2018-02-14 22:40:47 +1100 |
---|---|---|
committer | Vas Crabb <vas@vastheman.com> | 2018-02-14 23:46:17 +1100 |
commit | f4df51e5223578e206574234c0b8d1af300c3324 (patch) | |
tree | fd5c680c45baee30304a31723132444fe7359dfb /src/mame/drivers/tk80.cpp | |
parent | 1bd974c2b4f1f8815065efd4f5fcc0443ae15d28 (diff) |
(nw) screw you macros and the horse you rode in on
There's no voodoo involved in derived machine configurations and
fragments any more. The macros were just obfuscating things at this
point.
Diffstat (limited to 'src/mame/drivers/tk80.cpp')
-rw-r--r-- | src/mame/drivers/tk80.cpp | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/src/mame/drivers/tk80.cpp b/src/mame/drivers/tk80.cpp index 083928df09d..f2a53cdb5ae 100644 --- a/src/mame/drivers/tk80.cpp +++ b/src/mame/drivers/tk80.cpp @@ -275,7 +275,8 @@ MACHINE_CONFIG_START(tk80_state::tk80) MCFG_I8255_OUT_PORTC_CB(WRITE8(tk80_state, serial_w)) MACHINE_CONFIG_END -MACHINE_CONFIG_DERIVED(tk80_state::mikrolab, tk80) +MACHINE_CONFIG_START(tk80_state::mikrolab) + tk80(config); MCFG_CPU_MODIFY("maincpu") MCFG_CPU_PROGRAM_MAP(tk85_mem) MCFG_CPU_IO_MAP(mikrolab_io) @@ -303,13 +304,15 @@ MACHINE_CONFIG_START(tk80_state::nd80z) MCFG_I8255_OUT_PORTC_CB(WRITE8(tk80_state, mikrolab_serial_w)) MACHINE_CONFIG_END -MACHINE_CONFIG_DERIVED(tk80_state::tk85, tk80) +MACHINE_CONFIG_START(tk80_state::tk85) + tk80(config); MCFG_CPU_REPLACE("maincpu", I8085A, XTAL(4'915'200)) MCFG_CPU_PROGRAM_MAP(tk85_mem) MCFG_CPU_IO_MAP(tk80_io) MACHINE_CONFIG_END -MACHINE_CONFIG_DERIVED(tk80_state::ics8080, tk80) +MACHINE_CONFIG_START(tk80_state::ics8080) + tk80(config); MCFG_CPU_MODIFY("maincpu") MCFG_CPU_PROGRAM_MAP(ics8080_mem) MACHINE_CONFIG_END |