SCRYDOSBox-XReferenceReadAlso in MAME
The Read tools
These tools read the program without writing to it: bytes of memory, the registers, the code at an address, the calls that led to a stop. They need the program stopped at the debugger; while it runs they refuse (not_stopped), except where an entry says otherwise. That refusal carries last_stop and names the tools that still answer.
An address is a ref: a symbol, once symbols_load has loaded a table, or a SEG:OFF pair such as 0814:0106. A bare number is taken as a symbol.
Each tool reads what DOSBox-X's debugger prints for one command, and refuses an answer in a shape it does not know (unexpected_answer). For what these tools do not cover, debug sends the debugger a command as typed.
The tools
registersRead the cpu's registers, now or as they were at the last stop.read_memoryRead a few bytes of memory at an address, as hex text.disassembleDisassemble the code at an address, one instruction a line, each marked as a call, a branch, a return or none of those.call_stackGuess the chain of calls that led to the stop, by following the frame pointers on the stack.memdumpWrite a range of memory to a file, for ranges too large to read into the conversation.findFind every address in a range of memory that holds a given sequence of bytes.screen_map_findName the screen your program is showing, from its screen map: a file of the program's screens and the named areas of each.screen_map_writeBuild the screen map, the file that names your program's screens and their areas: add the screen showing, load a file, or save one.