summaryrefslogtreecommitdiffstatshomepage
path: root/src
diff options
context:
space:
mode:
authorGravatarGravatar Curt Coder <curtcoder@mail.com>2014-01-10 22:57:23 +0000
committerGravatarGravatar Curt Coder <curtcoder@mail.com>2014-01-10 22:57:23 +0000
commit5c623ec2c334515f9ce05400b7cc0d4db13551a6 (patch)
treed6e5887b78e9f1d1481f358646517c5eb5829014 /src
parent3820999e15839e134c20776f0eea76b9222ce88b (diff)
(MESS) softbox: Fixed validation. (nw)
Diffstat (limited to 'src')
-rw-r--r--src/emu/bus/ieee488/softbox.c3
-rw-r--r--src/emu/bus/imi7000/imi7000.h8
-rw-r--r--src/mess/drivers/softbox.c3
3 files changed, 6 insertions, 8 deletions
diff --git a/src/emu/bus/ieee488/softbox.c b/src/emu/bus/ieee488/softbox.c
index b9034c2009a..19e6b969075 100644
--- a/src/emu/bus/ieee488/softbox.c
+++ b/src/emu/bus/ieee488/softbox.c
@@ -283,11 +283,10 @@ static MACHINE_CONFIG_FRAGMENT( softbox )
MCFG_HARDDISK_ADD("harddisk3")
MCFG_HARDDISK_ADD("harddisk4")
MCFG_RS232_PORT_ADD(RS232_TAG, default_rs232_devices, NULL)
+ MCFG_DEVICE_CARD_DEVICE_INPUT_DEFAULTS("serial_terminal", terminal)
MCFG_SERIAL_OUT_RX_HANDLER(DEVWRITELINE(I8251_TAG, i8251_device, write_rx))
MCFG_RS232_OUT_DSR_HANDLER(DEVWRITELINE(I8251_TAG, i8251_device, write_dsr))
//MCFG_IMI7000_BUS_ADD("imi5000h", NULL, NULL, NULL)
-
- MCFG_DEVICE_CARD_DEVICE_INPUT_DEFAULTS("serial_terminal", terminal)
MACHINE_CONFIG_END
diff --git a/src/emu/bus/imi7000/imi7000.h b/src/emu/bus/imi7000/imi7000.h
index fa8d24b075d..e360ae99feb 100644
--- a/src/emu/bus/imi7000/imi7000.h
+++ b/src/emu/bus/imi7000/imi7000.h
@@ -51,15 +51,15 @@
//**************************************************************************
#define MCFG_IMI7000_BUS_ADD(_def_slot1, _def_slot2, _def_slot3, _def_slot4) \
+ MCFG_DEVICE_ADD(IMI7000_BUS_TAG, IMI7000_BUS, 0) \
MCFG_DEVICE_ADD(IMI7000_BUS_TAG":0", IMI7000_SLOT, 0) \
MCFG_DEVICE_SLOT_INTERFACE(imi7000_devices, _def_slot1, false) \
MCFG_DEVICE_ADD(IMI7000_BUS_TAG":1", IMI7000_SLOT, 0) \
- MCFG_DEVICE_SLOT_INTERFACE(imi7000_devices, _def_slot1, false) \
+ MCFG_DEVICE_SLOT_INTERFACE(imi7000_devices, _def_slot2, false) \
MCFG_DEVICE_ADD(IMI7000_BUS_TAG":2", IMI7000_SLOT, 0) \
- MCFG_DEVICE_SLOT_INTERFACE(imi7000_devices, _def_slot1, false) \
+ MCFG_DEVICE_SLOT_INTERFACE(imi7000_devices, _def_slot3, false) \
MCFG_DEVICE_ADD(IMI7000_BUS_TAG":3", IMI7000_SLOT, 0) \
- MCFG_DEVICE_SLOT_INTERFACE(imi7000_devices, _def_slot1, false) \
- MCFG_DEVICE_ADD(IMI7000_BUS_TAG, IMI7000_BUS, 0)
+ MCFG_DEVICE_SLOT_INTERFACE(imi7000_devices, _def_slot4, false)
diff --git a/src/mess/drivers/softbox.c b/src/mess/drivers/softbox.c
index 7dc91eb9dc8..55d76d2ae43 100644
--- a/src/mess/drivers/softbox.c
+++ b/src/mess/drivers/softbox.c
@@ -423,9 +423,8 @@ static MACHINE_CONFIG_START( softbox, softbox_state )
MCFG_RS232_PORT_ADD(RS232_TAG, default_rs232_devices, "serial_terminal")
MCFG_SERIAL_OUT_RX_HANDLER(DEVWRITELINE(I8251_TAG, i8251_device, write_rx))
MCFG_RS232_OUT_DSR_HANDLER(DEVWRITELINE(I8251_TAG, i8251_device, write_dsr))
- MCFG_IMI7000_BUS_ADD("imi5000h", NULL, NULL, NULL)
-
MCFG_DEVICE_CARD_DEVICE_INPUT_DEFAULTS("serial_terminal", terminal)
+ MCFG_IMI7000_BUS_ADD("imi5000h", NULL, NULL, NULL)
// software lists
MCFG_SOFTWARE_LIST_ADD("flop_list", "softbox")