summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/mbc55x.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/mbc55x.cpp')
-rw-r--r--src/mame/drivers/mbc55x.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/mame/drivers/mbc55x.cpp b/src/mame/drivers/mbc55x.cpp
index 19f9a9d1019..73629a1945f 100644
--- a/src/mame/drivers/mbc55x.cpp
+++ b/src/mame/drivers/mbc55x.cpp
@@ -222,7 +222,8 @@ static void mbc55x_floppies(device_slot_interface &device)
}
-MACHINE_CONFIG_START(mbc55x_state::mbc55x)
+void mbc55x_state::mbc55x(machine_config &config)
+{
/* basic machine hardware */
I8088(config, m_maincpu, 14.318181_MHz_XTAL / 4);
m_maincpu->set_addrmap(AS_PROGRAM, &mbc55x_state::mbc55x_mem);
@@ -306,7 +307,7 @@ MACHINE_CONFIG_START(mbc55x_state::mbc55x)
FLOPPY_CONNECTOR(config, m_floppy[3], mbc55x_floppies, "", mbc55x_state::floppy_formats);
/* Software list */
- MCFG_SOFTWARE_LIST_ADD("disk_list","mbc55x")
+ SOFTWARE_LIST(config, "disk_list").set_original("mbc55x");
isa8_device &isa(ISA8(config, "isa", 14.318181_MHz_XTAL / 4));
isa.set_memspace(m_maincpu, AS_PROGRAM);
@@ -335,7 +336,7 @@ MACHINE_CONFIG_START(mbc55x_state::mbc55x)
m_printer->busy_handler().append(m_pic, FUNC(pic8259_device::ir4_w)).invert();
m_printer->perror_handler().set(FUNC(mbc55x_state::printer_paper_end_w));
m_printer->select_handler().set(FUNC(mbc55x_state::printer_select_w));
-MACHINE_CONFIG_END
+}
ROM_START( mbc55x )