SpartaDOS

Year
1984
Publisher
ICD, Inc.
Type
DOS
Category
Disk operating system (command line)
Developer
Mike Gustafson (Spartan Software of Minnesota / ICD)
Language
6502 machine language
Requirements
Version 1.x: any Atari 8-bit; versions 2.3 and 3.2: 64K XL/XE. High speed needs a US Doubler, Happy or compatible drive.
Black floppy disk with a white label reading 'SpartaDOS — Advanced Disk Operating System, © 1984 ICD, Inc.'

Overview

SpartaDOS was the first widely used Atari DOS to work like the command-line systems on bigger computers. Instead of a lettered menu you get a D1: prompt and type commands such as DIR, COPY and CWD. Behind that prompt is a new file system with subdirectories, files stamped with the time and date they were written, sizes in bytes, volume names, and support for almost any drive from a single-density 810 to an 8-inch double-sided drive or, later, a 16MB hard disk partition.

ICD launched SpartaDOS in 1984 together with the US Doubler, its upgrade that gives the Atari 1050 true double density and a faster "UltraSpeed" serial transfer. The two were ICD's first products. SpartaDOS went on to become the standard DOS for hard disks, RAM-disk upgrades and bulletin boards on the 8-bit Atari, and its disk format lives on in SpartaDOS X, BW-DOS and RealDOS.

Working at the command line

A short session from the Construction Set manual's own tutorial shows the style:

D1:DIR                  list the current directory
D1:BASIC OFF            disable built-in BASIC (XL/XE)
D1:CAR                  go to the cartridge (or BASIC)
   ... RUN a program, SAVE "D:TEST.BAS", then type DOS ...
D1:DIR TEST.*           files now show time and date
D1:RENAME TEST.* RANDOM.*
D1:ERASE RANDOM.DAT
D1:TYPE TEST.LST        show a text file
D1:D3:                  make drive 3 the default

A directory listing gives the volume name, the directory, then each file with its size in bytes and its date and time; subdirectories show as <DIR>:

Volume:    WRK_2.3B
Directory: MAIN
CHVOL     COM     453  2-24-85  6:16p
UTIL           <DIR>   4-11-85  2:06p
XD23B     DOS   10729  4-06-85  1:17p
  577 FREE SECTORS

Internal commands (DIR, ERASE, RENAME, CAR, BASIC, TYPE and others) are part of the command processor and do not disturb a BASIC program in memory. External commands such as TREE, XINIT (format), DUPDSK and SPCOPY are .COM files loaded from disk. Wildcards work for commands too: typing a unique first letter or two followed by * runs the matching .COM file.

Paths use > to go down and < to go up: >MODEM>RS232.COM starts from the main directory, <<TESTPROG.BAS goes up two levels. Directories are made with CREDIR, removed with DELDIR and entered with CWD.

Batch files end in .BAT and run with -NAME. A file called STARTUP.BAT runs at boot. The manual's example builds a 130XE RAM disk at boot and fills it with commands:

RD130 D2:
COPY *.COM D2:

You can create a batch file from the keyboard with COPY E: D:STARTUP.BAT, typing lines and ending with CONTROL-3.

Versions

  • 1.1 (1984): four drives; 5.25-inch and 8-inch, single- or double-sided, single, enhanced or double density, 35/40/77/80 tracks. Flavours include a full version with UltraSpeed (SPEED.DOS), one without (STANDARD.DOS), a small read-only DOS for loading games, and one with no command processor. Up to 128 entries per directory, up to 16MB per drive, and an R: handler for the ATR8000.
  • 2.3 (1985), sold as the SpartaDOS Construction Set and bundled with many US Doublers: needs a 64K XL/XE and uses RAM under the OS for an extra 4K of program space. It supports eight drives, built-in UltraSpeed, 14 new internal commands and a much better Atari DOS 2 handler that reads and writes DOS 2 disks. It added a menu program and RAM disks for 130XE and XL/XE. The XD builds run STARTUP.BAT and give DOS priority; the XC builds run AUTORUN.SYS and give the cartridge priority.
  • 3.2 (1986): shipped with ICD's R-Time 8 clock cartridge and in later Construction Sets. It added TIME, DATE and TD commands, a keyboard buffer (KEY), support for the Supra hard-disk interface and BASIC XE, reading of DOS 2.5 enhanced disks, and RAM disks for 130XE, RAMBO XL and 256K upgrades. 3.2d was the long-lived version. Patches added XF551 high speed and CSS Multiplexer support (3.2z).
  • 3.2f/3.2g (1994): after Fine Tooned Engineering bought the rights from ICD, FTe added a ninth drive, made D: mean the current drive, renamed CWD/CREDIR/DELDIR to CD/MD/RD and fixed a Y2K bug in the TD clock line. 3.2gx keeps disk buffers under the OS ROM.

ICD's companion SpartaDOS Tool Kit added DOSMENU (a DOS 2-style menu), SORTDIR, WHEREIS, VDEL and a disk-repair tool.

Reception and quirks

Antic's 1985 survey, looking at version 1.1, liked the features but saw SpartaDOS as a specialist product for owners of a US Doubler or an ATR8000. The reviewer found that some binary files would not run and that the DOS did not see an Axlon RAM disk. By late 1988 the picture had changed: Antic's reviewer of the ICD FA-ST hard disk, which came preformatted with SpartaDOS 3.2d, called SpartaDOS "the only logical choice" for a hard drive. Its main limit there was 128 files per directory, which SpartaDOS X later raised.

SpartaDOS disks are not readable by Atari DOS 2 or MyDOS. Use the bundled copy commands (SPCOPY, XCOPY) or the DOS 2 handler to move files between formats.

Using it today

SpartaDOS 3.2 and its successors are well supported by emulators, SIO2PC-style tools and hard-disk interfaces. Disk-based SpartaDOS still suits machines without a SpartaDOS X cartridge, but most people now run SpartaDOS X or the free BW-DOS, both of which read and write the same disks. For high-capacity ATR images, format them under SpartaDOS and use subdirectories to keep collections tidy.

Credits