Ultima V Map Explorer: Britannia in ANTIC Mode E, Built with Mad Pascal
On 18 April 2021 a programmer known as Atlan_Roland posted an early build of an Ultima V "World Explorer" for the Atari 8-bit. It was his first Atari program since writing Atari BASIC in the late 1980s, when he had envied friends playing Ultima V on the C64 while he had an 800XL and little software. Ultima V never got an official Atari 8-bit release. He was clear that "port is a much too big word": the goal was an engine to explore Britannia rather than a finished game. Over the next twenty months it grew into something much closer to one.
How it works
The program is written in Mad Pascal, using JAC!'s WUDSN IDE, tebe's compiler and Atari Graphics Studio, and the ZX0 compressor. It doesn't contain any of the original game's content. Instead it interprets the data files of the MS-DOS version (BRIT.DAT, TOWNE.DAT, CASTLE.DAT, KEEP.DAT, DWELLING.DAT, with more files needed as features were added), which players have to supply from their own copy. The GOG release is the one he used. On first boot it builds sector indexes for these files, so the first start is slow and later ones are fast.
Instead of copying the artifacted hi-res look of the Atari Ultima IV, he chose ANTIC mode E for a more colourful map:
- a 13×10 tile viewport (the original is 11×11) of 12×16-pixel tiles, reduced from the EGA artwork;
- a fifth colour, grey, made with PAL colour blending, used for walls, rocks and mountains;
- a text console in mode 2 below the map, with the display list stretched from 192 to 216 scanlines to make room;
- the Avatar tile enhanced with player/missile graphics.
Milestones
- v0.01 (April 2021): walk and sail Britannia, enter towns and castles, rearrange furniture, eat at taverns, play "Stones" on the harpsichord. The full development folder followed two days later.
- v0.02–0.03 (November 2021): Look descriptions for every tile and all the signs in Britannia, line-of-sight, doors and hidden doors, cannon fire, and expanded RAM, making 128 KB the minimum. The file formats were worked out from the Ultima Codex wiki's documentation of Ultima V's internal formats.
- v0.04 (January 2022): day and night cycles with dusk and dawn, light from torches and other light sources, a sky view with the phases of both moons, a fast non-recursive 8-way flood fill for field of view, and NPCs following their daily schedules, rerouting if you block their path.
- v0.05 (December 2022): the conversation scripts, so (T)alk now gives you the original dialogue with most of the inhabitants. It has been tested in Altirra and on real hardware with SIDE3, FujiNet and a modified 1050.
Why it matters
The project is a fan reconstruction of what an "Atari-optimised" Ultima V might have looked like. It also shows modern cross-development at work: a hobbyist returning after decades could build a data-driven RPG engine in Pascal, with full sources published as he went.
Trying it
You need a machine or emulator with 128 KB (130XE, RAMBO, U1MB and so on), a double-density drive or a modern equivalent (SIO2SD, FujiNet, SIDE, SDrive), and the MS-DOS Ultima V data files. The release zip includes a Windows batch file, mk_disks.bat, that copies the data into either two 180K disk images (to boot from disk 1) or a single 360K image, which is easiest in an emulator. Downloads and sources are attached to the author's AtariAge threads. Later development moved to a new thread in the main Atari 8-bit forum.
Credits
- AtariAge — Ultima V World Explorer (in ANTIC mode E) — AtariAge forum members
- AtariAge — Ultima V World Explorer (in ANTIC mode E), page 3 (v0.02-0.04 release notes) — AtariAge forum members
- AtariAge — Ultima V World Explorer (in ANTIC mode E), page 4 (v0.05) — AtariAge forum members
