diff options
Diffstat (limited to 'src/mame/drivers/octopus.cpp')
-rw-r--r-- | src/mame/drivers/octopus.cpp | 35 |
1 files changed, 19 insertions, 16 deletions
diff --git a/src/mame/drivers/octopus.cpp b/src/mame/drivers/octopus.cpp index cb049683b74..933fe8f83ee 100644 --- a/src/mame/drivers/octopus.cpp +++ b/src/mame/drivers/octopus.cpp @@ -859,22 +859,25 @@ READ8_MEMBER( octopus_state::get_slave_ack ) return 0x00; } -static SLOT_INTERFACE_START( octopus_floppies ) - SLOT_INTERFACE( "525dd", FLOPPY_525_DD ) -SLOT_INTERFACE_END - -static SLOT_INTERFACE_START(keyboard) - SLOT_INTERFACE("octopus", OCTOPUS_KEYBOARD) -SLOT_INTERFACE_END - -SLOT_INTERFACE_START(octopus_centronics_devices) - SLOT_INTERFACE("pl80", COMX_PL80) - SLOT_INTERFACE("ex800", EPSON_EX800) - SLOT_INTERFACE("lx800", EPSON_LX800) - SLOT_INTERFACE("lx810l", EPSON_LX810L) - SLOT_INTERFACE("ap2000", EPSON_AP2000) - SLOT_INTERFACE("printer", CENTRONICS_PRINTER) -SLOT_INTERFACE_END +static void octopus_floppies(device_slot_interface &device) +{ + device.option_add("525dd", FLOPPY_525_DD); +} + +static void keyboard(device_slot_interface &device) +{ + device.option_add("octopus", OCTOPUS_KEYBOARD); +} + +void octopus_centronics_devices(device_slot_interface &device) +{ + device.option_add("pl80", COMX_PL80); + device.option_add("ex800", EPSON_EX800); + device.option_add("lx800", EPSON_LX800); + device.option_add("lx810l", EPSON_LX810L); + device.option_add("ap2000", EPSON_AP2000); + device.option_add("printer", CENTRONICS_PRINTER); +} MACHINE_CONFIG_START(octopus_state::octopus) /* basic machine hardware */ |