summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/hk68v10.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/hk68v10.cpp')
-rw-r--r--src/mame/drivers/hk68v10.cpp13
1 files changed, 7 insertions, 6 deletions
diff --git a/src/mame/drivers/hk68v10.cpp b/src/mame/drivers/hk68v10.cpp
index 935d25039c6..2f5598f22ae 100644
--- a/src/mame/drivers/hk68v10.cpp
+++ b/src/mame/drivers/hk68v10.cpp
@@ -337,10 +337,11 @@ static void hk68_vme_cards(device_slot_interface &device)
/*
* Machine configuration
*/
-MACHINE_CONFIG_START(hk68v10_state::hk68v10)
+void hk68v10_state::hk68v10(machine_config &config)
+{
/* basic machine hardware */
- MCFG_DEVICE_ADD("maincpu", M68010, 10_MHz_XTAL)
- MCFG_DEVICE_PROGRAM_MAP (hk68v10_mem)
+ M68010(config, m_maincpu, 10_MHz_XTAL);
+ m_maincpu->set_addrmap(AS_PROGRAM, &hk68v10_state::hk68v10_mem);
Z8536(config, "cio", SCC_CLOCK);
@@ -354,9 +355,9 @@ MACHINE_CONFIG_START(hk68v10_state::hk68v10)
rs232trm.rxd_handler().set(m_sccterm, FUNC(scc8530_device::rxa_w));
rs232trm.cts_handler().set(m_sccterm, FUNC(scc8530_device::ctsa_w));
- MCFG_VME_DEVICE_ADD("vme")
- MCFG_VME_SLOT_ADD("vme", 1, hk68_vme_cards, nullptr)
-MACHINE_CONFIG_END
+ VME(config, "vme", 0);
+ VME_SLOT(config, "slot1", hk68_vme_cards, nullptr, 1, "vme");
+}
/* ROM definitions */
ROM_START (hk68v10)