amiga-bootcamp/07_dos
Ilia Sharin da9e7d3b63 Phase 1: enrich 07_dos and 10_devices (highest FPGA priority)
07_dos:
- file_io.md: 108→240+ lines — buffered I/O (FRead/FWrite/SetVBuf),
  access mode comparison, FileHandle struct with offsets, standard
  handles, Printf %ld warning, FileInfoBlock, practical patterns
  (copy file, get size, load to RAM), error code table
- filesystem.md: 91→270+ lines — full disk geometry (ADF/HDF),
  all 8 DOS\x filesystem IDs, root block byte-level layout, file
  header layout with reverse-order pointer quirk, OFS vs FFS data
  blocks with efficiency numbers, bitmap blocks, extension blocks,
  checksum algorithm, Python ADF reader
- locks_examine.md: 113→270+ lines — lock semantics diagram, FileLock
  struct with handler discovery, ExAll bulk scan, practical patterns
  (atomic write, path resolution, volume info), 4 antipatterns
  (leaked locks, exclusive too long, unchecked IoErr, DupLock),
  pattern matching

10_devices:
- audio.md: 73→240+ lines — hardware architecture diagram, channel
  registers with offsets, period/frequency table, priority allocation,
  double-buffering, audio interrupts, AM/PM modulation, direct HW
- timer.md: 80→230+ lines — CIA timer hardware, all 5 units with
  decision flowchart, non-blocking delays, signal-based waiting,
  time arithmetic, ReadEClock, periodic game loop pattern, pitfalls
- trackdisk.md: 82→210+ lines — MFM encoding, track format, disk
  geometry, read/write/motor, change notification, track caching,
  direct hardware access, FPGA timing implications
- keyboard.md: 58→220+ lines — CIA-A serial handshake protocol with
  sequence diagram, bit rotation quirk, complete key code map,
  key matrix bitmap, reset sequence, FPGA notes
2026-04-23 20:23:50 -04:00
..
cli_shell.md docs(amiga): complete AmigaOS 3.1/3.2 developer reference — 172 files across 17 sections 2026-04-23 12:17:35 -04:00
dos_base.md docs(amiga): complete AmigaOS 3.1/3.2 developer reference — 172 files across 17 sections 2026-04-23 12:17:35 -04:00
environment.md docs(amiga): complete AmigaOS 3.1/3.2 developer reference — 172 files across 17 sections 2026-04-23 12:17:35 -04:00
error_handling.md docs(amiga): complete AmigaOS 3.1/3.2 developer reference — 172 files across 17 sections 2026-04-23 12:17:35 -04:00
file_io.md Phase 1: enrich 07_dos and 10_devices (highest FPGA priority) 2026-04-23 20:23:50 -04:00
filesystem.md Phase 1: enrich 07_dos and 10_devices (highest FPGA priority) 2026-04-23 20:23:50 -04:00
locks_examine.md Phase 1: enrich 07_dos and 10_devices (highest FPGA priority) 2026-04-23 20:23:50 -04:00
packet_system.md docs(amiga): complete AmigaOS 3.1/3.2 developer reference — 172 files across 17 sections 2026-04-23 12:17:35 -04:00
pattern_matching.md docs(amiga): complete AmigaOS 3.1/3.2 developer reference — 172 files across 17 sections 2026-04-23 12:17:35 -04:00
process_management.md docs(amiga): make cross-references clickable markdown links 2026-04-23 12:24:21 -04:00
README.md docs(amiga): complete AmigaOS 3.1/3.2 developer reference — 172 files across 17 sections 2026-04-23 12:17:35 -04:00

← Home

dos.library — AmigaDOS Overview

Section Index

File Description
dos_base.md DosLibrary structure and global state
file_io.md Open, Close, Read, Write, Seek
locks_examine.md Lock, UnLock, Examine, ExNext, ExAll
pattern_matching.md ParsePattern, MatchPattern, wildcards
process_management.md CreateNewProc, SystemTagList, Execute
packet_system.md DosPacket, ACTION_* codes, handler protocol
filesystem.md FFS/OFS layout, block structure
environment.md GetVar/SetVar, local/global env variables
error_handling.md IoErr, Fault, PrintFault, error codes
cli_shell.md CLI/Shell: pipes, redirection, scripts, ReadArgs