summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/machine/tms9901.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/machine/tms9901.cpp')
-rw-r--r--src/devices/machine/tms9901.cpp13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/devices/machine/tms9901.cpp b/src/devices/machine/tms9901.cpp
index 8ca2f4b2bf7..3da7028baa8 100644
--- a/src/devices/machine/tms9901.cpp
+++ b/src/devices/machine/tms9901.cpp
@@ -574,6 +574,19 @@ void tms9901_device::device_stop(void)
void tms9901_device::device_reset(void)
{
+ do_reset();
+}
+
+/*
+ RST1 input line (active low; using ASSERT/CLEAR).
+*/
+WRITE_LINE_MEMBER( tms9901_device::rst1_line )
+{
+ if (state==ASSERT_LINE) do_reset();
+}
+
+void tms9901_device::do_reset()
+{
m_timer_int_pending = false;
m_enabled_ints = 0;