Atari DOS XE

Year
1988
Publisher
Atari Corp.
Type
DOS
Category
Disk operating system (menu and command-line, subdirectories)
Developer
Bill Wilkinson
Language
6502 machine language
Requirements
Atari XL or XE computer (does not run on the 400/800); 810, 1050, XF551 or Percom-compatible double-density drive
Blue Atari screen showing the DOS XE main menu, version 01.00, copyright 1988 Atari Corp., with File Access, Machine Language Access and System Function menus and Exit to BASIC

Overview

DOS XE was the last disk operating system Atari released for its 8-bit computers. It carries a 1988 Atari Corp. copyright, version 01.00. From 1989 it shipped with late production XF551 drives, Atari's double-sided, double-density drive, which had earlier come with DOS 2.5. It was written by Bill Wilkinson, the co-author of Atari BASIC and DOS 2.0S and founder of OSS, and was known as "ADOS" before release.

DOS XE was a clean break with DOS 2. It added hierarchical directories, file dates, a new disk format with 256-byte logical sectors, batch files and command-line shortcuts on top of a set of menus. It reached the market very late, when most serious users already ran SpartaDOS, MyDOS or DOS XL, and its format could not be read by any older DOS. It never became widely used, but it is the most advanced DOS Atari itself published.

The menus

DOS XE boots to a Main menu with three sub-menus and an exit:

  • File Access lists files, changes the working directory, protects, unprotects, erases, renames, views, appends and copies files, and creates or deletes directories.
  • Machine Language Access displays and changes memory, saves and loads binary files and runs code.
  • System Function duplicates disks, runs batch files, sets the date, writes a new DOS file and loads support for older DOS 2.0/2.5 disks.
  • Exit to BASIC (or Exit to Cartridge) appears only when BASIC or a cartridge is present.

You choose an option by typing its highlighted letter and RETURN. ESC goes back to the Main menu. Every screen shows the working directory, such as D1>, and the current date. Directory listings show each file's creation and revision dates and its size in bytes. Directories are marked with >, which is also the path separator: D1>LETTERS>JUNE.TXT.

Command lines and batch files

Once you know the menus you can skip the prompts. Typing W D1>LETTERS selects Working Directory and answers its question in one line. Several commands can be stacked on one line, separated by semicolons. A batch file is simply a saved set of command lines, up to 511 bytes long, and the last command can chain to another batch file. A batch file named AUTORUN.BAT runs automatically when DOS XE boots, which makes it easy to set up a disk that configures itself.

Disk format

The native filesystem treats every disk as 256-byte sectors. On the 810 and 1050, whose physical sectors are 128 bytes, DOS XE reads and writes them in pairs. Each data sector holds 250 bytes plus a six-byte label identifying the file, which helps recovery tools rebuild damaged disks. Files can be up to 8MB, a directory can hold 1,250 entries, and the design allows disks of up to 65,536 sectors (16MB). Usable capacity by drive type:

Drive type Usable sectors Data capacity
810 (single density) 347 86,750 bytes
1050 (enhanced density) 507 126,750 bytes
Percom-style SSDD 715 178,750 bytes
XF551 (double-sided) 1,435 358,750 bytes
130XE RAM disk 251 62,750 bytes

Free space is reported in units of 1,000 bytes, so an empty 810 disk shows "86 K BYTES FREE". XF551 high-speed transfers are supported.

DOS 2 compatibility

DOS XE cannot read DOS 2 disks through its own D: handler. To use them you load the optional DOS2.SYS file (from the System Function menu), which adds a second handler, A:. Through A1: and so on you can read and copy files from DOS 2.0 and DOS 2.5 disks, but you cannot format them. A separate COPY3_XE.COM converts files from DOS 3 disks.

The master disk (DX5090) also holds SETUP.COM, which sets the number and types of drives, the number of file buffers, the 130XE RAM disk, automatic loading of the 850's R: handler (via RDRIVER.SYS) and an optional BASIC program to run at boot.

Technical notes

DOS XE keeps the DOS 2 low-memory conventions where it can. Locations 1801 ($709, maximum open files) and 1802 ($70A, active drive map) work as in DOS 2.0S, and with two drives and three files LOMEM is $1CFC, the same as DOS 2.0S. The rest of the code runs in the RAM under the XL/XE operating system ROM, together with copies of the character sets, which is why it will not run on a 400 or 800. Programs that also use the RAM under the OS, or that jump into DOS 2's internal routines, will not run under it.

Using it today

DOS XE runs in Altirra and atari800 on any XL/XE configuration. It is a good way to explore what Atari's own "next generation" DOS looked like, and its dated directories are pleasant to use. For exchanging files with other software, though, DOS 2.5, MyDOS or SpartaDOS-format disks are far more practical. Keep DOS XE work on its own disks and use A: to pull in files from DOS 2 disks when you need them.

Credits