summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/machine/74175.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/machine/74175.cpp')
-rw-r--r--src/devices/machine/74175.cpp29
1 files changed, 8 insertions, 21 deletions
diff --git a/src/devices/machine/74175.cpp b/src/devices/machine/74175.cpp
index 28d3152dbeb..d3263c9cff3 100644
--- a/src/devices/machine/74175.cpp
+++ b/src/devices/machine/74175.cpp
@@ -61,11 +61,6 @@ void ttl741745_device::device_start()
save_item(NAME(m_q2));
save_item(NAME(m_q3));
save_item(NAME(m_q4));
-
- m_q1_func.resolve_safe();
- m_q2_func.resolve_safe();
- m_q3_func.resolve_safe();
- m_q4_func.resolve_safe();
}
void ttl741745_device::device_reset()
@@ -81,9 +76,6 @@ void ttl74174_device::device_start()
save_item(NAME(m_d6));
save_item(NAME(m_q5));
save_item(NAME(m_q6));
-
- m_q5_func.resolve_safe();
- m_q6_func.resolve_safe();
}
void ttl74175_device::device_start()
@@ -92,11 +84,6 @@ void ttl74175_device::device_start()
save_item(NAME(m_not_q2));
save_item(NAME(m_not_q3));
save_item(NAME(m_not_q4));
-
- m_not_q1_func.resolve_safe();
- m_not_q2_func.resolve_safe();
- m_not_q3_func.resolve_safe();
- m_not_q4_func.resolve_safe();
}
void ttl741745_device::init()
@@ -149,12 +136,12 @@ void ttl741745_device::tick()
m_q4_func(m_q4);
}
-WRITE_LINE_MEMBER( ttl741745_device::clear_w )
+void ttl741745_device::clear_w(int state)
{
m_clear = state;
}
-WRITE_LINE_MEMBER( ttl741745_device::clock_w )
+void ttl741745_device::clock_w(int state)
{
uint8_t last_clock = m_clock;
m_clock = state;
@@ -164,32 +151,32 @@ WRITE_LINE_MEMBER( ttl741745_device::clock_w )
}
}
-WRITE_LINE_MEMBER( ttl741745_device::d1_w )
+void ttl741745_device::d1_w(int state)
{
m_d1 = state;
}
-WRITE_LINE_MEMBER( ttl741745_device::d2_w )
+void ttl741745_device::d2_w(int state)
{
m_d2 = state;
}
-WRITE_LINE_MEMBER( ttl741745_device::d3_w )
+void ttl741745_device::d3_w(int state)
{
m_d3 = state;
}
-WRITE_LINE_MEMBER( ttl741745_device::d4_w )
+void ttl741745_device::d4_w(int state)
{
m_d4 = state;
}
-WRITE_LINE_MEMBER( ttl74174_device::d5_w )
+void ttl74174_device::d5_w(int state)
{
m_d5 = state;
}
-WRITE_LINE_MEMBER( ttl74174_device::d6_w )
+void ttl74174_device::d6_w(int state)
{
m_d6 = state;
}