diff options
Diffstat (limited to 'src/devices/bus/coco/coco_t4426.cpp')
-rw-r--r-- | src/devices/bus/coco/coco_t4426.cpp | 29 |
1 files changed, 11 insertions, 18 deletions
diff --git a/src/devices/bus/coco/coco_t4426.cpp b/src/devices/bus/coco/coco_t4426.cpp index f76094695bf..aea2403f076 100644 --- a/src/devices/bus/coco/coco_t4426.cpp +++ b/src/devices/bus/coco/coco_t4426.cpp @@ -124,7 +124,7 @@ INPUT_PORTS_END // GLOBAL VARIABLES //************************************************************************** -const device_type COCO_T4426 = device_creator<coco_t4426_device>; +DEFINE_DEVICE_TYPE(COCO_T4426, coco_t4426_device, "coco_t4426", "Terco CNC Programming Station 4426 multi cart") //************************************************************************** // LIVE DEVICE @@ -134,27 +134,20 @@ const device_type COCO_T4426 = device_creator<coco_t4426_device>; // coco_t4426_device - constructor //------------------------------------------------- -coco_t4426_device::coco_t4426_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) - ,device_cococart_interface( mconfig, *this ) - ,m_cart(nullptr) - ,m_owner(nullptr) - ,m_select(0) - ,m_autostart(*this, CART_AUTOSTART_TAG) - ,m_uart(*this, UART_TAG) - ,m_pia(*this, PIA_TAG) +coco_t4426_device::coco_t4426_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_cococart_interface(mconfig, *this) + , m_cart(nullptr) + , m_owner(nullptr) + , m_select(0) + , m_autostart(*this, CART_AUTOSTART_TAG) + , m_uart(*this, UART_TAG) + , m_pia(*this, PIA_TAG) { } coco_t4426_device::coco_t4426_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock) - : device_t(mconfig, COCO_T4426, "Terco CNC Programming Station 4426 multi cart", tag, owner, clock, "coco_t4426", __FILE__) - ,device_cococart_interface( mconfig, *this ) - ,m_cart(nullptr) - ,m_owner(nullptr) - ,m_select(0) - ,m_autostart(*this, CART_AUTOSTART_TAG) - ,m_uart(*this, UART_TAG) - ,m_pia(*this, PIA_TAG) + : coco_t4426_device(mconfig, COCO_T4426, tag, owner, clock) { } |