summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/bus/ieee488/ieee488.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/bus/ieee488/ieee488.cpp')
-rw-r--r--src/devices/bus/ieee488/ieee488.cpp47
1 files changed, 25 insertions, 22 deletions
diff --git a/src/devices/bus/ieee488/ieee488.cpp b/src/devices/bus/ieee488/ieee488.cpp
index 7903be8fe49..fac55803e9d 100644
--- a/src/devices/bus/ieee488/ieee488.cpp
+++ b/src/devices/bus/ieee488/ieee488.cpp
@@ -400,22 +400,23 @@ uint8_t ieee488_device::get_data()
#include "shark.h"
#include "softbox.h"
-SLOT_INTERFACE_START( cbm_ieee488_devices )
- SLOT_INTERFACE("c2040", C2040)
- SLOT_INTERFACE("c3040", C3040)
- SLOT_INTERFACE("c4040", C4040)
- SLOT_INTERFACE("c8050", C8050)
- SLOT_INTERFACE("c8250", C8250)
- SLOT_INTERFACE("sfd1001", SFD1001)
- SLOT_INTERFACE("c2031", C2031)
- SLOT_INTERFACE("c8280", C8280)
- SLOT_INTERFACE("d9060", D9060)
- SLOT_INTERFACE("d9090", D9090)
- SLOT_INTERFACE("softbox", SOFTBOX)
- SLOT_INTERFACE("hardbox", HARDBOX)
- SLOT_INTERFACE("shark", MSHARK)
- SLOT_INTERFACE("c4023", C4023)
-SLOT_INTERFACE_END
+void cbm_ieee488_devices(device_slot_interface &device)
+{
+ device.option_add("c2040", C2040);
+ device.option_add("c3040", C3040);
+ device.option_add("c4040", C4040);
+ device.option_add("c8050", C8050);
+ device.option_add("c8250", C8250);
+ device.option_add("sfd1001", SFD1001);
+ device.option_add("c2031", C2031);
+ device.option_add("c8280", C8280);
+ device.option_add("d9060", D9060);
+ device.option_add("d9090", D9090);
+ device.option_add("softbox", SOFTBOX);
+ device.option_add("hardbox", HARDBOX);
+ device.option_add("shark", MSHARK);
+ device.option_add("c4023", C4023);
+}
//-------------------------------------------------
// SLOT_INTERFACE( hp_ieee488_devices )
@@ -424,9 +425,10 @@ SLOT_INTERFACE_END
// slot devices
#include "hp9895.h"
-SLOT_INTERFACE_START(hp_ieee488_devices)
- SLOT_INTERFACE("hp9895", HP9895)
-SLOT_INTERFACE_END
+void hp_ieee488_devices(device_slot_interface &device)
+{
+ device.option_add("hp9895", HP9895);
+}
//-------------------------------------------------
// SLOT_INTERFACE( remote488_devices )
@@ -435,6 +437,7 @@ SLOT_INTERFACE_END
// slot devices
#include "remote488.h"
-SLOT_INTERFACE_START(remote488_devices)
- SLOT_INTERFACE("remote488", REMOTE488)
-SLOT_INTERFACE_END
+void remote488_devices(device_slot_interface &device)
+{
+ device.option_add("remote488", REMOTE488);
+}