summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/cpu/tlcs900
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/cpu/tlcs900')
-rw-r--r--src/devices/cpu/tlcs900/tmp95c061.cpp4
-rw-r--r--src/devices/cpu/tlcs900/tmp95c063.cpp4
2 files changed, 4 insertions, 4 deletions
diff --git a/src/devices/cpu/tlcs900/tmp95c061.cpp b/src/devices/cpu/tlcs900/tmp95c061.cpp
index c2f5ea258cf..d297ba73fcf 100644
--- a/src/devices/cpu/tlcs900/tmp95c061.cpp
+++ b/src/devices/cpu/tlcs900/tmp95c061.cpp
@@ -650,7 +650,7 @@ void tmp95c061_device::tlcs900_handle_timers()
m_timer[0] += 1;
if ( m_timer[0] == m_t8_reg[0] )
{
- if ( ( m_t8_mode[0] & 0x0c ) == 0x00 )
+ if ( ( m_trun & 0x02 ) && ( m_t8_mode[0] & 0x0c ) == 0x00 )
{
m_timer_change[1] += 1;
}
@@ -727,7 +727,7 @@ void tmp95c061_device::tlcs900_handle_timers()
m_timer[2] += 1;
if ( m_timer[2] == m_t8_reg[2] )
{
- if ( ( m_t8_mode[1] & 0x0c ) == 0x00 )
+ if ( ( m_trun & 0x08 ) && ( m_t8_mode[1] & 0x0c ) == 0x00 )
{
m_timer_change[3] += 1;
}
diff --git a/src/devices/cpu/tlcs900/tmp95c063.cpp b/src/devices/cpu/tlcs900/tmp95c063.cpp
index ab30572ac16..90663eeaff3 100644
--- a/src/devices/cpu/tlcs900/tmp95c063.cpp
+++ b/src/devices/cpu/tlcs900/tmp95c063.cpp
@@ -268,7 +268,7 @@ void tmp95c063_device::tlcs900_handle_timers()
m_timer[0] += 1;
if ( m_timer[0] == m_t8_reg[0] )
{
- if ( ( m_t8_mode[0] & 0x0c ) == 0x00 )
+ if ( ( m_t8run & 0x02 ) && ( m_t8_mode[0] & 0x0c ) == 0x00 )
{
m_timer_change[1] += 1;
}
@@ -345,7 +345,7 @@ void tmp95c063_device::tlcs900_handle_timers()
m_timer[2] += 1;
if ( m_timer[2] == m_t8_reg[2] )
{
- if ( ( m_t8_mode[1] & 0x0c ) == 0x00 )
+ if ( ( m_t8run & 0x08 ) && ( m_t8_mode[1] & 0x0c ) == 0x00 )
{
m_timer_change[3] += 1;
}