summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/machine/ldv1000.cpp
diff options
context:
space:
mode:
author Ivan Vangelista <mesgnet@yahoo.it>2018-08-31 18:20:13 +0200
committer Ivan Vangelista <mesgnet@yahoo.it>2018-08-31 18:20:13 +0200
commitfc09634167a4b8032aadcd32c6da900384fa4bd0 (patch)
treef0bae5ed74131b57d6fa6915ef54ffc9f2424af5 /src/devices/machine/ldv1000.cpp
parentf3cd9ba6971ee78a642c6d6dd95d0a316940ef2c (diff)
z80daisy: finished removing MCFG macro (nw)
Diffstat (limited to 'src/devices/machine/ldv1000.cpp')
-rw-r--r--src/devices/machine/ldv1000.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/devices/machine/ldv1000.cpp b/src/devices/machine/ldv1000.cpp
index 21d27f351c5..d7e1ba4789e 100644
--- a/src/devices/machine/ldv1000.cpp
+++ b/src/devices/machine/ldv1000.cpp
@@ -273,10 +273,10 @@ const tiny_rom_entry *pioneer_ldv1000_device::device_rom_region() const
//-------------------------------------------------
MACHINE_CONFIG_START(pioneer_ldv1000_device::device_add_mconfig)
- MCFG_DEVICE_ADD("ldv1000", Z80, XTAL(5'000'000)/2)
- MCFG_Z80_DAISY_CHAIN(daisy_chain)
- MCFG_DEVICE_PROGRAM_MAP(ldv1000_map)
- MCFG_DEVICE_IO_MAP(ldv1000_portmap)
+ 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);
+ m_z80_cpu->set_addrmap(AS_IO, &pioneer_ldv1000_device::ldv1000_portmap);
MCFG_DEVICE_ADD("ldvctc", Z80CTC, XTAL(5'000'000)/2)
MCFG_Z80CTC_INTR_CB(WRITELINE(*this, pioneer_ldv1000_device, ctc_interrupt))