Module cbm::disk[][src]

Traits, structs, and functions relating to disk images.

Modules

directory

CBM DOS directories

file

CBM DOS files

geos

GEOS, the Graphic Environment Operating System

Structs

D64

Represent a 1541 disk image in D64 format. Geometries for this disk image type can describe either 35-track or 40-track disks and images with and without attached error tables.

D71

Represent a 1571 disk image in D71 format. Geometries for this disk image type can describe images with and without attached error tables.

D81

Represent a 1581 disk image in D81 format. Geometries for this disk image type can describe images with and without attached error tables.

Geometry

A Geometry specifies the track and sector layout of a disk image, and also whether it has an error table appended or not.

Id

Various fields in CBM DOS are two-byte identifiers which are frequently shown as Petscii strings.

Enums

DiskError

Errors that can be returned from disk image operations. These are generally converted into io::Error.

DiskType

Disk image types.

ValidationError

A validation error represents an inconsistency in the disk image found by the validate() function.

Traits

Disk

All disk image types implement the Disk trait, and most disk operations can be performed polymorphically using Disk as a trait object.

Functions

open

Open a disk image, regardless of whether it is a D64 (1541), D71 (1571), or D81 (1581) image.