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/tms1000/tms1k_base.cpp | |
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/tms1000/tms1k_base.cpp')
-rw-r--r-- | src/devices/cpu/tms1000/tms1k_base.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/devices/cpu/tms1000/tms1k_base.cpp b/src/devices/cpu/tms1000/tms1k_base.cpp index 62ff54cdd0d..432e43e0d7b 100644 --- a/src/devices/cpu/tms1000/tms1k_base.cpp +++ b/src/devices/cpu/tms1000/tms1k_base.cpp @@ -226,7 +226,7 @@ void tms1k_base_device::device_start() state_add(STATE_GENPCBASE, "CURPC", m_rom_address).formatstr("%03X").noshow(); state_add(STATE_GENFLAGS, "GENFLAGS", m_sr).formatstr("%8s").noshow(); - m_icountptr = &m_icount; + set_icountptr(m_icount); } device_memory_interface::space_config_vector tms1k_base_device::memory_space_config() const @@ -295,7 +295,7 @@ void tms1k_base_device::next_pc() void tms1k_base_device::read_opcode() { - debugger_instruction_hook(this, m_rom_address); + debugger_instruction_hook(m_rom_address); m_opcode = m_program->read_byte(m_rom_address); m_c4 = bitswap<8>(m_opcode,7,6,5,4,0,1,2,3) & 0xf; // opcode operand is bitswapped for most opcodes |