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
FileInfoBlockstructure with information about a file. - CheckFile — Checks the status of a file and optionally returns a localized error string.
- UnitInfo — Retrieves an
InfoDatastructure with information about a volume or device.
Data Integrity Functions
- CheckSum — Calculates various types of checksums (BootBlock, DataBlock, FileBlock).
Last updated on