summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/machine/kb3600.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/machine/kb3600.cpp')
-rw-r--r--src/devices/machine/kb3600.cpp13
1 files changed, 4 insertions, 9 deletions
diff --git a/src/devices/machine/kb3600.cpp b/src/devices/machine/kb3600.cpp
index a3ade5080de..5400d8ac1a8 100644
--- a/src/devices/machine/kb3600.cpp
+++ b/src/devices/machine/kb3600.cpp
@@ -18,13 +18,8 @@
#include "emu.h"
#include "kb3600.h"
-
-
-//**************************************************************************
-// MACROS / CONSTANTS
-//**************************************************************************
-
-#define LOG 0
+//#define VERBOSE 1
+#include "logmacro.h"
@@ -33,7 +28,7 @@
//**************************************************************************
// devices
-const device_type AY3600 = device_creator<ay3600_device>;
+DEFINE_DEVICE_TYPE(AY3600, ay3600_device, "ay3600", "AY-5-3600 Keyboard Encoder")
//**************************************************************************
// LIVE DEVICE
@@ -44,7 +39,7 @@ const device_type AY3600 = device_creator<ay3600_device>;
//-------------------------------------------------
ay3600_device::ay3600_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock)
- : device_t(mconfig, AY3600, "AY-5-3600", tag, owner, clock, "ay3600", __FILE__),
+ : device_t(mconfig, AY3600, tag, owner, clock),
m_read_x0(*this),
m_read_x1(*this),
m_read_x2(*this),