SCRYDOSBox-XReferenceMachineAlso in MAME
The Machine tools
These tools describe the DOS machine a session runs and read what it logs. machine_map and interrupt_vectors read the debugger's own listings, so they need the program stopped at the debugger. log and log_wait answer while it runs.
The log is the file start writes when given logfile. It holds the emulator's own lines and the program's: what a DOS program writes to port 0xE9, a debug port, is its log. log reads those lines when asked for guest, and a stop's reply shows the new ones as e9.
The tools
machine_mapGet the layout of the DOS machine at this stop: its memory blocks, device drivers, extended memory handles and the cpu's control registers.interrupt_vectorsSee which handler each interrupt vector points at, and which program, DOS block or BIOS block holds that handler.logRead the newest log lines that match a pattern: the program's, the emulator's, both, or the DOS calls the program made.log_waitWait until a log line matches a pattern, or get the line at once when the log already has it.