summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/cpu/tms1000/tms1000c.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/cpu/tms1000/tms1000c.cpp')
-rw-r--r--src/devices/cpu/tms1000/tms1000c.cpp18
1 files changed, 18 insertions, 0 deletions
diff --git a/src/devices/cpu/tms1000/tms1000c.cpp b/src/devices/cpu/tms1000/tms1000c.cpp
index b69a683f280..defc8482eef 100644
--- a/src/devices/cpu/tms1000/tms1000c.cpp
+++ b/src/devices/cpu/tms1000/tms1000c.cpp
@@ -52,3 +52,21 @@ u32 tms1000c_cpu_device::decode_micro(u8 sel)
return decode;
}
+
+
+// execute
+void tms1000c_cpu_device::execute_run()
+{
+ while (m_icount > 0)
+ {
+ if (m_halt_pin)
+ {
+ // not running (output pins remain unchanged)
+ m_icount = 0;
+ return;
+ }
+
+ m_icount--;
+ execute_one();
+ }
+}