summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/debug/debughlp.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/emu/debug/debughlp.cpp')
-rw-r--r--src/emu/debug/debughlp.cpp18
1 files changed, 18 insertions, 0 deletions
diff --git a/src/emu/debug/debughlp.cpp b/src/emu/debug/debughlp.cpp
index eaf77a1e59c..d397c726f15 100644
--- a/src/emu/debug/debughlp.cpp
+++ b/src/emu/debug/debughlp.cpp
@@ -227,6 +227,7 @@ static const help_item static_help_list[] =
" comdelete <address> -- removes a comment from the given address\n"
" comsave -- save the current comments to a file\n"
" comlist -- print currently avaliable comments from file\n"
+ " commit[/*] <address>,<comment> -- gives a bulk comadd then comsave command\n"
"\n"
},
{
@@ -1253,6 +1254,23 @@ static const help_item static_help_list[] =
"\n"
},
{
+ "commit",
+ "\n"
+ " commit[/*] <address>,<comment>\n"
+ "\n"
+ "Adds a string <comment> to the disassembled code at <address> then saves to file. Basically same as comadd + comsave via a single line.\n"
+ "The shortcut for this command is simply '/*'\n"
+ "\n"
+ "Examples:\n"
+ "\n"
+ "commit 0, hello world.\n"
+ " Adds the comment 'hello world.' to the code at address 0x0\n"
+ "\n"
+ "/* 10, undocumented opcode!\n"
+ " Adds the comment 'undocumented opcode!' to the code at address 0x10\n"
+ "\n"
+ },
+ {
"comsave",
"\n"
" comsave\n"