summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/cpu/alto2/alto2cpu.cpp
diff options
context:
space:
mode:
author Vas Crabb <vas@vastheman.com>2018-03-28 05:25:15 +1100
committer Vas Crabb <vas@vastheman.com>2018-03-28 05:25:15 +1100
commit010155a3c51aa80dcf736b52ec89ffd890f795ef (patch)
treea732be4076a467e5dc25f088f9296544f364f858 /src/devices/cpu/alto2/alto2cpu.cpp
parent703564beccc92a6b6b33ab9562732a4e7ceaae8d (diff)
Reshuffle some stuff:
* Move around the debugger hooks to get a small but measurable performance increase * Remove emucore from external tools * Improve performance of DSP16 interpreter a little by generating six variants of execution loop
Diffstat (limited to 'src/devices/cpu/alto2/alto2cpu.cpp')
-rw-r--r--src/devices/cpu/alto2/alto2cpu.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/devices/cpu/alto2/alto2cpu.cpp b/src/devices/cpu/alto2/alto2cpu.cpp
index cfe4d1a2fc4..07c836e72ee 100644
--- a/src/devices/cpu/alto2/alto2cpu.cpp
+++ b/src/devices/cpu/alto2/alto2cpu.cpp
@@ -992,7 +992,7 @@ void alto2_cpu_device::device_start()
state_add(STATE_GENPCBASE, "CURPC", m_mpc).noshow();
state_add(STATE_GENFLAGS, "CURFLAGS", m_aluc0).formatstr("%5s").noshow();
- m_icountptr = &m_icount;
+ set_icountptr(m_icount);
}
//-------------------------------------------------
@@ -2318,7 +2318,7 @@ void alto2_cpu_device::execute_run()
m_rsel = rsel();
- debugger_instruction_hook(this, m_mpc);
+ debugger_instruction_hook(m_mpc);
m_cycle++;
if (f1() == f1_load_mar && check_mem_load_mar_stall(m_rsel)) {