Module cbm::disk::directory[][src]

CBM DOS directories

Structs

DirectoryEntry

A CBM DOS directory entry.

DirectoryIterator

This iterator will process the entire directory of a disk image and return a sequence of entries.

FileAttributes

We introduce the term "file attributes" to refer to the full 8-bit directory entry field which contains the file type along with several flags.

GEOSExtra

The extra directory entry bytes used in GEOS files.

LinearExtra

The extra directory entry bytes used in regular files. These should all be unused, so we simply preserve whatever bytes are present.

RelativeExtra

The extra directory entry bytes used in relative files, such as the record length and the location of the first side sector.

Enums

Extra

Different file storage schemes use the nine directory entry bytes 0x15..0x1E differently, hence the need for this enum to encapsulate the different interpretations.

FileType

A directory entry categorizes files as SEQ, PRG, USR, or REL, along with a pseudo-file-type of DEL to indicate deleted files.