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/pdp1 | |
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/pdp1')
-rw-r--r-- | src/devices/cpu/pdp1/pdp1.cpp | 1 | ||||
-rw-r--r-- | src/devices/cpu/pdp1/tx0.cpp | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/src/devices/cpu/pdp1/pdp1.cpp b/src/devices/cpu/pdp1/pdp1.cpp index 7489d974911..ded99a2d80d 100644 --- a/src/devices/cpu/pdp1/pdp1.cpp +++ b/src/devices/cpu/pdp1/pdp1.cpp @@ -640,6 +640,7 @@ void pdp1_device::device_start() state_add( PDP1_IOS, "IOS", m_ios).mask(1).formatstr("%1X"); state_add( STATE_GENPC, "GENPC", m_pc ).noshow(); + state_add( STATE_GENPCBASE, "CURPC", m_pc ).noshow(); state_add( STATE_GENFLAGS, "GENFLAGS", m_pf ).formatstr("%13s").noshow(); m_icountptr = &m_icount; diff --git a/src/devices/cpu/pdp1/tx0.cpp b/src/devices/cpu/pdp1/tx0.cpp index 7a966a04e9d..1f6ee61e6cd 100644 --- a/src/devices/cpu/pdp1/tx0.cpp +++ b/src/devices/cpu/pdp1/tx0.cpp @@ -209,6 +209,7 @@ void tx0_device::device_start() state_add( TX0_IOS, "IOS", m_ios ).mask(1) .formatstr("%1X"); state_add(STATE_GENPC, "GENPC", m_pc).formatstr("0%06O").noshow(); + state_add(STATE_GENPCBASE, "CURPC", m_pc).formatstr("0%06O").noshow(); state_add(STATE_GENFLAGS, "GENFLAGS", m_ir).noshow(); m_icountptr = &m_icount; |