summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/bus/hp_hil/hlebase.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/bus/hp_hil/hlebase.cpp')
-rw-r--r--src/devices/bus/hp_hil/hlebase.cpp14
1 files changed, 10 insertions, 4 deletions
diff --git a/src/devices/bus/hp_hil/hlebase.cpp b/src/devices/bus/hp_hil/hlebase.cpp
index c7b121dcb44..247dafeea51 100644
--- a/src/devices/bus/hp_hil/hlebase.cpp
+++ b/src/devices/bus/hp_hil/hlebase.cpp
@@ -1,4 +1,4 @@
-// license:BSD-3-Cl ause
+// license:BSD-3-Clause
// copyright-holders:Sergey Svishchev
#include "emu.h"
#include "hlebase.h"
@@ -6,8 +6,7 @@
//#define VERBOSE 1
#include "logmacro.h"
-namespace bus {
- namespace hp_hil {
+namespace bus::hp_hil {
/***************************************************************************
BASE HLE KEYBOARD DEVICE
@@ -21,6 +20,8 @@ namespace bus {
hle_device_base::hle_device_base(machine_config const &mconfig, device_type type, char const *tag, device_t *owner, uint32_t clock)
: device_t(mconfig, type, tag, owner, clock)
, device_hp_hil_interface(mconfig, *this)
+ , m_powerup(true)
+ , m_passthru(false)
{ }
@@ -141,6 +142,12 @@ bool hle_device_base::hil_write(uint16_t *pdata)
return true;
break;
+ case HPHIL_DKA:
+ case HPHIL_EK1:
+ case HPHIL_EK2:
+ hil_typematic(data);
+ break;
+
default:
LOG("command %02X unknown\n", data);
break;
@@ -152,4 +159,3 @@ out:
}
} // namespace bus::hp_hil
-} // namespace bus