MachDOS

Year
1984
Publisher
Supplied with the NCT 810 Turbo (1984); later Vulcan Software and public domain
Type
DOS
Category
Disk operating system (menu-driven, DOS 2-compatible)
Developer
Hadley V. Stacey
Language
6502 machine language
Requirements
Atari 400/800/XL/XE with disk drive; 810, Percom-compatible single/double density or double-sided drives
Teal Atari screen showing the MachDos v3.7a (c) 1985 stace menu, options A Directory to X FxSys, with a drive status bar reading D: 1SS 2U 3U 4U and SELECT-Menu, and a Select item prompt at the bottom

Overview

MachDOS (also written Mach DOS) is a DOS 2.0S-compatible disk operating system by Hadley V. Stacey, whose sign-on line simply reads "© 1985 stace". Its pre-release name was MACH 2XH DOS. Early versions were supplied with the 1984 units of NCT's 810 Turbo, a double-density upgrade for the Atari 810 drive (earlier 810 Turbos had come with OSS's OS/A+). MachDOS was later released directly into the public domain, and the 3.7a version is also associated with Vulcan Software.

It became a popular download on CompuServe's SIG*Atari. In Antic's September 1985 round-up of the forum's best public-domain files, Jerry White wrote that he put MACH.DOS on all his disks. He praised it for running in single or double density, reconfiguring drives, keeping DOS utilities handy and causing fewer memory conflicts than any other DOS.

The menu

MachDOS keeps Atari DOS 2's letters for the familiar functions and adds its own on the right. Several things make it feel different:

  • A pull-down menu window. Pressing SELECT flips the menu up to show whatever is on the screen behind it, and pressing it again pulls it back down. The top line shows the version and the CPU and RAM-disk configuration, and the bottom line shows the status of each active drive (single or double sided, single or double density, or off).
  • One-key commands. Choosing a menu item does not need RETURN.
  • Sorted directories. A reads the whole directory first and can sort it by name, by extension or not at all. On screen it shows two entries per line. Listing a directory to a disk file actually works, which the manual notes with some pride.
  • J. Duplicate Disk offers a File copy (only sectors used by files, like DOS 2) or a full Sector copy.
  • O. Duplicate File is a full single-drive copier. With wildcards it reads as many files into memory as it can, asks you to swap disks and repeats, in alphabetical order.
  • P. Set Density flips a drive between single and double density, and Q. Convert copies files to the opposite density, so one drive is enough to move files between densities.
  • R. Set Default Drive swaps a drive with D1:, so D1: requests go to drive 2 and vice versa.
  • V toggles write verify, and X. Fix Sys keeps the menu program resident. That costs about 7K of memory but makes switching between DOS and BASIC take under half a second.

On XL computers other than the 1200XL, MachDOS switches the built-in BASIC out while you are in DOS to free memory, and switches it back in when you choose B. Cartridge.

Under the hood

MachDOS uses a single system file, MACH.SYS, instead of DOS.SYS and DUP.SYS; MEM.SAV becomes MEMSAV.SYS. AUTORUN.SYS works exactly as in DOS 2.0. The menu part is still loaded from disk when needed, but MachDOS checks whether its copy in memory is intact first and skips the disk access if it is. When it needs the system disk it asks for it and resets the drive's density to match. Unlike some DOSes, it can write itself to any DOS 2 or MachDOS disk without space being reserved at format time.

Density handling is automatic. When a file is opened, MachDOS senses the disk's density, quickly on drives that report it and by retrying after a read error on those that do not. It also switches a drive between single and double-sided mode to match the disk. Double-sided disks formatted by MachDOS give 1,427 free sectors (about 360K). A disk formatted by MachDOS without DOS on it simply behaves as if the drive were off when you try to boot it, instead of giving a boot error.

Utilities and versions

The 3.7 disk includes CONFIGUR (active drives, number of 256-byte file buffers, directory sort, resident menu, RAM disk type and size, per-drive sides and density), BACKUP and RESTORE (store whole disk images as .BKU files, several to a double-sided disk), COMPARE (sector-by-sector comparison of two disks) and ATASPRT, a fast listing printer that prints real ATASCII characters on Epson-style printers.

Version 3.7a added a RAM disk for banked memory. It supports the 130XE and the Axlon, Mosaic, Intec, 800+ and MACE memory expansions, and a 288K 800+ gives about 950 double-density sectors. The RAM disk must be set up as drive 4. Known releases include 2.1 XL and 2.6 XL (both 1984) and 3.7a (1985).

Using it today

MachDOS 3.7a disk images are available and boot in Altirra or atari800. Its disks are ordinary DOS 2 single- or double-density disks, so it is a comfortable DOS 2 alternative with nicer directory handling. Run CONFIGUR to match your drives and RAM disk, then H. Save Mach to make the settings permanent. Remember that the only system file you need to copy to a new disk is MACH.SYS.

Credits