summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/cpu
diff options
context:
space:
mode:
author AJR <ajrhacker@users.noreply.github.com>2019-03-03 17:28:58 -0500
committer AJR <ajrhacker@users.noreply.github.com>2019-03-03 17:28:58 -0500
commitc7054c697a46d09a163a9e139d51b75b8631b486 (patch)
tree815993015bfcfcaf19095537d9245122a32755c1 /src/devices/cpu
parent156619b401e85bfe14f771a59bd8d0272fa257a4 (diff)
hpc: Debugging aid (nw)
Diffstat (limited to 'src/devices/cpu')
-rw-r--r--src/devices/cpu/hpc/hpc.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/devices/cpu/hpc/hpc.cpp b/src/devices/cpu/hpc/hpc.cpp
index 6cf5f30eb37..cdfbe43dc1a 100644
--- a/src/devices/cpu/hpc/hpc.cpp
+++ b/src/devices/cpu/hpc/hpc.cpp
@@ -93,6 +93,9 @@ void hpc_device::psw_w(u8 data)
void hpc_device::execute_run()
{
+ m_core_regs[1] = m_program->read_word(0xfffe);
+ debugger_instruction_hook(m_core_regs[1]);
+
m_icount = 0;
}