diff options
author | 2016-09-27 14:24:33 +0100 | |
---|---|---|
committer | 2016-09-27 14:26:27 +0100 | |
commit | 1a186c8a3a16a7ce99d7df2dd217a7552b696c92 (patch) | |
tree | db6f7a7442ccc924049e3354c8cded6d62071ecd /src/devices/cpu/alto2/alto2cpu.cpp | |
parent | 3957d89e4466d87f86a42597a49db12a7c040520 (diff) |
Make sure all cpu's export STATE_GENPCBASE and use safe_pcbase() for everything in the debugger, which allows interruptible cpu's to work properly. [smf]
Diffstat (limited to 'src/devices/cpu/alto2/alto2cpu.cpp')
-rw-r--r-- | src/devices/cpu/alto2/alto2cpu.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/devices/cpu/alto2/alto2cpu.cpp b/src/devices/cpu/alto2/alto2cpu.cpp index 6ff87fd785b..74d0b07d8f8 100644 --- a/src/devices/cpu/alto2/alto2cpu.cpp +++ b/src/devices/cpu/alto2/alto2cpu.cpp @@ -989,7 +989,8 @@ void alto2_cpu_device::device_start() state_add( A2_OKTORUN, "OKTORUN", m_dsk.ok_to_run).formatstr("%1u"); state_add( A2_READY, "READY", m_dsk.kstat).formatstr("%1u"); - state_add(STATE_GENPC, "curpc", m_mpc).formatstr("%03X").noshow(); + state_add(STATE_GENPC, "GENPC", m_mpc).formatstr("%03X").noshow(); + state_add(STATE_GENPCBASE, "CURPC", m_mpc).formatstr("%03X").noshow(); state_add(STATE_GENFLAGS, "GENFLAGS", m_aluc0).formatstr("%5s").noshow(); m_icountptr = &m_icount; |