diff options
Diffstat (limited to 'src/emu/debug/debughlp.cpp')
-rw-r--r-- | src/emu/debug/debughlp.cpp | 82 |
1 files changed, 40 insertions, 42 deletions
diff --git a/src/emu/debug/debughlp.cpp b/src/emu/debug/debughlp.cpp index ee455bd84f8..8e5fa1b9c64 100644 --- a/src/emu/debug/debughlp.cpp +++ b/src/emu/debug/debughlp.cpp @@ -46,7 +46,7 @@ const help_item f_static_help_list[] = " Breakpoints\n" " Watchpoints\n" " Registerpoints\n" - " Exception Points\n" + " Exceptionpoints\n" " Expressions\n" " Comments\n" " Cheats\n" @@ -195,14 +195,14 @@ const help_item f_static_help_list[] = { "exceptionpoints", "\n" - "Exception Point Commands\n" + "Exceptionpoint Commands\n" "Type help <command> for further details on each command\n" "\n" - " ep[set] <type>[,<condition>[,<action>]] -- sets exception point on <type>\n" - " epclear [<epnum>] -- clears a given exception point or all if no <epnum> specified\n" - " epdisable [<epnum>] -- disabled a given exception point or all if no <epnum> specified\n" - " epenable [<epnum>] -- enables a given exception point or all if no <epnum> specified\n" - " eplist -- lists all the exception points\n" + " ep[set] <type>[,<condition>[,<action>]] -- sets exceptionpoint on <type>\n" + " epclear [<epnum>] -- clears a given exceptionpoint or all if no <epnum> specified\n" + " epdisable [<epnum>] -- disabled a given exceptionpoint or all if no <epnum> specified\n" + " epenable [<epnum>] -- enables a given exceptionpoint or all if no <epnum> specified\n" + " eplist -- lists all the exceptionpoints\n" }, { "expressions", @@ -359,16 +359,20 @@ const help_item f_static_help_list[] = "The printf command performs a C-style printf to the debugger console. Only a very limited set of " "formatting options are available:\n" "\n" - " %[0][<n>]d -- prints <item> as a decimal value with optional digit count and zero-fill\n" - " %[0][<n>]x -- prints <item> as a hexadecimal value with optional digit count and zero-fill\n" + " %c -- 8-bit character\n" + " %[-][0][<n>]d -- decimal number with optional left justification, zero fill and minimum width\n" + " %[-][0][<n>]o -- octal number with optional left justification, zero fill and minimum width\n" + " %[-][0][<n>]x -- lowercase hexadecimal number with optional left justification, zero fill and minimum width\n" + " %[-][0][<n>]X -- uppercase hexadecimal number with optional left justification, zero fill and minimum width\n" + " %[-][<n>][.[<n>]]s -- null-terminated string of 8-bit characters with optional left justification, minimum and maximum width\n" "\n" - "All remaining formatting options are ignored. Use %% together to output a % character. Multiple " - "lines can be printed by embedding a \\n in the text.\n" + "All remaining formatting options are ignored. Use %% to output a % character. Multiple lines can be " + "printed by embedding a \\n in the text.\n" "\n" "Examples:\n" "\n" "printf \"PC=%04X\",pc\n" - " Prints PC=<pcval> where <pcval> is displayed in hexadecimal with 4 digits with zero-fill.\n" + " Prints PC=<pcval> where <pcval> is displayed in uppercase hexadecimal with 4 digits and zero fill.\n" "\n" "printf \"A=%d, B=%d\\nC=%d\",a,b,a+b\n" " Prints A=<aval>, B=<bval> on one line, and C=<a+bval> on a second line.\n" @@ -379,18 +383,12 @@ const help_item f_static_help_list[] = " logerror <format>[,<item>[,...]]\n" "\n" "The logerror command performs a C-style printf to the error log. Only a very limited set of " - "formatting options are available:\n" - "\n" - " %[0][<n>]d -- logs <item> as a decimal value with optional digit count and zero-fill\n" - " %[0][<n>]x -- logs <item> as a hexadecimal value with optional digit count and zero-fill\n" - "\n" - "All remaining formatting options are ignored. Use %% together to output a % character. Multiple " - "lines can be printed by embedding a \\n in the text.\n" + "formatting options are available. See the 'printf' help for details.\n" "\n" "Examples:\n" "\n" - "logerror \"PC=%04X\",pc\n" - " Logs PC=<pcval> where <pcval> is displayed in hexadecimal with 4 digits with zero-fill.\n" + "logerror \"PC=%04x\",pc\n" + " Logs PC=<pcval> where <pcval> is displayed in lowercase hexadecimal with 4 digits and zero fill.\n" "\n" "logerror \"A=%d, B=%d\\nC=%d\",a,b,a+b\n" " Logs A=<aval>, B=<bval> on one line, and C=<a+bval> on a second line.\n" @@ -1594,12 +1592,12 @@ const help_item f_static_help_list[] = "\n" " ep[set] <type>[,<condition>[,<action>]]\n" "\n" - "Sets a new exception point for exceptions of type <type> on the currently visible CPU. " + "Sets a new exceptionpoint for exceptions of type <type> on the currently visible CPU. " "The optional <condition> parameter lets you specify an expression that will be evaluated " - "each time the exception point is hit. If the result of the expression is true (non-zero), " - "the exception point will actually halt execution at the start of the exception handler; " + "each time the exceptionpoint is hit. If the result of the expression is true (non-zero), " + "the exceptionpoint will actually halt execution at the start of the exception handler; " "otherwise, execution will continue with no notification. The optional <action> parameter " - "provides a command that is executed whenever the exception point is hit and the " + "provides a command that is executed whenever the exceptionpoint is hit and the " "<condition> is true. Note that you may need to embed the action within braces { } in order " "to prevent commas and semicolons from being interpreted as applying to the epset command " "itself.\n" @@ -1608,8 +1606,8 @@ const help_item f_static_help_list[] = "internally or externally vectored interrupts, errors occurring within instructions and " "system calls.\n" "\n" - "Each exception point that is set is assigned an index which can be used in other " - "exception point commands to reference this exception point.\n" + "Each exceptionpoint that is set is assigned an index which can be used in other " + "exceptionpoint commands to reference this exceptionpoint.\n" "\n" "Examples:\n" "\n" @@ -1622,57 +1620,57 @@ const help_item f_static_help_list[] = "\n" " epclear [<epnum>[,...]]\n" "\n" - "The epclear command clears exception points. If <epnum> is specified, only the requested " - "exception points are cleared, otherwise all exception points are cleared.\n" + "The epclear command clears exceptionpoints. If <epnum> is specified, only the requested " + "exceptionpoints are cleared, otherwise all exceptionpoints are cleared.\n" "\n" "Examples:\n" "\n" "epclear 3\n" - " Clear exception point index 3.\n" + " Clear exceptionpoint index 3.\n" "\n" "epclear\n" - " Clear all exception points.\n" + " Clear all exceptionpoints.\n" }, { "epdisable", "\n" " epdisable [<epnum>[,...]]\n" "\n" - "The epdisable command disables exception points. If <epnum> is specified, only the requested " - "exception points are disabled, otherwise all exception points are disabled. Note that " - "disabling an exception point does not delete it, it just temporarily marks the exception " - "point as inactive.\n" + "The epdisable command disables exceptionpoints. If <epnum> is specified, only the requested " + "exceptionpoints are disabled, otherwise all exceptionpoints are disabled. Note that " + "disabling an exceptionpoint does not delete it, it just temporarily marks the " + "exceptionpoint as inactive.\n" "\n" "Examples:\n" "\n" "epdisable 3\n" - " Disable exception point index 3.\n" + " Disable exceptionpoint index 3.\n" "\n" "epdisable\n" - " Disable all exception points.\n" + " Disable all exceptionpoints.\n" }, { "epenable", "\n" " epenable [<epnum>[,...]]\n" "\n" - "The epenable command enables exception points. If <epnum> is specified, only the " - "requested exception points are enabled, otherwise all exception points are enabled.\n" + "The epenable command enables exceptionpoints. If <epnum> is specified, only the " + "requested exceptionpoints are enabled, otherwise all exceptionpoints are enabled.\n" "\n" "Examples:\n" "\n" "epenable 3\n" - " Enable exception point index 3.\n" + " Enable exceptionpoint index 3.\n" "\n" "epenable\n" - " Enable all exception points.\n" + " Enable all exceptionpoints.\n" }, { "eplist", "\n" " eplist\n" "\n" - "The eplist command lists all the current exception points, along with their index and " + "The eplist command lists all the current exceptionpoints, along with their index and " "any conditions or actions attached to them.\n" }, { |