diff options
author | 2018-03-28 05:25:15 +1100 | |
---|---|---|
committer | 2018-03-28 05:25:15 +1100 | |
commit | 010155a3c51aa80dcf736b52ec89ffd890f795ef (patch) | |
tree | a732be4076a467e5dc25f088f9296544f364f858 /src/devices/cpu/pdp1 | |
parent | 703564beccc92a6b6b33ab9562732a4e7ceaae8d (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/pdp1')
-rw-r--r-- | src/devices/cpu/pdp1/pdp1.cpp | 4 | ||||
-rw-r--r-- | src/devices/cpu/pdp1/tx0.cpp | 6 |
2 files changed, 5 insertions, 5 deletions
diff --git a/src/devices/cpu/pdp1/pdp1.cpp b/src/devices/cpu/pdp1/pdp1.cpp index 5f56755d6df..a8704ad29d3 100644 --- a/src/devices/cpu/pdp1/pdp1.cpp +++ b/src/devices/cpu/pdp1/pdp1.cpp @@ -649,7 +649,7 @@ void pdp1_device::device_start() state_add( STATE_GENPCBASE, "CURPC", m_pc ).noshow(); state_add( STATE_GENFLAGS, "GENFLAGS", m_pf ).formatstr("%13s").noshow(); - m_icountptr = &m_icount; + set_icountptr(m_icount); /* reset CPU flip-flops */ pulse_start_clear(); @@ -796,7 +796,7 @@ void pdp1_device::execute_run() { do { - debugger_instruction_hook(this, PC); + debugger_instruction_hook(PC); /* ioh should be cleared at the end of the instruction cycle, and ios at the diff --git a/src/devices/cpu/pdp1/tx0.cpp b/src/devices/cpu/pdp1/tx0.cpp index b4c3c693675..99636fcb9c2 100644 --- a/src/devices/cpu/pdp1/tx0.cpp +++ b/src/devices/cpu/pdp1/tx0.cpp @@ -220,7 +220,7 @@ void tx0_device::device_start() state_add(STATE_GENPCBASE, "CURPC", m_pc).formatstr("0%06O").noshow(); state_add(STATE_GENFLAGS, "GENFLAGS", m_ir).noshow(); - m_icountptr = &m_icount; + set_icountptr(m_icount); } @@ -255,7 +255,7 @@ void tx0_64kw_device::execute_run() { do { - debugger_instruction_hook(this, PC); + debugger_instruction_hook(PC); if (m_ioh && m_ios) @@ -358,7 +358,7 @@ void tx0_8kw_device::execute_run() { do { - debugger_instruction_hook(this, PC); + debugger_instruction_hook(PC); if (m_ioh && m_ios) |