summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/devcpu.h
diff options
context:
space:
mode:
author Miodrag Milanovic <mmicko@gmail.com>2011-10-04 09:58:07 +0000
committer Miodrag Milanovic <mmicko@gmail.com>2011-10-04 09:58:07 +0000
commit6730bf8cc77123a52c12cb05f8b6c23730438fc7 (patch)
tree7d0b55907810110677c474bc5e33616ef5efe61e /src/emu/devcpu.h
parent9247583a1d71282540e24dbcefb1cb91aec2626d (diff)
Added a way to handle output for debug messages and debugger itself into octal too, and made
a few CPU's to give octal output by default. Note that for now just some functions things return octal, will add more, but since this change required clean compile better to put it sooner then later (no whatsnew)
Diffstat (limited to 'src/emu/devcpu.h')
-rw-r--r--src/emu/devcpu.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/emu/devcpu.h b/src/emu/devcpu.h
index f77ce912609..67abb12e5aa 100644
--- a/src/emu/devcpu.h
+++ b/src/emu/devcpu.h
@@ -88,6 +88,9 @@ enum
CPUINFO_INT_SP = CPUINFO_INT_REGISTER + STATE_GENSP, // R/W: the current stack pointer value
CPUINFO_INT_PC = CPUINFO_INT_REGISTER + STATE_GENPC, // R/W: the current PC value
CPUINFO_INT_PREVIOUSPC = CPUINFO_INT_REGISTER + STATE_GENPCBASE, // R/W: the previous PC value
+
+ CPUINFO_IS_OCTAL = CPUINFO_INT_REGISTER + MAX_REGS - 2, // R/O: determine if default is octal or hexadecimal
+
CPUINFO_INT_REGISTER_LAST = CPUINFO_INT_REGISTER + MAX_REGS - 1,
CPUINFO_INT_CPU_SPECIFIC = 0x08000, // R/W: CPU-specific values start here