summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/bus/sg1000_exp
diff options
context:
space:
mode:
author Ivan Vangelista <mesgnet@yahoo.it>2019-01-30 17:51:36 +0100
committer Ivan Vangelista <mesgnet@yahoo.it>2019-01-30 17:51:36 +0100
commitb166ec2cff2566d0ae2a2bce04c298e89966c81a (patch)
treed486d4b17080e7b3f68ada755748a6dda1b66407 /src/devices/bus/sg1000_exp
parent7fd14ecc7d787c2851e109164a0886448cb48666 (diff)
emu\softlist_dev: removed MCFG macros (nw)
also removed MCFG_DEVICE_REMOVE, MCFG_QUANTUM_TIME and MCFG_QUANTUM_PERFECT_CPU (nw)
Diffstat (limited to 'src/devices/bus/sg1000_exp')
-rw-r--r--src/devices/bus/sg1000_exp/sk1100.cpp11
1 files changed, 6 insertions, 5 deletions
diff --git a/src/devices/bus/sg1000_exp/sk1100.cpp b/src/devices/bus/sg1000_exp/sk1100.cpp
index 5e9660e1547..3ce616afded 100644
--- a/src/devices/bus/sg1000_exp/sk1100.cpp
+++ b/src/devices/bus/sg1000_exp/sk1100.cpp
@@ -154,14 +154,15 @@ ioport_constructor sega_sk1100_device::device_input_ports() const
}
-MACHINE_CONFIG_START(sega_sk1100_device::device_add_mconfig)
+void sega_sk1100_device::device_add_mconfig(machine_config &config)
+{
/* devices */
I8255(config, m_ppi);
m_ppi->in_pa_callback().set(FUNC(sega_sk1100_device::ppi_pa_r));
m_ppi->in_pb_callback().set(FUNC(sega_sk1100_device::ppi_pb_r));
m_ppi->out_pc_callback().set(FUNC(sega_sk1100_device::ppi_pc_w));
-// MCFG_PRINTER_ADD("sp400") /* serial printer */
+// PRINTER(config, "sp400", 0); /* serial printer */
CASSETTE(config, m_cassette);
m_cassette->set_formats(sc3000_cassette_formats);
@@ -169,9 +170,9 @@ MACHINE_CONFIG_START(sega_sk1100_device::device_add_mconfig)
m_cassette->set_interface("sc3000_cass");
/* software lists */
- MCFG_SOFTWARE_LIST_ADD("sc3k_cart_list","sc3000_cart")
- MCFG_SOFTWARE_LIST_ADD("cass_list","sc3000_cass")
-MACHINE_CONFIG_END
+ SOFTWARE_LIST(config, "sc3k_cart_list").set_original("sc3000_cart");
+ SOFTWARE_LIST(config, "cass_list").set_original("sc3000_cass");
+}
//**************************************************************************
// LIVE DEVICE