summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/bus/interpro/keyboard/lle.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/bus/interpro/keyboard/lle.cpp')
-rw-r--r--src/devices/bus/interpro/keyboard/lle.cpp11
1 files changed, 5 insertions, 6 deletions
diff --git a/src/devices/bus/interpro/keyboard/lle.cpp b/src/devices/bus/interpro/keyboard/lle.cpp
index 6beb3581d13..11deb78f137 100644
--- a/src/devices/bus/interpro/keyboard/lle.cpp
+++ b/src/devices/bus/interpro/keyboard/lle.cpp
@@ -148,16 +148,15 @@
#include "speaker.h"
#include "machine/keyboard.ipp"
-#define LOG_GENERAL (1U << 0)
#define LOG_RXTX (1U << 1)
#define LOG_PORT (1U << 2)
#define VERBOSE (0)
#include "logmacro.h"
-DEFINE_DEVICE_TYPE_NS(INTERPRO_LLE_EN_US_KEYBOARD, bus::interpro::keyboard, lle_en_us_device, "kbd_lle_en_us", "InterPro Keyboard (LLE, US English)")
+DEFINE_DEVICE_TYPE(INTERPRO_LLE_EN_US_KEYBOARD, bus::interpro::keyboard::lle_en_us_device, "kbd_lle_en_us", "InterPro Keyboard (LLE, US English)")
-namespace bus { namespace interpro { namespace keyboard {
+namespace bus::interpro::keyboard {
namespace {
@@ -487,7 +486,7 @@ void lle_device_base::ext_map(address_map &map)
}, "write");
}
-READ_LINE_MEMBER(lle_device_base::t0_r)
+int lle_device_base::t0_r()
{
if ((VERBOSE & LOG_RXTX) && (m_mcu->pc() == 0x8e) && m_txd)
{
@@ -502,7 +501,7 @@ READ_LINE_MEMBER(lle_device_base::t0_r)
return !m_txd;
}
-READ_LINE_MEMBER(lle_device_base::t1_r)
+int lle_device_base::t1_r()
{
return BIT(m_lower[m_count >> 3]->read(), m_count & 0x7) ? ASSERT_LINE : CLEAR_LINE;
}
@@ -610,4 +609,4 @@ ioport_constructor lle_en_us_device::device_input_ports() const
return INPUT_PORTS_NAME(lle_en_us_device);
}
-} } } // namespace bus::interpro::keyboard
+} // namespace bus::interpro::keyboard