diff options
author | Ivan Vangelista <mesgnet@yahoo.it> | 2019-02-09 10:16:30 +0100 |
---|---|---|
committer | Ivan Vangelista <mesgnet@yahoo.it> | 2019-02-09 10:16:30 +0100 |
commit | 536408762930a91f92208d85e2ecac270f5ec140 (patch) | |
tree | ea57afe504ae60e977e282d27c3a20a7fc6141f0 /src/devices/machine/ldv1000.cpp | |
parent | 57eeffb661c0fd6ef6e20e1b08d8ddb6e5a0ae17 (diff) |
misc MACHINE_CONFIG macros removal (nw)
Diffstat (limited to 'src/devices/machine/ldv1000.cpp')
-rw-r--r-- | src/devices/machine/ldv1000.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/devices/machine/ldv1000.cpp b/src/devices/machine/ldv1000.cpp index 4a9b1295b75..4f7a0196e40 100644 --- a/src/devices/machine/ldv1000.cpp +++ b/src/devices/machine/ldv1000.cpp @@ -272,7 +272,8 @@ const tiny_rom_entry *pioneer_ldv1000_device::device_rom_region() const // device_add_mconfig - add device configuration //------------------------------------------------- -MACHINE_CONFIG_START(pioneer_ldv1000_device::device_add_mconfig) +void pioneer_ldv1000_device::device_add_mconfig(machine_config &config) +{ Z80(config, m_z80_cpu, XTAL(5'000'000)/2); m_z80_cpu->set_daisy_config(daisy_chain); m_z80_cpu->set_addrmap(AS_PROGRAM, &pioneer_ldv1000_device::ldv1000_map); @@ -291,7 +292,7 @@ MACHINE_CONFIG_START(pioneer_ldv1000_device::device_add_mconfig) ldvppi1.in_pa_callback().set(FUNC(pioneer_ldv1000_device::ppi1_porta_r)); ldvppi1.out_pb_callback().set(FUNC(pioneer_ldv1000_device::ppi1_portb_w)); ldvppi1.out_pc_callback().set(FUNC(pioneer_ldv1000_device::ppi1_portc_w)); -MACHINE_CONFIG_END +} //------------------------------------------------- |