summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/video/hlcd0538.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/video/hlcd0538.cpp')
-rw-r--r--src/devices/video/hlcd0538.cpp29
1 files changed, 17 insertions, 12 deletions
diff --git a/src/devices/video/hlcd0538.cpp b/src/devices/video/hlcd0538.cpp
index 12a188d07a0..c409e6be528 100644
--- a/src/devices/video/hlcd0538.cpp
+++ b/src/devices/video/hlcd0538.cpp
@@ -23,18 +23,22 @@ DEFINE_DEVICE_TYPE(HLCD0539, hlcd0539_device, "hlcd0539", "Hughes HLCD 0539 LCD
// constructor
//-------------------------------------------------
-hlcd0538_device::hlcd0538_device(const machine_config &mconfig, device_type type, const char *tag, device_t *owner, u32 clock) :
- device_t(mconfig, type, tag, owner, clock),
- m_write_cols(*this), m_write_interrupt(*this)
-{ }
+hlcd0538_device::hlcd0538_device(const machine_config &mconfig, device_type type, const char *tag, device_t *owner, u32 clock)
+ : device_t(mconfig, type, tag, owner, clock)
+ , m_write_cols(*this), m_write_interrupt(*this)
+{
+}
+
+hlcd0538_device::hlcd0538_device(const machine_config &mconfig, const char *tag, device_t *owner, u32 clock)
+ : hlcd0538_device(mconfig, HLCD0538, tag, owner, clock)
+{
+}
-hlcd0538_device::hlcd0538_device(const machine_config &mconfig, const char *tag, device_t *owner, u32 clock) :
- hlcd0538_device(mconfig, HLCD0538, tag, owner, clock)
-{ }
+hlcd0539_device::hlcd0539_device(const machine_config &mconfig, const char *tag, device_t *owner, u32 clock)
+ : hlcd0538_device(mconfig, HLCD0539, tag, owner, clock)
+{
+}
-hlcd0539_device::hlcd0539_device(const machine_config &mconfig, const char *tag, device_t *owner, u32 clock) :
- hlcd0538_device(mconfig, HLCD0539, tag, owner, clock)
-{ }
//-------------------------------------------------
@@ -61,11 +65,12 @@ void hlcd0538_device::device_start()
}
+
//-------------------------------------------------
// handlers
//-------------------------------------------------
-WRITE_LINE_MEMBER(hlcd0538_device::clk_w)
+WRITE_LINE_MEMBER(hlcd0538_device::write_clk)
{
state = (state) ? 1 : 0;
@@ -76,7 +81,7 @@ WRITE_LINE_MEMBER(hlcd0538_device::clk_w)
m_clk = state;
}
-WRITE_LINE_MEMBER(hlcd0538_device::lcd_w)
+WRITE_LINE_MEMBER(hlcd0538_device::write_lcd)
{
state = (state) ? 1 : 0;