summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
author hap <happppp@users.noreply.github.com>2017-04-19 01:33:06 +0200
committer hap <happppp@users.noreply.github.com>2017-04-19 01:33:28 +0200
commit17baaeff759ff149e8f13b14c7b5b55ee8ab494c (patch)
tree730b60ce73b0e9bbadebf981b70d70638be49efb
parent298e2ba13c89461f4d795ef8dc1f350686d2b1d0 (diff)
sm510: fixed ATPL opcode (nw)
-rw-r--r--src/devices/cpu/sm510/sm510op.cpp2
-rw-r--r--src/mame/drivers/ticalc1x.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/devices/cpu/sm510/sm510op.cpp b/src/devices/cpu/sm510/sm510op.cpp
index 7a232b667cc..f0a32851708 100644
--- a/src/devices/cpu/sm510/sm510op.cpp
+++ b/src/devices/cpu/sm510/sm510op.cpp
@@ -116,7 +116,7 @@ void sm510_base_device::op_decb()
void sm510_base_device::op_atpl()
{
// ATPL: load Pl(PC low bits) with ACC
- m_pc = (m_pc & ~0xf) | m_acc;
+ m_pc = (m_prev_pc & ~0xf) | m_acc;
}
void sm510_base_device::op_rtn0()
diff --git a/src/mame/drivers/ticalc1x.cpp b/src/mame/drivers/ticalc1x.cpp
index 453bcd141d9..1eba0fbc10b 100644
--- a/src/mame/drivers/ticalc1x.cpp
+++ b/src/mame/drivers/ticalc1x.cpp
@@ -570,7 +570,7 @@ MACHINE_CONFIG_END
/***************************************************************************
TI-2550 III/TI-1265 (both have same chip)
- * TMS1040 MCU label TMS1043NL ZA0352 (die label ?)
+ * TMS1040 MCU label TMS1043NL ZA0352 (die label 1040A, 1043A)
* 9-digit cyan VFD display
***************************************************************************/