Skip to Content
Amiga Assembly Library v41.21 — Motorola 68020 shared library for Commodore Amiga
DocumentationDOSOverview

DOS Module

The DOS module provides file I/O and disk utility functions that simplify common operations built on top of the Amiga’s dos.library. These functions handle file loading, saving, information retrieval, error checking, checksum calculation, and console input.

File I/O Functions

  • Load — Loads a file from disk into memory, with optional automatic buffer allocation.
  • Save — Writes a buffer to a file or device.
  • LineInput — Reads keyboard input through a file handle.

File Information Functions

  • FileInfo — Retrieves a FileInfoBlock structure with information about a file.
  • CheckFile — Checks the status of a file and optionally returns a localized error string.
  • UnitInfo — Retrieves an InfoData structure with information about a volume or device.

Data Integrity Functions

  • CheckSum — Calculates various types of checksums (BootBlock, DataBlock, FileBlock).
Last updated on