SCRYMAMEReferenceCommentsAlso in DOSBox-X
The Comments tools
A comment is one line of text on an address of the program. The server saves it with the breakpoints and watches and feeds it to MAME's own disassembly, and a stop's instruction carries it as comment.
MAME's disassembly is a view of the saved comments, never the record. A comment is saved first; one the view cannot show stays saved and reads unarmable, with the reason in why.
By symbol a comment follows the symbol through a rebuild; by address it goes stale once the build changes. The file a project keeps them in is described in REFERENCE.md, Breakpoints and watches.
The tools
comment_listList every saved comment, or one cpu's, each with its address and whether MAME's disassembly shows it.comment_writeChange the saved comments: add or delete one, or save them all to a file and load them back.