DOS 4.0 (QDOS)
- Year
- 1984
- Publisher
- Atari, Inc. (unreleased); distributed by the Antic Catalog (PD067)
- Type
- DOS
- Category
- Disk operating system (unreleased Atari DOS, later public domain)
- Developer
- Michael Barall
- Language
- 6502 machine language
- Requirements
- 48K Atari 400/800/XL/XE with disk drive; 810, 1050 or Percom-compatible single/double-density, single/double-sided drives
Overview
DOS 4.0, known inside Atari as QDOS, is the Atari DOS that almost was. Michael Barall wrote it for Atari in 1983–84; source code dates show it existed by July 1983. Once DOS 3 was finished, QDOS was lined up to become Atari DOS 4, the operating system for the planned 1450XLD. That machine was to have a built-in double-sided, double-density drive that DOS 3 could not handle. Press reports in 1984 described the new drive as storing 352K and running five times faster than the drive planned for the earlier 1400 series, and said QDOS would support it.
In April 1984 Barall joined Atari Products Co. to direct advanced operating-system development. When Warner sold Atari's consumer business to Jack Tramiel in July 1984, the rights to QDOS reverted to Barall. He kept working on it for the new Atari Corp. into the fall of 1984, but Atari finally decided not to acquire it. Barall then put it into the public domain, and it appeared in the Antic Catalog as DOS 4.0 from the February 1986 issue of Antic. In 1988 the catalog listed it as PD067, a 48K disk for $10.
Using it
DOS 4.0 boots to a command processor that turns the .COM files on the disk into a lettered menu. It shows the first 16, along with Run Cartridge and a disk directory for any drive (keys 0–9). On the master disk these are:
- DISKUTIL, the disk utilities, laid out much like the DOS 2 menu
- QHELP, an online manual of about 100 screens (some 26 printed pages)
- GOBASIC, which loads and runs a BASIC program automatically, or builds a file that does
- READDOS2 and READDOS3, which convert DOS 2 and DOS 3 files to DOS 4 format
- REDIRECT, which changes the logical drive number of any physical drive
- SETPARAM and RS232C, for settings and the 850 serial handler
DISKUTIL adds three commands DOS 2 users would not recognise. Configure Drive sets each drive's density and number of sides. Merge DCF adds definitions for new drive types. Identify Mode works out the format of the disk in a drive. Its Duplicate File can copy between disks of different densities and copies as many files per pass as memory allows. Unlike DOS 2, it cannot list a directory to the printer or to a file, and a deleted file cannot be recovered.
From BASIC, DOS 4.0 supports the same XIO commands as DOS 2, so most programs that manage files through XIO work unchanged.
Disk format
QDOS organises disks into blocks rather than sector chains. Single-density disks use 128-byte sectors and double-density disks 256-byte sectors. Space is allocated in 768-byte blocks (six SD sectors or three DD sectors), or 3,072-byte blocks on double-sided disks. A Volume Table of Contents (one or two sectors) tracks which blocks are in use, and the directory holds up to 128 entries. It supports up to eight physical drives, mapped to ten logical drives D0: to D9:, on both the serial bus and the parallel bus of the 1450XLD's integral drives.
Five drive types are built in:
| Type | Sectors | Capacity |
|---|---|---|
| 810, single-sided single density | 708 | 90,624 bytes |
| 1050, single-sided enhanced density | 513 | 131,328 bytes |
| Percom-style SS/SD | 708 | 90,624 bytes |
| Percom-style SS/DD | 711 | 182,016 bytes |
| Percom-style DS/DD | 708 | 362,496 bytes |
Advanced users can define more drive types. Antic's 1988 review noted that all the configurations worked on Atari's new XF551.
The catch
DOS 4.0 files are not compatible with DOS 2. The conversion programs only go one way, into DOS 4 format. Antic added an editor's note to its review saying that for this reason it could not accept programs or articles submitted on DOS 4.0 disks. That incompatibility, the same problem that sank DOS 3, kept DOS 4.0 a curiosity, even though reviewer Rich Tietjens called it easy to use, full-featured and well documented, and said the online manual alone was worth the $10.
Using it today
Disk images of DOS 4.0 are widely available and boot in Altirra or atari800 on any 48K machine. Use it with blank disks and its own conversion utilities. Keep anything you want to share on DOS 2-compatible disks, because nothing else reads the QDOS format. It is worth a look as a preview of the Atari 8-bit line Atari planned in 1984 and never shipped.
Credits
- Picture: The DOS 4.0 command processor lists .COM files as menu items, with the utilities on the master disk shown here. — Screenshot of DOS 4.0 (QDOS) from AtariMania (Screenshot — used for identification/commentary)
- comp.sys.atari.8bit FAQ (Michael Current) — 7.3.3 (DOS 4.0) and 11.1 history timeline (1984) — Michael Current (comp.sys.atari.8bit FAQ), 1984
- Antic Vol. 7 No. 2 (June 1988) — 8-bit Power Tools (DOS 4.0 review by Rich Tietjens) — SuperDOS screen photo from Antic Vol. 7 No. 2 (June 1988), via atarimagazines.com (Magazine illustration — used for identification/commentary), 1988
- AtariMania — DOS 4.0 — Screenshot of DOS 4.0 (QDOS) from AtariMania (Screenshot — used for identification/commentary)
