mirror of
https://github.com/digarok/gsplus.git
synced 2024-11-24 06:34:02 +00:00
formatting of debug commands
This commit is contained in:
parent
58e3cf1579
commit
d85bd0790f
19
src/dis.c
19
src/dis.c
@ -107,14 +107,14 @@ get_num()
|
|||||||
void
|
void
|
||||||
debugger_help()
|
debugger_help()
|
||||||
{
|
{
|
||||||
printf("GSport Debugger help (courtesy Fredric Devernay\n");
|
printf("GSplus Debugger Help (courtesy Fredric Devernay)\n\n");
|
||||||
printf("General command syntax: [bank]/[address][command]\n");
|
printf("General command syntax:\n");
|
||||||
printf("e.g. 'e1/0010B' to set a breakpoint at the interrupt jump pt\n");
|
printf(" [bank]/[address][command]\n\n");
|
||||||
printf("Enter all addresses using lower-case\n");
|
printf("Example: > e1/0010B Set a Breakpoint at the interrupt jump pt\n\n");
|
||||||
|
printf("Enter all addresses using lower-case.\n");
|
||||||
printf("As with the IIgs monitor, you can omit the bank number after\n");
|
printf("As with the IIgs monitor, you can omit the bank number after\n");
|
||||||
printf("having set it: 'e1/0010B' followed by '14B' will set\n");
|
printf("having set it: 'e1/0010B' followed by '14B' will set breakpoints\n");
|
||||||
printf("breakpoints at e1/0010 and e1/0014\n");
|
printf("at e1/0010 and e1/0014\n\n");
|
||||||
printf("\n");
|
|
||||||
printf(" g Go\n");
|
printf(" g Go\n");
|
||||||
printf(" [bank]/[addr]g Go from [bank]/[address]\n");
|
printf(" [bank]/[addr]g Go from [bank]/[address]\n");
|
||||||
printf(" s Step one instruction\n");
|
printf(" s Step one instruction\n");
|
||||||
@ -122,9 +122,8 @@ debugger_help()
|
|||||||
printf(" [bank]/[addr]B Set breakpoint at [bank]/[address]\n");
|
printf(" [bank]/[addr]B Set breakpoint at [bank]/[address]\n");
|
||||||
printf(" B Show all breakpoints\n");
|
printf(" B Show all breakpoints\n");
|
||||||
printf(" [bank]/[addr]D Delete breakpoint at [bank]/[address]\n");
|
printf(" [bank]/[addr]D Delete breakpoint at [bank]/[address]\n");
|
||||||
printf("[bank]/[addr1].[addr2] View memory\n");
|
printf(" [bank]/[addr].[addr2] View memory\n");
|
||||||
printf(" [bank]/[addr]L Disassemble memory\n");
|
printf(" [bank]/[addr]L Disassemble memory\n");
|
||||||
|
|
||||||
printf(" P Dump the trace to 'pc_log_out'\n");
|
printf(" P Dump the trace to 'pc_log_out'\n");
|
||||||
printf(" Z Dump SCC state\n");
|
printf(" Z Dump SCC state\n");
|
||||||
printf(" I Dump IWM state\n");
|
printf(" I Dump IWM state\n");
|
||||||
@ -151,7 +150,7 @@ debugger_help()
|
|||||||
printf("[bank]/[addr1].[addr2]us[file] Save mem area to [file]\n");
|
printf("[bank]/[addr1].[addr2]us[file] Save mem area to [file]\n");
|
||||||
printf("[bank]/[addr1].[addr2]ul[file] Load mem area from [file]\n");
|
printf("[bank]/[addr1].[addr2]ul[file] Load mem area from [file]\n");
|
||||||
printf(" v Show video information\n");
|
printf(" v Show video information\n");
|
||||||
printf("q Exit Debugger (and GSport)\n");
|
printf(" q Quit Debugger (and GSplus)\n");
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
|
Loading…
Reference in New Issue
Block a user