summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
author smf- <smf-@users.noreply.github.com>2016-10-19 14:33:32 +0100
committer smf- <smf-@users.noreply.github.com>2016-10-19 14:33:52 +0100
commitca6f939ebcdb0ba9b2491f339f760b2a2f744c45 (patch)
treeed54d18f05207280796fd897af1be7f9b0383885
parent48ac8f42a552047027bc1c575f6a6e45563f0f05 (diff)
disassembly window fixes (nw)
-rw-r--r--src/devices/cpu/alph8201/alph8201.cpp1
-rw-r--r--src/devices/cpu/apexc/apexc.cpp1
-rw-r--r--src/devices/cpu/i86/i186.cpp2
-rw-r--r--src/devices/cpu/pdp8/pdp8.cpp2
-rw-r--r--src/devices/cpu/sharc/sharc.cpp2
5 files changed, 5 insertions, 3 deletions
diff --git a/src/devices/cpu/alph8201/alph8201.cpp b/src/devices/cpu/alph8201/alph8201.cpp
index 8fa4f51e762..4a30d6f96c0 100644
--- a/src/devices/cpu/alph8201/alph8201.cpp
+++ b/src/devices/cpu/alph8201/alph8201.cpp
@@ -416,6 +416,7 @@ void alpha8201_cpu_device::device_start()
state_add( ALPHA8201_R5, "R5", m_R[5] ).callimport().callexport().formatstr("%02X");
state_add( ALPHA8201_R6, "R6", m_R[6] ).callimport().callexport().formatstr("%02X");
state_add( ALPHA8201_R7, "R7", m_R[7] ).callimport().callexport().formatstr("%02X");
+ state_add(STATE_GENPCBASE, "PC", m_PREVPC).noshow();
save_item(NAME(m_RAM));
save_item(NAME(m_PREVPC));
diff --git a/src/devices/cpu/apexc/apexc.cpp b/src/devices/cpu/apexc/apexc.cpp
index 56d29e65415..5d367d33667 100644
--- a/src/devices/cpu/apexc/apexc.cpp
+++ b/src/devices/cpu/apexc/apexc.cpp
@@ -776,6 +776,7 @@ void apexc_cpu_device::device_start()
state_add( APEXC_STATE, "CPU state", m_running ).mask(0x01);
state_add( APEXC_PC, "PC", m_pc ).callimport().callexport().formatstr("%03X");
state_add( APEXC_ML_FULL, "ML_FULL", m_ml_full ).callimport().callexport().noshow();
+ state_add(STATE_GENPCBASE, "CURPC", m_pc).noshow();
m_icountptr = &m_icount;
}
diff --git a/src/devices/cpu/i86/i186.cpp b/src/devices/cpu/i86/i186.cpp
index 428b1214052..00f3356f05d 100644
--- a/src/devices/cpu/i86/i186.cpp
+++ b/src/devices/cpu/i86/i186.cpp
@@ -556,7 +556,7 @@ void i80186_cpu_device::device_start()
state_add( I8086_VECTOR, "V", m_int_vector).callimport().callexport().formatstr("%02X");
state_add(STATE_GENPC, "GENPC", m_pc).formatstr("%05X");
- state_add(STATE_GENPC, "CURPC", m_pc).formatstr("%05X");
+ state_add(STATE_GENPCBASE, "CURPC", m_pc).formatstr("%05X");
// register for savestates
save_item(NAME(m_timer[0].control));
diff --git a/src/devices/cpu/pdp8/pdp8.cpp b/src/devices/cpu/pdp8/pdp8.cpp
index d65f4dc7cfe..747bea2ffb9 100644
--- a/src/devices/cpu/pdp8/pdp8.cpp
+++ b/src/devices/cpu/pdp8/pdp8.cpp
@@ -73,7 +73,7 @@ void pdp8_device::device_start()
// register our state for the debugger
state_add(STATE_GENPC, "GENPC", m_pc).noshow();
- state_add(STATE_CURPC, "CURPC", m_pc).noshow();
+ state_add(STATE_GENPCBASE, "CURPC", m_pc).noshow();
state_add(STATE_GENFLAGS, "GENFLAGS", m_l).callimport().callexport().formatstr("%1s").noshow();
state_add(PDP8_PC, "PC", m_pc).mask(0xfff);
state_add(PDP8_AC, "AC", m_ac).mask(0xfff);
diff --git a/src/devices/cpu/sharc/sharc.cpp b/src/devices/cpu/sharc/sharc.cpp
index ef6eed4f614..00e28dfafc7 100644
--- a/src/devices/cpu/sharc/sharc.cpp
+++ b/src/devices/cpu/sharc/sharc.cpp
@@ -760,7 +760,7 @@ void adsp21062_device::device_start()
state_add( SHARC_B15, "B15", m_core->dag2.b[7]).formatstr("%08X");
state_add( STATE_GENPC, "GENPC", m_core->pc).noshow();
- state_add( STATE_GENPC, "CURPC", m_core->pc).noshow();
+ state_add( STATE_GENPCBASE, "CURPC", m_core->pc).noshow();
m_icountptr = &m_core->icount;
}