====== MAME Debugger Code Annotation Commands ====== ===== comadd ===== **Syntax:** ''comadd[%%//%%]
,'' Adds a string to the disassembled code at
. The shortcut for this command is simply ''%%//%%''. **Examples:** * ''comadd 0, hello world.'' -- Adds the comment ''hello world.'' to the code at address ''0x0''. * ''%%//%% 10, undocumented opcode!'' -- Adds the comment ''undocumented opcode!'' to the code at address ''0x10''. ===== comsave ===== **Syntax:** ''comsave'' Saves the working comments to the driver's XML comment file. **Examples:** * ''comsave'' -- Saves the comments to the driver's comment file. ===== comdelete ===== **Syntax:** ''comdelete
'' Deletes the comment at the specified memory offset. The comment which is deleted is in the currently active memory bank. **Examples:** * ''comdelete 10'' -- Deletes the comment at code address ''0x10'' (using the current memory bank settings).