diff options
author | 2019-03-25 23:13:40 +0100 | |
---|---|---|
committer | 2019-03-25 23:13:40 +0100 | |
commit | b380514764cf857469bae61c11143a19f79a74c5 (patch) | |
tree | 63c8012e262618f08a332da31dd714281aa2c5ed /src/devices/cpu/tms1000/tms1000c.cpp | |
parent | c24473ddff715ecec2e258a6eb38960cf8c8e98e (diff) |
Revert "conflict resolution (nw)"
This reverts commit c24473ddff715ecec2e258a6eb38960cf8c8e98e, reversing
changes made to 009cba4fb8102102168ef32870892438327f3705.
Diffstat (limited to 'src/devices/cpu/tms1000/tms1000c.cpp')
-rw-r--r-- | src/devices/cpu/tms1000/tms1000c.cpp | 18 |
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(); + } +} |