diff options
Diffstat (limited to 'src/devices/bus/amiga/zorro/cards.cpp')
-rw-r--r-- | src/devices/bus/amiga/zorro/cards.cpp | 63 |
1 files changed, 34 insertions, 29 deletions
diff --git a/src/devices/bus/amiga/zorro/cards.cpp b/src/devices/bus/amiga/zorro/cards.cpp index 572ee491d93..8d0c7939b01 100644 --- a/src/devices/bus/amiga/zorro/cards.cpp +++ b/src/devices/bus/amiga/zorro/cards.cpp @@ -16,32 +16,37 @@ #include "buddha.h" -SLOT_INTERFACE_START( a1000_expansion_cards ) -SLOT_INTERFACE_END - -SLOT_INTERFACE_START( a500_expansion_cards ) - SLOT_INTERFACE("ar1", ACTION_REPLAY_MK1) - SLOT_INTERFACE("ar2", ACTION_REPLAY_MK2) - SLOT_INTERFACE("ar3", ACTION_REPLAY_MK3) - SLOT_INTERFACE("a590", A590) -SLOT_INTERFACE_END - -SLOT_INTERFACE_START( a2000_expansion_cards ) - SLOT_INTERFACE("ar1", ACTION_REPLAY_MK1) - SLOT_INTERFACE("ar2", ACTION_REPLAY_MK2) - SLOT_INTERFACE("ar3", ACTION_REPLAY_MK3) -SLOT_INTERFACE_END - -SLOT_INTERFACE_START( zorro2_cards ) - SLOT_INTERFACE("a2052", A2052) - SLOT_INTERFACE("a2091", A2091) - SLOT_INTERFACE("a2232", A2232) - SLOT_INTERFACE("buddha", BUDDHA) -SLOT_INTERFACE_END - -SLOT_INTERFACE_START( zorro3_cards ) - SLOT_INTERFACE("a2052", A2052) - SLOT_INTERFACE("a2091", A2091) - SLOT_INTERFACE("a2232", A2232) - SLOT_INTERFACE("buddha", BUDDHA) -SLOT_INTERFACE_END +void a1000_expansion_cards(device_slot_interface &device) +{ +} + +void a500_expansion_cards(device_slot_interface &device) +{ + device.option_add("ar1", ACTION_REPLAY_MK1); + device.option_add("ar2", ACTION_REPLAY_MK2); + device.option_add("ar3", ACTION_REPLAY_MK3); + device.option_add("a590", A590); +} + +void a2000_expansion_cards(device_slot_interface &device) +{ + device.option_add("ar1", ACTION_REPLAY_MK1); + device.option_add("ar2", ACTION_REPLAY_MK2); + device.option_add("ar3", ACTION_REPLAY_MK3); +} + +void zorro2_cards(device_slot_interface &device) +{ + device.option_add("a2052", A2052); + device.option_add("a2091", A2091); + device.option_add("a2232", A2232); + device.option_add("buddha", BUDDHA); +} + +void zorro3_cards(device_slot_interface &device) +{ + device.option_add("a2052", A2052); + device.option_add("a2091", A2091); + device.option_add("a2232", A2232); + device.option_add("buddha", BUDDHA); +} |