summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/machine/74161.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/machine/74161.cpp')
-rw-r--r--src/devices/machine/74161.cpp20
1 files changed, 10 insertions, 10 deletions
diff --git a/src/devices/machine/74161.cpp b/src/devices/machine/74161.cpp
index 2c81cdfcb1a..a866052d83d 100644
--- a/src/devices/machine/74161.cpp
+++ b/src/devices/machine/74161.cpp
@@ -9,13 +9,13 @@
#include "emu.h"
#include "74161.h"
-const device_type TTL74160 = device_creator<ttl74160_device>;
-const device_type TTL74161 = device_creator<ttl74161_device>;
-const device_type TTL74162 = device_creator<ttl74162_device>;
-const device_type TTL74163 = device_creator<ttl74163_device>;
+DEFINE_DEVICE_TYPE(TTL74160, ttl74160_device, "ttl74160", "54/74160 Decade Counter")
+DEFINE_DEVICE_TYPE(TTL74161, ttl74161_device, "ttl74161", "54/74161 Binary Counter")
+DEFINE_DEVICE_TYPE(TTL74162, ttl74162_device, "ttl74162", "54/74162 Decade Counter")
+DEFINE_DEVICE_TYPE(TTL74163, ttl74163_device, "ttl74163", "54/74163 Binary Counter")
-ttl7416x_device::ttl7416x_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, uint32_t clock, const char *shortname, bool synchronous_reset, uint8_t limit)
- : device_t(mconfig, type, name, tag, owner, clock, shortname, __FILE__)
+ttl7416x_device::ttl7416x_device(const machine_config &mconfig, device_type type, const char *tag, device_t *owner, uint32_t clock, bool synchronous_reset, uint8_t limit)
+ : device_t(mconfig, type, tag, owner, clock)
, m_qa_func(*this)
, m_qb_func(*this)
, m_qc_func(*this)
@@ -36,22 +36,22 @@ ttl7416x_device::ttl7416x_device(const machine_config &mconfig, device_type type
}
ttl74160_device::ttl74160_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock)
- : ttl7416x_device(mconfig, TTL74160, "54/74160 Decade Counter", tag, owner, clock, "ttl74160", false, 10)
+ : ttl7416x_device(mconfig, TTL74160, tag, owner, clock, false, 10)
{
}
ttl74161_device::ttl74161_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock)
- : ttl7416x_device(mconfig, TTL74160, "54/74160 Decade Counter", tag, owner, clock, "ttl74160", false, 16)
+ : ttl7416x_device(mconfig, TTL74161, tag, owner, clock, false, 16)
{
}
ttl74162_device::ttl74162_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock)
- : ttl7416x_device(mconfig, TTL74160, "54/74160 Decade Counter", tag, owner, clock, "ttl74160", true, 10)
+ : ttl7416x_device(mconfig, TTL74162, tag, owner, clock, true, 10)
{
}
ttl74163_device::ttl74163_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock)
- : ttl7416x_device(mconfig, TTL74160, "54/74160 Decade Counter", tag, owner, clock, "ttl74160", true, 16)
+ : ttl7416x_device(mconfig, TTL74163, tag, owner, clock, true, 16)
{
}