The debugger can be entered by either using the -debug option at startup, or by pressing the F1 key during the emulation. This will bring the debug> prompt at the console. The following commands can be entered in the debugger:
Breakpoint command. Types are:
sl - scanline (antic starts draw at scanline 8 in my emu)
mem - memory address (hex value)
Watch command. The debugger will look for a change at address specifed by value and break at that point.
Delete breakpoint specified by value.
Start trace of CPU to file specified by file. BE CAREFUL! File will grow very quickly. Best used with breakpoints.
Stop trace of cpu and close file.
Print. Types are:
cpu - cpu registers
antic - antic registers
gtia - gtia registers
pokey - pokey registers
dlist - antic display list
mem value - memory from value
mem value addresses b - number of addresses of memory from value in binary form
Single step through cpu code.
Print debugger help.
Quit to the GUI.