From 1dc85362347965b552bfd34be8c9af4948009a00 Mon Sep 17 00:00:00 2001 From: AJR Date: Thu, 18 Jun 2020 23:18:14 -0400 Subject: tlcs900: Misc. fixups (nw) --- src/devices/cpu/tlcs900/tlcs900.cpp | 2 ++ src/devices/cpu/tlcs900/tmp95c061.cpp | 2 ++ src/devices/cpu/tlcs900/tmp95c063.cpp | 2 ++ 3 files changed, 6 insertions(+) diff --git a/src/devices/cpu/tlcs900/tlcs900.cpp b/src/devices/cpu/tlcs900/tlcs900.cpp index 914257bee9e..fc7bbc5ceea 100644 --- a/src/devices/cpu/tlcs900/tlcs900.cpp +++ b/src/devices/cpu/tlcs900/tlcs900.cpp @@ -118,6 +118,8 @@ void tlcs900h_device::device_start() save_item( NAME(m_prefetch_clear) ); save_item( NAME(m_prefetch_index) ); save_item( NAME(m_prefetch) ); + save_item( NAME(m_halted) ); + save_item( NAME(m_regbank) ); state_add( TLCS900_PC, "PC", m_pc.d ).formatstr("%08X"); state_add( TLCS900_XWA0, "XWA0", m_xwa[0].d ).formatstr("%08X"); diff --git a/src/devices/cpu/tlcs900/tmp95c061.cpp b/src/devices/cpu/tlcs900/tmp95c061.cpp index 5486263028e..c2f5ea258cf 100644 --- a/src/devices/cpu/tlcs900/tmp95c061.cpp +++ b/src/devices/cpu/tlcs900/tmp95c061.cpp @@ -1261,6 +1261,7 @@ void tmp95c061_device::sc0buf_w(uint8_t data) { // Fake finish sending data m_int_reg[TMP95C061_INTES0] |= 0x80; + m_check_irqs = 1; } uint8_t tmp95c061_device::sc0cr_r() @@ -1305,6 +1306,7 @@ void tmp95c061_device::sc1buf_w(uint8_t data) { // Fake finish sending data m_int_reg[TMP95C061_INTES1] |= 0x80; + m_check_irqs = 1; } uint8_t tmp95c061_device::sc1cr_r() diff --git a/src/devices/cpu/tlcs900/tmp95c063.cpp b/src/devices/cpu/tlcs900/tmp95c063.cpp index d3ea2e08113..ab30572ac16 100644 --- a/src/devices/cpu/tlcs900/tmp95c063.cpp +++ b/src/devices/cpu/tlcs900/tmp95c063.cpp @@ -1250,6 +1250,7 @@ void tmp95c063_device::sc0buf_w(uint8_t data) { // Fake finish sending data m_int_reg[TMP95C063_INTES0] |= 0x80; + m_check_irqs = 1; } uint8_t tmp95c063_device::sc0cr_r() @@ -1294,6 +1295,7 @@ void tmp95c063_device::sc1buf_w(uint8_t data) { // Fake finish sending data m_int_reg[TMP95C063_INTES1] |= 0x80; + m_check_irqs = 1; } uint8_t tmp95c063_device::sc1cr_r() -- cgit v1.2.3