summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/cpu/tms9900
diff options
context:
space:
mode:
author Lord-Nightmare <Lord-Nightmare@users.noreply.github.com>2016-09-27 18:05:19 -0400
committer Lord-Nightmare <Lord-Nightmare@users.noreply.github.com>2016-09-27 18:05:19 -0400
commite8d2853334d6779213352b2e7aa442d1ace45516 (patch)
treec7ede65dd03a891b33644fe2c3549aa6863cb02b /src/devices/cpu/tms9900
parent7f1bb873d19bc81907e800b2ab6ed00e82a79f28 (diff)
Revert "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]"
This reverts commit 1a186c8a3a16a7ce99d7df2dd217a7552b696c92.
Diffstat (limited to 'src/devices/cpu/tms9900')
-rw-r--r--src/devices/cpu/tms9900/ti990_10.cpp3
-rw-r--r--src/devices/cpu/tms9900/tms9900.cpp3
-rw-r--r--src/devices/cpu/tms9900/tms9995.cpp3
3 files changed, 3 insertions, 6 deletions
diff --git a/src/devices/cpu/tms9900/ti990_10.cpp b/src/devices/cpu/tms9900/ti990_10.cpp
index 01c2c57a87d..97510d1f610 100644
--- a/src/devices/cpu/tms9900/ti990_10.cpp
+++ b/src/devices/cpu/tms9900/ti990_10.cpp
@@ -62,8 +62,7 @@ void ti990_10_device::device_start()
// set our instruction counter
m_icountptr = &m_icount;
- state_add(STATE_GENPC, "GENPC", PC).formatstr("%4s").noshow();
- state_add(STATE_GENPCBASE, "CURPC", PC).formatstr("%4s").noshow();
+ state_add(STATE_GENPC, "curpc", PC).formatstr("%4s").noshow();
state_add(STATE_GENFLAGS, "status", m_state_any).callimport().callexport().formatstr("%16s").noshow();
}
diff --git a/src/devices/cpu/tms9900/tms9900.cpp b/src/devices/cpu/tms9900/tms9900.cpp
index 1962cc897f5..eab6ffc8007 100644
--- a/src/devices/cpu/tms9900/tms9900.cpp
+++ b/src/devices/cpu/tms9900/tms9900.cpp
@@ -233,8 +233,7 @@ void tms99xx_device::device_start()
// callexport = need to use the state_export method to read the state variable
state_add(i, s_statename[i], m_state_any).callimport().callexport().formatstr("%04X");
}
- state_add(STATE_GENPC, "GENPC", PC).formatstr("%4s").noshow();
- state_add(STATE_GENPCBASE, "CURPC", PC).formatstr("%4s").noshow();
+ state_add(STATE_GENPC, "curpc", PC).formatstr("%4s").noshow();
state_add(STATE_GENFLAGS, "status", m_state_any).callimport().callexport().formatstr("%16s").noshow();
build_command_lookup_table();
diff --git a/src/devices/cpu/tms9900/tms9995.cpp b/src/devices/cpu/tms9900/tms9995.cpp
index d8ffcda2337..52e482efaa5 100644
--- a/src/devices/cpu/tms9900/tms9995.cpp
+++ b/src/devices/cpu/tms9900/tms9995.cpp
@@ -264,8 +264,7 @@ void tms9995_device::device_start()
// callexport = need to use the state_export method to read the state variable
state_add(i, s_statename[i], m_state_any).callimport().callexport().formatstr("%04X");
}
- state_add(STATE_GENPC, "GENPC", PC_debug).formatstr("%4s").noshow();
- state_add(STATE_GENPCBASE, "CURPC", PC_debug).formatstr("%4s").noshow();
+ state_add(STATE_GENPC, "curpc", PC_debug).formatstr("%4s").noshow();
state_add(STATE_GENFLAGS, "status", m_state_any).callimport().callexport().formatstr("%16s").noshow();
// Set up the lookup table for command decoding