Next: Machine state commands, Previous: Monitor, Up: Monitor [Contents][Index]

### 12.1 Terminology

‘`address_space`’

  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.

‘`bankname`’

  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.

‘`register`’

  One of the following: program counter (PC), stack pointer (SP), accumulator (A), X register (X), or Y register (Y).

‘`address`’

  A specific memory location in the range $0000 to $FFFF.

‘`address_range`’

  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.

‘`address_opt_range`’

  An address or an address range.

‘`label`’

  `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.

‘`prompt`’

  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.

‘`checkpoint`’

  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.

‘`breakpoint`’

  A breakpoint is triggered based on the program counter. When it is triggered, the monitor is entered.

‘`tracepoint`’

  Like breakpoints, a tracepoint is triggered based on the program counter. Instead of entering the monitor, the program counter is printed and execution continues.

‘`watchpoint`’

  Watchpoints are triggered by a read and/or write to an address. When a watchpoint is triggered, the monitor is entered.

‘`memmap`’

  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]