diff options
Diffstat (limited to 'src/devices/bus/a2bus/timemasterho.cpp')
-rw-r--r-- | src/devices/bus/a2bus/timemasterho.cpp | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/src/devices/bus/a2bus/timemasterho.cpp b/src/devices/bus/a2bus/timemasterho.cpp index 7eee31eb768..27951e7d635 100644 --- a/src/devices/bus/a2bus/timemasterho.cpp +++ b/src/devices/bus/a2bus/timemasterho.cpp @@ -46,7 +46,7 @@ // GLOBAL VARIABLES //************************************************************************** -const device_type A2BUS_TIMEMASTERHO = device_creator<a2bus_timemasterho_device>; +DEFINE_DEVICE_TYPE(A2BUS_TIMEMASTERHO, a2bus_timemasterho_device, "a2tmstho", "Applied Engineering TimeMaster H.O.") #define TIMEMASTER_ROM_REGION "timemst_rom" #define TIMEMASTER_PIA_TAG "timemst_pia" @@ -122,8 +122,8 @@ const tiny_rom_entry *a2bus_timemasterho_device::device_rom_region() const // LIVE DEVICE //************************************************************************** -a2bus_timemasterho_device::a2bus_timemasterho_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, uint32_t clock, const char *shortname, const char *source) : - device_t(mconfig, type, name, tag, owner, clock, shortname, source), +a2bus_timemasterho_device::a2bus_timemasterho_device(const machine_config &mconfig, device_type type, const char *tag, device_t *owner, uint32_t clock) : + device_t(mconfig, type, tag, owner, clock), device_a2bus_card_interface(mconfig, *this), m_pia(*this, TIMEMASTER_PIA_TAG), m_msm5832(*this, TIMEMASTER_M5832_TAG), @@ -133,11 +133,7 @@ a2bus_timemasterho_device::a2bus_timemasterho_device(const machine_config &mconf } a2bus_timemasterho_device::a2bus_timemasterho_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock) : - device_t(mconfig, A2BUS_TIMEMASTERHO, "Applied Engineering TimeMaster H.O.", tag, owner, clock, "a2tmstho", __FILE__), - device_a2bus_card_interface(mconfig, *this), - m_pia(*this, TIMEMASTER_PIA_TAG), - m_msm5832(*this, TIMEMASTER_M5832_TAG), - m_dsw1(*this, "DSW1"), m_rom(nullptr), m_irqa(false), m_irqb(false) + a2bus_timemasterho_device(mconfig, A2BUS_TIMEMASTERHO, tag, owner, clock) { m_started = false; } |