Previous: Label commands, Up: Monitor [Contents][Index]

### 12.10 Miscellaneous commands

`; <text>`

  Add a comment to a file to be read by the monitor. For example:

      ; Set border and background to black
      > d020 00 00

`cartfreeze`

  Use cartridge freeze.

`cpu <type>`

  Specify the type of CPU currently used (6502/z80).

`exit`
`x`

  Leave the monitor and return to execution.

`export`
`exp`

  Print out list of attached expansion port devices.

`help [<command>]`

  If no argument is given, prints out a list of all available commands. If an argument is given, prints out specific help for that command.

`keybuf "<string>"`

  Put the specified string into the keyboard buffer. Note that you can specify specific keycodes by using C-style escaped hexcodes ("\x0a").

`print <expression>`
`p <expression>`

  Evaluate the specified expression and output the result.

`resourceget "<resource>"`
`resget "<resource>"`

  Displays the value of the `resource`.

`resourceset "<resource>" "<value>"`
`resset "<resource>" "<value>"`

  Sets the value of the `resource`.

`load_resources "<file>"`
`resload "<file>"`

  Load resources from `file`.

`save_resources "<file>"`
`ressave "<file>"`

  Save resources to `file`.

`screenshot "<filename>" [<format>]`
`scrsh "<filename>" [<format>]`

  Take a screenshot. `format`: default = BMP, 1 = PCX, 2 = PNG, 3 = GIF, 4 = IFF.

`tapectrl <command>`

  Control the datasette. `command`: 0 = stop, 1 = start, 2 = forward, 3 = rewind, 4 = record, 5 = reset, 6 = reset counter.

`quit`
`q`

  Exit the emulator immediately.

`~ <number>`

  Display the specified number in decimal, hex, octal and binary.