Next: Command file commands, Previous: General commands, Up: Monitor [Contents][Index]

### 12.7 Disk commands

`attach <filename> <device>`

  Attach file to device. (device 32 = cart)

`block_read <track> <sector> [<address>]`
`br <track> <sector> [<address>]`

  Read the block at the specified track and sector. If an address is specified, the data is loaded into memory. If no address is given, the data is displayed using the default datatype.

`block_write <track> <sector> <address>`
`bw <track> <sector> <address>`

  Write a block of data at `address` to the specified track and sector of disk in drive 8.

`detach <device>`

  Detach file from device. (device 32 = cart)

`@<disk command>`

  Perform a disk command on the currently attached disk image on drive 8. The specified disk command is sent to the drive’s channel #15.

`list [<directory>]`

  List disk contents.

`load "<filename>" <device> [<address>]`
`l "<filename>" <device> [<address>]`

  Load the specified file into memory. If no address is given, the file is loaded to the address specified by the first two bytes read from the file. If address is given, the file is loaded to the specified address and the first two bytes read from the file are skipped. If device is 0, the file is read from the file system.

`bload "<filename>" <device> <address>`
`bl "<filename>" <device> <address>`

  Load the specified file into memory at the specified address. If device is 0, the file is read from the file system.

`save "<filename>" <device> <address1> <address2>`
`s "<filename>" <device> <address1> <address2>`

  Save the memory from address1 to address2 to the specified file. Write two-byte load address. If device is 0, the file is written to the file system.

`bsave "<filename>" <device> <address1> <address2>`
`bs "<filename>" <device> <address1> <address2>`

  Save the memory from address1 to address2 to the specified file. If device is 0, the file is written to the file system.

`verify "<filename>" <device> [<address>]`
`v "<filename>" <device> [<address>]`

  Compare the specified file with memory. If no address is given, the address is specified by the first two bytes read from the file. If address is given, the specified address is used and the first two bytes read from the file are skipped. If device is 0, the file is read from the file system.

`bverify "<filename>" <device> <address>`
`bv "<filename>" <device> <address>`

  Compare the specified file with memory at the specified address. If device is 0, the file is read from the file system.

Next: Command file commands, Previous: General commands, Up: Monitor [Contents][Index]