summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/bus/ieee488/shark.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/bus/ieee488/shark.cpp')
-rw-r--r--src/devices/bus/ieee488/shark.cpp15
1 files changed, 8 insertions, 7 deletions
diff --git a/src/devices/bus/ieee488/shark.cpp b/src/devices/bus/ieee488/shark.cpp
index 8e2a60985ef..1e160b6c310 100644
--- a/src/devices/bus/ieee488/shark.cpp
+++ b/src/devices/bus/ieee488/shark.cpp
@@ -80,16 +80,17 @@ void mshark_device::mshark_io(address_map &map)
// device_add_mconfig - add device configuration
//-------------------------------------------------
-MACHINE_CONFIG_START(mshark_device::device_add_mconfig)
+void mshark_device::device_add_mconfig(machine_config &config)
+{
// basic machine hardware
- MCFG_DEVICE_ADD(I8085_TAG, I8085A, 1000000)
- MCFG_DEVICE_PROGRAM_MAP(mshark_mem)
- MCFG_DEVICE_IO_MAP(mshark_io)
+ I8085A(config, m_maincpu, 1000000);
+ m_maincpu->set_addrmap(AS_PROGRAM, &mshark_device::mshark_mem);
+ m_maincpu->set_addrmap(AS_IO, &mshark_device::mshark_io);
// devices
- MCFG_HARDDISK_ADD("harddisk1")
- MCFG_DEVICE_ADD(RS232_TAG, RS232_PORT, default_rs232_devices, nullptr)
-MACHINE_CONFIG_END
+ HARDDISK(config, "harddisk1", 0);
+ RS232_PORT(config, RS232_TAG, default_rs232_devices, nullptr);
+}
//-------------------------------------------------