1 |
|
/* |
2 |
|
* mon.cpp - mon main program |
3 |
|
* |
4 |
< |
* mon (C) 1997-1999 Christian Bauer, Marc Hellwig |
4 |
> |
* mon (C) 1997-2000 Christian Bauer, Marc Hellwig |
5 |
|
* |
6 |
|
* This program is free software; you can redistribute it and/or modify |
7 |
|
* it under the terms of the GNU General Public License as published by |
1062 |
|
mon_add_command("@", reallocate, "@ [size] Reallocate buffer\n"); |
1063 |
|
mon_add_command("i", ascii_dump, "i [start [end]] ASCII memory dump\n"); |
1064 |
|
mon_add_command("m", memory_dump, "m [start [end]] Hex/ASCII memory dump\n"); |
1065 |
+ |
mon_add_command("b", binary_dump, "b [start [end]] Binary memory dump\n"); |
1066 |
|
mon_add_command("d", disassemble_ppc, "d [start [end]] Disassemble PowerPC code\n"); |
1067 |
|
mon_add_command("d65", disassemble_6502, "d65 [start [end]] Disassemble 6502 code\n"); |
1068 |
|
mon_add_command("d68", disassemble_680x0, "d68 [start [end]] Disassemble 680x0 code\n"); |
1157 |
|
|
1158 |
|
// Print banner |
1159 |
|
if (interactive) |
1160 |
< |
fprintf(monerr, "\n *** mon V%d.%d by Christian Bauer and Marc Hellwig ***\n" |
1161 |
< |
" *** Press 'h' for help ***\n\n", MON_VERSION_MAJOR, MON_VERSION_MINOR); |
1160 |
> |
fprintf(monerr, "\n *** mon V" VERSION " by Christian Bauer and Marc Hellwig ***\n" |
1161 |
> |
" *** Press 'h' for help ***\n\n"); |
1162 |
|
} |
1163 |
|
|
1164 |
|
init_abort(); |