Enable the monitor by using -m on the command line.
NOTE: This document needs an update as it is no longer correct.
The arguments for address and value are decimal values, or other values using the following prefixes:
- `$` or `0x`: hexadecimal
- `%` or `0b`: binary
Examples:
monitor> poke $1234 10
monitor> poke $1234 $0a
monitor> poke $1234 %1010
Typing in a number at the monitor prompt will show the value in decimal, hexadecimal, and binary.
Examples:
monitor> 129
129 $81 %10000001
List all active breakpoint addresses.
Clear the breakpoint at address.
Clear all breakpoints.
Set a breakpoint at address. The CPU will be stopped before executing the instruction at this address.
Show the CPU status (registers and flags)
List available registers
Show the value for the register with the given name
Set the value for the register with the given name
List available flags
Show the value for the flag with the given name
Set the value for the flag with the given name
Disassemble code from start_address to end_address. If end_address is not specified, disassemble an amount specified with the dasm lines
command. If start_address is not specified, continue from the last disassembly.
Show the number of lines disassembled when an end address is not specified. A value of 0 means to disassemble an amount of lines that fit on the screen.
Set the number of lines disassembled to count when an end address is not specified. A value of 0 means to disassemble an amount of lines that fit on the screen.
Go. Start execution of the processors.
Load state that was saved with the save
command with the given name. If name isn't specified, state
is used.
Dump memory from start_address to end_address. If end_address is not specified, sump an amount specified with the mem lines
command. If start_address is not specified, continue from the last dump.
List the character encodings available for display when dumping memory.
Set the character encoding, with the given name, used when dumping memory.
Fill memory from start_address to end_address with value.
Show the number of lines dumped when an end address is not specified. The default value is to dump a page.
Set the number of lines dumped to count when an end address is not specified.
Pause the execution of all processors.
Set the memory address with the given value
Show the memory value at address
Exit.
Display the CPU status (registers and flags)
Save the current state with the given name. If name is not specified, state
is used. Use load to restore to this state.
Toggle the tracing of instruction execution.
Watch all active memory watches.
Clear the watch at address.
Clear all watches.
Set a watch for address. Mode is either r for reads, w for writes, rw for reads and writes.
Stop all logging output.