CASTALIA-ONLY SIGN-ON
The FreeDOS kernel is rebuilt from source so its boot banner reads CASTALIA DOS 386SX Edition. No “FreeDOS kernel”, no “Open Watcom”, no scrolling license wall.
CASTALIA DOS is a practical, beautiful, game-focused DOS-compatible operating environment for real 386 hardware. It is built on the FreeDOS kernel and shell and wraps them in an original suite of tools, eight boot profiles, a game launcher, an installer and a dignified 80×25 text-mode identity drawn from the stone fortresses of Castellón and Valencia.
Castalia DOS is a DOS for gaming on real 386 PCs, built on the FreeDOS kernel and shell, with eight memory profiles on its boot menu, a game launcher, an installer and a rescue disk. It has booted on a real 386SX, not only in emulation.
There is no shortage of ways to run DOS in 2026. What there is a shortage of is a DOS that treats a 30-year-old machine as something worth dressing well. Most retro-DOS setups are a pile of drivers and a bare C:\> — functional, and completely anonymous. CASTALIA DOS starts from the opposite instinct: a real 386, booted on purpose, deserves a first-class, coherent, dignified face.
Its identity comes from the stone fortresses of Valencia and Castellón — Peñíscola on its sea-rock, Morella on its hill, the keep of Sagunto. When a Castalia machine powers on, the three-tower keep rises, the CASTALIA DOS wordmark lights amber, stars twinkle over a Mediterranean-blue field, and within about three seconds the menu is ready. Every screen — the boot banner, the rescue disk, the installer, the main menu — wears the same face.
And one rule governs everything else: compatibility beats elegance. When a choice must be made between a prettier design and a game that actually runs, the game wins. That is why the launcher unloads itself from memory before a game runs, and why there are eight memory profiles instead of one clever guess.
On October 1, 2026 something happened that no emulator can sign off on: the installed system booted on a real 386 — a 386SX according to the person who ran it, with a 387, 639 KB of base memory and VGA on a CRT. It reached the menu on the CLEAN and EMS profiles, the launcher started The Secret of Monkey Island in VGA, and CASTMARK, HWINFO and CASTID all ran, the last one reading the kernel’s identity live. One thing failed: the CASTMARK disk test stopped with “drive not ready” while writing to C:. It is written down as it happened in the repository, together with what to re-run on the machine.
Someone decided a 386 deserved a fortress — and then built it. Legally, testably, and beautifully.
The FreeDOS kernel is rebuilt from source so its boot banner reads CASTALIA DOS 386SX Edition. No “FreeDOS kernel”, no “Open Watcom”, no scrolling license wall.
An animated splash: a three-tower keep rises, the wordmark lights amber, the pennants and lit windows flicker like candlelight and stars twinkle over the Mediterranean-blue field. Any key skips it; it never blocks the boot.
A clean menu at boot: Maximum Compatibility, XMS Gaming (default), EMS Gaming, CD-ROM Gaming, Windows 3.x, Diagnostics, Safe Mode and a plain command prompt. Each loads only its own drivers.
The launcher (LAUNCH) and the menu unload from memory before a game runs, so the game gets every free byte. The elegance is in service of the machine, never the other way around.
MEMPROF, SETSOUND, HWINFO, CFGEDIT, SAFEBOOT, CASTFM, CASTDOC, CASTCOPY, CASTMARK, CASTEDIT, CASTID, UNDEL, CDPLAYER, HELP… thirty text-mode programs, eight of them minigames: Snake, 15-Puzzle, Almena, Minas, Siege, Reversi, Barrels and a Klondike solitaire.
A SETUP wizard that never partitions or formats on its own, backs up any file it replaces, stops if that backup fails and changes nothing until you confirm. The 1.44 MB floppy is both the installer and an emergency disk, and it always boots Safe Mode: a rescue disk must not depend on the hard disk.
Calm, complete sentences; never blames the user, never shouts. And every tool installs its own critical-error handler, so DOS’s “Abort, Retry, Ignore, Fail?” is no longer drawn over the interface.
Zero Microsoft material — no code, binaries, message text or branding. FreeDOS used under its own license, with its source published beside every image, and the copyleft carefully contained.
The rebuilt kernel does more than change the banner: it reports OEM identity CAh, remembers which profile booted and answers an identity call of its own (INT 2Fh, AH=CAh). CASTID reads it live, and already has on a real 386.

Original Castalia programs run on top of an open-source DOS, talking to it through documented interfaces: INT 21h, and the kernel’s own INT 2Fh identity call. Not one line of Castalia’s MIT code is linked into the kernel or shell.
The FreeDOS 1.3 kernel, build 2043 (KERNEL.SYS), rebuilt as a superset — it removes nothing and changes no documented DOS behavior — and FreeCOM (COMMAND.COM). On top: 30 original 16-bit real-mode programs.
VGA 80×25, 16 colors, drawn by direct video-memory writes for speed on a 386SX; BIOS for the cursor and INT 16h for the keyboard.
The whole Castalia layer is real-mode C89, large model, no dynamic allocation: it compiles small and loads fast on period hardware. FAT12 on floppy, FAT16 on disk/CompactFlash.
The tools that write files — SETUP, CFGEDIT, CASTEDIT, CASTFM, CASTCOPY, SETSOUND — go through one shared module: a temp file, checked writes, and a swap only once everything worked. A full disk no longer ends in a false “Saved”.
C89 syntax check of every source, shell-script linting and repository sanity checks.
The real shared modules — INI parser, UI toolkit, speaker, safe writes, the CASTLINK protocol, the CASTMARK scale and the rebrand tool — compiled and executed natively.
All 30 programs and the DOS probes built for real with Open Watcom and verified as genuine DOS MZ executables; the FreeDOS kernel rebuilt with the CASTALIA sign-on.
Every FreeDOS package is checked against its pinned SHA-256 digest; a 1.44 MB floppy is assembled, booted in a headless emulator to AUTOEXEC.BAT and, under QEMU, the kernel is checked to answer INT 2Fh. The image ships with its sources archive beside it.
The 30 programs, the UI toolkit, the boot profiles, the installer and configuration. The documentation is CC BY 4.0.
The kernel, the FreeCOM shell and the base utilities (SYS, FDISK, FORMAT, MEM, XCOPY, CHKDSK). Their source does not fit on a 1.44 MB floppy, so it is published beside the image, from the same place. HimemX and JEMM386 also travel with the Artistic License.
No code, binaries, message text or branding. Every image is lawfully redistributable worldwide.
FreeDOS credited in the shipped source, in the license tree and on the system’s own About screen.
No. CASTALIA DOS ships no Microsoft code, binaries, text or branding. It is FreeDOS plus original, MIT-licensed Castalia work. Any “MS-DOS 6.22-compatible behavior” wording is a plain description of behavior, never a claim of origin.
Devlogs, patches and launches, straight to your inbox. Zero spam, zero analytics, no automated list: to unsubscribe, just hit reply.