diff options
Diffstat (limited to 'src/mame/drivers/ltd.cpp')
-rw-r--r-- | src/mame/drivers/ltd.cpp | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/src/mame/drivers/ltd.cpp b/src/mame/drivers/ltd.cpp index 91987649b08..27f3e4e9500 100644 --- a/src/mame/drivers/ltd.cpp +++ b/src/mame/drivers/ltd.cpp @@ -523,10 +523,11 @@ TIMER_DEVICE_CALLBACK_MEMBER( ltd_state::timer_r ) } } -MACHINE_CONFIG_START(ltd_state::ltd3) +void ltd_state::ltd3(machine_config &config) +{ /* basic machine hardware */ - MCFG_DEVICE_ADD("maincpu", M6802, XTAL(3'579'545)) - MCFG_DEVICE_PROGRAM_MAP(ltd3_map) + M6802(config, m_maincpu, XTAL(3'579'545)); + m_maincpu->set_addrmap(AS_PROGRAM, <d_state::ltd3_map); NVRAM(config, "nvram", nvram_device::DEFAULT_ALL_0); @@ -537,9 +538,10 @@ MACHINE_CONFIG_START(ltd_state::ltd3) genpin_audio(config); TIMER(config, "timer_r").configure_periodic(FUNC(ltd_state::timer_r), attotime::from_hz(500)); -MACHINE_CONFIG_END +} -MACHINE_CONFIG_START(ltd_state::ltd4) +void ltd_state::ltd4(machine_config &config) +{ /* basic machine hardware */ m6803_cpu_device &maincpu(M6803(config, "maincpu", XTAL(3'579'545))); // guess, no details available maincpu.set_addrmap(AS_PROGRAM, <d_state::ltd4_map); @@ -559,7 +561,7 @@ MACHINE_CONFIG_START(ltd_state::ltd4) SPEAKER(config, "mono").front_center(); AY8910(config, "aysnd_0", XTAL(3'579'545)/2).add_route(ALL_OUTPUTS, "mono", 0.3); /* guess */ AY8910(config, "aysnd_1", XTAL(3'579'545)/2).add_route(ALL_OUTPUTS, "mono", 0.3); /* guess */ -MACHINE_CONFIG_END +} /*------------------------------------------------------------------- / Arizona |