diff options
Diffstat (limited to 'src/devices/cpu/tms1000/tms1k_base.cpp')
-rw-r--r-- | src/devices/cpu/tms1000/tms1k_base.cpp | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/devices/cpu/tms1000/tms1k_base.cpp b/src/devices/cpu/tms1000/tms1k_base.cpp index b8afaa75246..8caa62493c7 100644 --- a/src/devices/cpu/tms1000/tms1k_base.cpp +++ b/src/devices/cpu/tms1000/tms1k_base.cpp @@ -220,6 +220,8 @@ void tms1k_base_device::device_reset() m_eac = 0; m_bl = 0; m_add = 0; + m_status = 0; + m_clatch = 0; m_opcode = 0; m_micro = 0; @@ -274,7 +276,7 @@ void tms1k_base_device::read_opcode() // i/o handling //------------------------------------------------- -void tms1k_base_device::write_o_output(uint8_t index) +void tms1k_base_device::write_o_output(u8 index) { // a hardcoded table is supported if the output pla is unknown m_o_index = index; @@ -282,7 +284,7 @@ void tms1k_base_device::write_o_output(uint8_t index) m_write_o(0, m_o & m_o_mask, 0xffff); } -uint8_t tms1k_base_device::read_k_input() +u8 tms1k_base_device::read_k_input() { // K1,2,4,8 (KC test pin is not emulated) return m_read_k(0, 0xff) & 0xf; @@ -343,7 +345,7 @@ void tms1k_base_device::op_call() // CALL/CALLL: conditional call if (m_status) { - uint8_t prev_pa = m_pa; + u8 prev_pa = m_pa; if (m_clatch == 0) { |