Apple DOS 3.3

Apple DOS 3.3 is the 1980 disk operating system for 5.25-inch Apple II floppies, using a catalog and track/sector lists. ProDOS replaced it, and it is now seen in preserved disk images and emulator collections.

Overview

DOS 3.3 disks have 35 tracks of 16 sectors. The Volume Table of Contents (VTOC) is at track 17, sector 0; the catalog chain follows. Each file has a track/sector list of its data sectors. Files are typed (text, Integer BASIC, Applesoft, binary and others). DOS 3.2 used 13 sectors per track.

History

  • DOS 3.2 appeared in 1978-79, DOS 3.3 in 1980.
  • Replaced by ProDOS in 1983.

Structures

Offsets are in bytes from the start of the structure named in each heading. Field names are descriptive and are not an official specification. Fixed-width integers are shown as u/i (unsigned/signed) followed by bit width and byte order.

Make Entry

OffsetSizeTypeFieldNotes
0x01u8–
0x01u8Deleted
0x01u8List Track
0x11u8List Sector
0x21u8Type
0x21u8Flags
0x201u8List Track
0x212u16 LE–

Trimmed Size

OffsetSizeTypeFieldNotes
0x02u16 LE–
0x22u16 LE–

Probe

OffsetSizeTypeFieldNotes
0x61u8Description
0xE2u16 LEBlocks

Probe

OffsetSizeTypeFieldNotes
0x41u8Description
0x292u16 LEBlocks

Other fields read

Read inOffsetSizeTypeFieldNotes
Read Block0x0256bytes–

Constants

Apple2 Layout

NameValueTypeNotes
DosLogicalToPhysical[0, 13, 11, 9, 7, 5, 3, 1, 14, 12, 10, 8, 6, 4, 2, 15]int[]
ProDosLogicalToPhysical[0, 2, 4, 6, 8, 10, 12, 14, 1, 3, 5, 7, 9, 11, 13, 15]int[]
DosPhysicalToLogicalInvert(DosLogicalToPhysical)int[]
ProDosPhysicalToLogicalInvert(ProDosLogicalToPhysical)int[]

Implementation limits

ClassNameValueNotes
Apple2 LayoutFloppyBytes143360
Apple2 LayoutThirteenSectorBytes116480

Apple2 Order

NameValue
Dos(next)
ProDos(next)
Structures and constants were extracted from the implementation. Prose sections are a summary from public sources; verify details before relying on them.