summaryrefslogtreecommitdiffstatshomepage
path: root/trunk/src/emu/debug/debugcmd.h
diff options
context:
space:
mode:
Diffstat (limited to 'trunk/src/emu/debug/debugcmd.h')
-rw-r--r--trunk/src/emu/debug/debugcmd.h38
1 files changed, 38 insertions, 0 deletions
diff --git a/trunk/src/emu/debug/debugcmd.h b/trunk/src/emu/debug/debugcmd.h
new file mode 100644
index 00000000000..0944df45f89
--- /dev/null
+++ b/trunk/src/emu/debug/debugcmd.h
@@ -0,0 +1,38 @@
+/*********************************************************************
+
+ debugcmd.h
+
+ Debugger command interface engine.
+
+ Copyright Nicola Salmoria and the MAME Team.
+ Visit http://mamedev.org for licensing and usage restrictions.
+
+*********************************************************************/
+
+#ifndef __DEBUGCMD_H__
+#define __DEBUGCMD_H__
+
+
+/***************************************************************************
+ FUNCTION PROTOTYPES
+***************************************************************************/
+
+/* ----- initialization ----- */
+
+/* initializes the command system */
+void debug_command_init(running_machine &machine);
+
+
+
+/* ----- parameter validation ----- */
+
+/* validates a number parameter */
+int debug_command_parameter_number(running_machine &machine, const char *param, UINT64 *result);
+
+/* validates a parameter as a cpu */
+int debug_command_parameter_cpu(running_machine &machine, const char *param, device_t **result);
+
+/* validates a parameter as a cpu and retrieves the given address space */
+int debug_command_parameter_cpu_space(running_machine &machine, const char *param, int spacenum, address_space **result);
+
+#endif