mirror of
https://github.com/holub/mame
synced 2025-10-06 17:08:28 +03:00
Merge pull request #4090 from hp9k/hpdio_remove_mcfg
hp_dio: remove MCFG
This commit is contained in:
commit
307a6ee0d2
@ -19,12 +19,6 @@
|
|||||||
|
|
||||||
namespace bus {
|
namespace bus {
|
||||||
namespace hp_dio {
|
namespace hp_dio {
|
||||||
//**************************************************************************
|
|
||||||
// INTERFACE CONFIGURATION MACROS
|
|
||||||
//**************************************************************************
|
|
||||||
|
|
||||||
#define MCFG_DIO16_CPU(_cputag) downcast<bus::hp_dio::dio16_device &>(*device).set_cputag(_cputag);
|
|
||||||
#define MCFG_DIO32_CPU(_cputag) downcast<bus::hp_dio::dio32_device &>(*device).set_cputag(_cputag);
|
|
||||||
|
|
||||||
//**************************************************************************
|
//**************************************************************************
|
||||||
// TYPE DEFINITIONS
|
// TYPE DEFINITIONS
|
||||||
|
@ -513,12 +513,13 @@ MACHINE_CONFIG_START(hp9k3xx_state::hp9k310)
|
|||||||
MCFG_DEVICE_ADD(m_maincpu, M68010, 10000000)
|
MCFG_DEVICE_ADD(m_maincpu, M68010, 10000000)
|
||||||
MCFG_DEVICE_PROGRAM_MAP(hp9k310_map)
|
MCFG_DEVICE_PROGRAM_MAP(hp9k310_map)
|
||||||
|
|
||||||
MCFG_DEVICE_ADD("diobus", DIO16, 0)
|
bus::hp_dio::dio16_device &dio16(DIO16(config, "diobus", 0));
|
||||||
MCFG_DIO16_CPU(m_maincpu)
|
dio16.set_cputag(m_maincpu);
|
||||||
MCFG_DEVICE_ADD("sl1", DIO16_SLOT, 0, "diobus", dio16_cards, "98544", true)
|
|
||||||
MCFG_DEVICE_ADD("sl2", DIO16_SLOT, 0, "diobus", dio16_cards, "98603b", true)
|
DIO16_SLOT(config, "sl1", 0, "diobus", dio16_cards, "98544", false);
|
||||||
MCFG_DEVICE_ADD("sl3", DIO16_SLOT, 0, "diobus", dio16_cards, "98644", true)
|
DIO16_SLOT(config, "sl2", 0, "diobus", dio16_cards, "98603b", false);
|
||||||
MCFG_DEVICE_ADD("sl4", DIO16_SLOT, 0, "diobus", dio16_cards, nullptr, false)
|
DIO16_SLOT(config, "sl3", 0, "diobus", dio16_cards, "98644", false);
|
||||||
|
DIO16_SLOT(config, "sl4", 0, "diobus", dio16_cards, nullptr, false);
|
||||||
|
|
||||||
MACHINE_CONFIG_END
|
MACHINE_CONFIG_END
|
||||||
|
|
||||||
@ -528,12 +529,13 @@ MACHINE_CONFIG_START(hp9k3xx_state::hp9k320)
|
|||||||
|
|
||||||
hp9k300(config);
|
hp9k300(config);
|
||||||
|
|
||||||
MCFG_DEVICE_ADD("diobus", DIO32, 0)
|
bus::hp_dio::dio16_device &dio32(DIO32(config, "diobus", 0));
|
||||||
MCFG_DIO32_CPU(m_maincpu)
|
dio32.set_cputag(m_maincpu);
|
||||||
MCFG_DEVICE_ADD("sl1", DIO32_SLOT, 0, "diobus", dio16_cards, "98544", true)
|
|
||||||
MCFG_DEVICE_ADD("sl2", DIO16_SLOT, 0, "diobus", dio16_cards, "98603b", true)
|
DIO32_SLOT(config, "sl1", 0, "diobus", dio16_cards, "98544", false);
|
||||||
MCFG_DEVICE_ADD("sl3", DIO16_SLOT, 0, "diobus", dio16_cards, "98644", true)
|
DIO32_SLOT(config, "sl2", 0, "diobus", dio16_cards, "98603b", false);
|
||||||
MCFG_DEVICE_ADD("sl4", DIO32_SLOT, 0, "diobus", dio16_cards, nullptr, false)
|
DIO32_SLOT(config, "sl3", 0, "diobus", dio16_cards, "98644", false);
|
||||||
|
DIO32_SLOT(config, "sl4", 0, "diobus", dio16_cards, nullptr, false);
|
||||||
MACHINE_CONFIG_END
|
MACHINE_CONFIG_END
|
||||||
|
|
||||||
MACHINE_CONFIG_START(hp9k3xx_state::hp9k330)
|
MACHINE_CONFIG_START(hp9k3xx_state::hp9k330)
|
||||||
@ -542,12 +544,13 @@ MACHINE_CONFIG_START(hp9k3xx_state::hp9k330)
|
|||||||
|
|
||||||
hp9k300(config);
|
hp9k300(config);
|
||||||
|
|
||||||
MCFG_DEVICE_ADD("diobus", DIO32, 0)
|
bus::hp_dio::dio16_device &dio32(DIO32(config, "diobus", 0));
|
||||||
MCFG_DIO32_CPU(m_maincpu)
|
dio32.set_cputag(m_maincpu);
|
||||||
MCFG_DEVICE_ADD("sl1", DIO32_SLOT, 0, "diobus", dio16_cards, "98544", true)
|
|
||||||
MCFG_DEVICE_ADD("sl2", DIO16_SLOT, 0, "diobus", dio16_cards, "98603b", true)
|
DIO32_SLOT(config, "sl1", 0, "diobus", dio16_cards, "98544", false);
|
||||||
MCFG_DEVICE_ADD("sl3", DIO16_SLOT, 0, "diobus", dio16_cards, "98644", true)
|
DIO32_SLOT(config, "sl2", 0, "diobus", dio16_cards, "98603b", false);
|
||||||
MCFG_DEVICE_ADD("sl4", DIO32_SLOT, 0, "diobus", dio16_cards, nullptr, false)
|
DIO32_SLOT(config, "sl3", 0, "diobus", dio16_cards, "98644", false);
|
||||||
|
DIO32_SLOT(config, "sl4", 0, "diobus", dio16_cards, nullptr, false);
|
||||||
MACHINE_CONFIG_END
|
MACHINE_CONFIG_END
|
||||||
|
|
||||||
MACHINE_CONFIG_START(hp9k3xx_state::hp9k332)
|
MACHINE_CONFIG_START(hp9k3xx_state::hp9k332)
|
||||||
|
Loading…
Reference in New Issue
Block a user