summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/machine/am2847.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/machine/am2847.cpp')
-rw-r--r--src/devices/machine/am2847.cpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/devices/machine/am2847.cpp b/src/devices/machine/am2847.cpp
index 7e7992a2e85..125a50b7965 100644
--- a/src/devices/machine/am2847.cpp
+++ b/src/devices/machine/am2847.cpp
@@ -62,25 +62,25 @@ void am2847_base_device::init()
m_out = 0;
}
-WRITE_LINE_MEMBER( am2847_base_device::in_a_w )
+void am2847_base_device::in_a_w(int state)
{
m_in &= ~0x01;
m_in |= state;
}
-WRITE_LINE_MEMBER( am2847_base_device::in_b_w )
+void am2847_base_device::in_b_w(int state)
{
m_in &= ~0x02;
m_in |= state << 1;
}
-WRITE_LINE_MEMBER( am2847_base_device::in_c_w )
+void am2847_base_device::in_c_w(int state)
{
m_in &= ~0x04;
m_in |= state << 2;
}
-WRITE_LINE_MEMBER( am2847_base_device::in_d_w )
+void am2847_base_device::in_d_w(int state)
{
m_in &= ~0x08;
m_in |= state << 3;
@@ -91,25 +91,25 @@ void am2847_base_device::in_w(uint8_t data)
m_in = data & 0x0f;
}
-WRITE_LINE_MEMBER( am2847_base_device::rc_a_w )
+void am2847_base_device::rc_a_w(int state)
{
m_rc &= ~0x01;
m_rc |= state;
}
-WRITE_LINE_MEMBER( am2847_base_device::rc_b_w )
+void am2847_base_device::rc_b_w(int state)
{
m_rc &= ~0x02;
m_rc |= state << 1;
}
-WRITE_LINE_MEMBER( am2847_base_device::rc_c_w )
+void am2847_base_device::rc_c_w(int state)
{
m_rc &= ~0x04;
m_rc |= state << 2;
}
-WRITE_LINE_MEMBER( am2847_base_device::rc_d_w )
+void am2847_base_device::rc_d_w(int state)
{
m_rc &= ~0x08;
m_rc |= state << 3;
@@ -120,7 +120,7 @@ void am2847_base_device::rc_w(uint8_t data)
m_rc = data & 0x0f;
}
-WRITE_LINE_MEMBER( am2847_base_device::cp_w )
+void am2847_base_device::cp_w(int state)
{
if (m_cp != state && state != 0)
{