Next: Machine state commands, Previous: Monitor, Up: Monitor [Contents][Index]
This refers to the range of memory locations and a set of registers. This can be the addresses available to the computer’s processor, the disk drive’s processor or a specific memory configuration of one of the mentioned processors.
The CPU can only see 64KiB of memory at any one time, due to its 16 bit address bus. The C64 and other computers have more than this amount, and this is handled by banking: a memory address can have different contents, depending on the active memory bank. A bankname names a specific bank in the current address_space.
One of the following: program counter (PC), stack pointer (SP), accumulator (A), X register (X), or Y register (Y).
A specific memory location in the range $0000 to $FFFF.
Two addresses. If the second address is less than the first, the range is assumed to wraparound from $FFFF to $0000. Both addresses must be in the same address space.
An address or an address range.
label
is the name of a label. It must start with a dot (".")
in order for the monitor to recognize it as a label. Register names preceeded
by a dot (for example .PC
) are special labels that evaluate to value of
the respective register at the time it is used, and thus can not be used as
a regular label.
The prompt has the format [x:y]. If x is -, memory reads from the monitor do not have side effects. Otherwise, x is S. The second part of the prompt, y, shows the default address space.
The monitor has the ability to setup triggers that perform an action when a specified situation occurs. There are three types of checkpoints; breakpoints, tracepoints and watchpoints.
A breakpoint is triggered based on the program counter. When it is triggered, the monitor is entered.
Like breakpoints, a tracepoint is triggered based on the program counter. Instead of entering the monitor, the program counter is printed and execution continues.
Watchpoints are triggered by a read and/or write to an address. When a watchpoint is triggered, the monitor is entered.
The memmap keeps track of RAM/ROM/IO read/write/execute accesses. The feature must be enabled with "–enable-cpuhistory" configure option, as it might decrease performance notably on slower hardware. The option also enables CPU history.
A data type.
Zero or more occurrences.
An optional argument.
Next: Machine state commands, Previous: Monitor, Up: Monitor [Contents][Index]