Happy-DOS (DOS II+/D)
- Year
- 1985
- Publisher
- Happy-Computer magazine (issue 3/1986)
- Type
- DOS
- Category
- Disk operating system (command-line, DOS 2-compatible)
- Developer
- Stefan Dorndorf
- Language
- 6502 machine language
- Requirements
- Atari XL/XE with disk drive (810 or 1050; version 6 also double density); RAM disk needs 64K or banked memory
- Tags
- dos, germany, happy-computer, dorndorf, command-line, dos-2-compatible, 1050, ramdisk, batch-files, xdos
Overview
DOS II+/D, usually called Happy-DOS, is a small command-line DOS by German programmer Stefan Dorndorf. Version 4.5M, which reads "Happy-Computer DOS II+/D ... Copyright 1985 by Stefan Dorndorf", was first published in issue 3/1986 of Happy-Computer, the West German magazine that also published Turbo-BASIC XL. Dorndorf kept developing it into XDOS, which he was still updating in 2020. He is also known for the QMEG operating system replacement, the Hyper-XF upgrade for the XF551 and the tiny boot-sector loader uDOS.
Happy-DOS keeps the Atari DOS 2 file structure, so it reads and writes standard DOS 2 disks. Instead of DOS 2's menu it gives you a D1: prompt and short three-letter commands, which keeps it small and fast.
Commands
Commands are typed at the prompt, and the prompt shows the current drive. Typing 2: switches to drive 2.
| Command | What it does |
|---|---|
DIR (or /) |
Directory, with wildcards: DIR D3:W*.TXT |
TYP name |
Show a text file |
DEL, REN old,new |
Delete or rename |
LOC, UNL (PRO/UNP in 4.5) |
Lock or unlock a file |
FS#, FM#, FD# |
Format single, medium (enhanced) or double density |
CL# |
Clear a disk's directory and VTOC |
IN# |
Write DOS to the current disk |
COP from,to |
Copy files, with /A to append |
LOA, SAV, RUN addr |
Load and save binary files, run at an address |
JOB command |
Store a command to execute when DOS boots |
CAR or ; |
Go to BASIC; ; RUN "D:PROG.BAS" passes a command to it |
=ON, =OF |
Turn the XL/XE's built-in BASIC on or off |
>addr |
Show or change bytes in memory |
@name |
Run a batch file |
Typing a file's name loads and runs it, and the .COM extension can be left off. A file can also be picked by its position in the directory (D1:-3), and a + in front of a name allows any characters in it.
Copying with a single drive is easy: give a wildcard source and = as the destination (COP *.*,D1:=) and Happy-DOS prompts for disk swaps file by file. JOB is Happy-DOS's answer to AUTORUN.SYS. It writes a startup command into DOS itself, such as a program to run, a batch file or a BASIC command. Batch files can use all DOS commands, plus 'text to print a message and ! to wait for a key.
Formats and versions
- 4.x (1985–86) works with the 810 and 1050. Besides standard single density, it has its own DOS II+/D medium-density format of 1,026 sectors (about 128K), more than DOS 2.5's 1,010. Version 4.5M adds a small RAM disk,
M:, holding one unnamed file of nearly 12K. It cannot append to DOS 2.0 files. - 6.x (1987) adds double density for Percom-compatible drives and switches the enhanced format to MyDOS's 1,009-sector layout. The RAM disk becomes drive
D8:(orM:, which copies without waiting for keys) and can use the 16K under the XL OS, 64K of 130XE memory (499 single-density sectors) or 128K (1,009 sectors). With the QMEG operating system installed it loads into extra RAM and can be recalled with CTRL+CAPS. A 6.4 build is attributed to the Polish programmer Tomasz Pecko.
Configuration lives in memory and is saved with IN#. Location $70E sets the RAM disk type and whether it is formatted at boot or write-protected, $709 sets the number of buffers (and therefore MEMLO), and the eight bytes at $70F map logical drives to physical ones, with 00 meaning the RAM disk.
Using it today
Happy-DOS disk images are easy to find, and it runs well in Altirra and atari800 on an XL/XE setup. Version 6.x is the more practical choice, since it reads single, MyDOS-style enhanced and double-density DOS 2 disks. If you want the same commands with more formats and modern conveniences, use its successor, XDOS. Avoid writing the 4.x 1,026-sector format on disks you plan to share, because other DOSes will not read the extra sectors.
Credits
- Picture: Happy-DOS 4.5M lists a disk's directory at its D1: command prompt. — Screenshot of Happy-Computer DOS II+/D 4.5M running in the atari800 emulator (Atari8 site capture; disk image from the Holmes CD collection)
- comp.sys.atari.8bit FAQ (Michael Current) — 7.3.3 (Happy-Computer DOS II+/D) — Michael Current (comp.sys.atari.8bit FAQ)
- AtariMania FAQ mirror — What are RealDOS, SpartaDOS X and XDOS? (Happy-DOS old versions) — AtariMania
- "Description of DOS II/+ on Atari XL/XE" command sheet, Internet Archive item atari_dos2plus (OCR text) — Internet Archive
- Happy-DOS Referenzkarte (German reference card), Internet Archive item atari_ReferenzkarteHappy-DOS (OCR text) — Happy-DOS Referenzkarte (German reference card); Internet Archive
- AtariAge forum thread 383392 — uDOS by S. Dorndorf (author of QMEG-OS, Hyper-XF-OS) — S. Dorndorf; AtariAge forum members
- Holmes CD collection — Disk Operating Systems (Happy-Computer DOS II+D disk image used for the screenshot) — Screenshot of Happy-Computer DOS II+/D 4.5M running in the atari800 emulator (Atari8 site capture; disk image from the Holmes CD collection)
