XDOS

Year
1990
Publisher
Stefan Dorndorf
Type
DOS
Category
Disk operating system (command-line, DOS 2/2.5/MyDOS-compatible)
Developer
Stefan Dorndorf
Language
6502 machine language
Requirements
Any Atari 400/800/XL/XE with disk drive (810, 1050, XF551 or compatible); RAM disk needs an XL/XE
Blue Atari screen titled XDOS 2.3 DUP-Befehle, a two-column list of commands such as LOCK, DELETE, TYPE, CARTRIDGE, DIRECTORY, FORMAT and COPY, with German descriptions

Overview

XDOS ("eXtended Disk Operating System") is Stefan Dorndorf's successor to his own Happy-DOS (DOS II+/D). Version 2.3 carries the line "(p) 1990 S.Dorndorf", its documentation is dated 1989, and Dorndorf has kept updating it since: 2.43 in 2009 and 2.51 in 2020. XDOS is the DOS for people who like DOS 2.5's file format but want a fast command line and the ability to read nearly every DOS 2-style disk in circulation.

Its big selling point is that the command processor (the "DUP") is built into DOS.SYS. There is no DUP.SYS to load, so the prompt is always there instantly, yet the whole thing uses only about 400 bytes more RAM than DOS 2.5. With two buffers LOMEM sits at $1E00. It runs on the old 400/800 OS as well as XL/XE machines, and works alongside ATMAS II and Turbo-BASIC XL.

Commands

Typing DOS in BASIC, or pressing RESET while holding OPTION, gives the XDOS title line and a D1: prompt. Almost every command is three letters, and the manual maps them against the DOS 2.5 menu: DIR, REN, DEL, LOC, UNL, LOA, SAV, RUN, COP, INI (write DOS.SYS) and FS#/FM#/FD# (format single, medium or double density). Only DOS 2.5's Duplicate Disk has no equivalent. XDOS adds:

  • TYP to show a text file, CLS, WAI (wait for a key) and ' to print text
  • BON and BOF to switch the XL/XE's built-in BASIC on and off, and CAR to go to BASIC or a cartridge, optionally with a BASIC line to execute (CAR RUN"D:SETUP.BAS")
  • EXE to run a binary file or a batch file; typing just the file's name also works
  • AUT to rerun AUTORUN.SYS, CL# to empty a disk, > to show or change memory
  • F2# and TES for the XF551's double-sided format and density test
  • HELP, which prints a full command list from a batch file

There are handy shortcuts. / means DIR and ; means CAR. You can type ; instead of : in file names (8;NAME), so you never need SHIFT, and the D before a drive number is optional. - stands for *.*. When a command uses wildcards, XDOS asks Yes/No for each matching file. Later versions add a MAP command that lists the segments of a binary file.

Batch files (.CMD) are simply lists of commands, starting with a " comment line. Renaming one to AUTORUN.SYS runs it at boot, and holding ESC while booting skips it. From BASIC, XIO 39 runs a COM or CMD file and XIO 40 executes any command line, such as XIO 40,#1,0,0,"D:DIR".

Disks and RAM disks

XDOS 2.3 reads and writes disks made by DOS 2.0, DOS 2.5, DOS 1, DOS XL, DOS 2.2/2.3's 931-sector format, Happy-DOS, Bibo-DOS and, apart from subdirectories and sectors beyond 1024, MyDOS 4.x. When formatting in medium density you choose either DOS 2.5's layout or the MyDOS/DOS II+ layout, which the manual says is kinder to the drive's read head. On an XF551 it can use both sides of a 360K disk as two DOS 2 double-density "virtual disks".

Two versions came on the disk. The N (normal) version includes a high-speed driver for the XF551. The F (fast) version adds drivers for the Happy, Speedy and Turbo 1050 upgrades and shows an inverse "F" in its title.

The RAM disk is D8: (or M:). It can be the 14K under the XL OS ROM (108 sectors, which briefly disturbs the screen while in use), 64K of 130XE memory (499 sectors), or 90K, 128K or 180K of extended memory. RAMDISK.BAS tests and adapts it to different memory upgrades. Configuration is held at $709–$72F and can be edited live with > and then saved with INI.

Later versions

  • 2.4x: adds D9:, Hyper-XF hyper speed (Dorndorf's own XF551 upgrade), cassette SAVE "C:" support, the Atari800Win emulator's H: device and underscores in file names. The F version also covers SIO2SD and SIO2USB.
  • 2.5x (2020): limited to 810, 1050 and standard double-density capacities, drops the old DOS II+/D 1,026-sector format, supports Altirra's H: device and allows several RAM disks up to 512K in total.

Using it today

XDOS is a good everyday DOS for emulator users and SIO2SD-type devices that work with DOS 2-format images. You get DOS 2.5 compatibility, a quick command line, batch files and Altirra H: access in 2.5x. It is still often suggested as the simple command-line choice alongside DOS 2.5, MyDOS and BW-DOS. The 2.3 manual and help screens are in German. The commands are short enough to learn from the table above.

Credits