Vaults of Nhyrmeth: A Dungeon Master-Style Crawler for the Stock Atari
clth first posted a tech demo of a first-person dungeon crawler in the style of Dungeon Master in November 2019, under the modest title "dungeon crawler attempt". On 11 April 2020 it came back as a playable one-level demo, and the project took the name Vaults of Nhyrmeth.
How the view is drawn
The 3D corridor view is not raycast. It is built in a text (character) mode from hand-drawn tiles that were cut up and pre-processed by scripts to fit byte boundaries. The first version already used seven character sets of varying height, each 40–50% full, switched down the screen by display list interrupts. Maps are made in the general-purpose Tiled editor. clth chose monochrome high resolution over colour because, on a stock 48K/64K machine, more colours would have meant chunky pixels. The thin, crisp look got a lot of praise; one tester compared it with a black-and-white Palm Pilot RPG.
The November 2019 build was written in Mad Pascal, with only the DLI in assembly. For the April demo clth rewrote it in cc65, added double buffering so the view no longer visibly redraws in depth, and added enemy sprites. clth found C more flexible than Pascal for bundling binary data and controlling the memory layout, which matters when 150-odd data files have to load at fixed addresses. Uncapped, the engine ran at about 15 frames per second.
What's in the demo
- One level with 200 gold crowns hidden in chests; you need 100 to win.
- Two enemy types, orcs and rats, which attack and move at different speeds.
- A simple stamina and health system: every attack costs three stamina points.
- Dungeon Master staples such as secret buttons, illusionary walls and spinning squares that turn you around ("you are feeling dizzy"), which confused many players.
- Controls: W/A/S/D to move, Space to attack, Return for actions. You may need to hold OPTION at power-up to disable BASIC.
Enemies show a boxy outline because they are drawn into the character-mode screen. clth judged that removing it would cost more CPU time than it was worth.
Why it matters
Forum regulars pointed out how few RPGs of this kind the Atari has, and that the existing attempts are also built from character sets. Vaults of Nhyrmeth showed that a fast, detailed Dungeon Master-style view fits a stock 48K machine with a floppy. clth stuck to that target and turned down suggestions to require 64K or a cartridge, though clth did consider making sound and music XL-only. The thread also became a good read on cc65 optimisation, with advice from ilmenit on lookup tables, zero-page variables and DOS-friendly file I/O.
Trying it
The demo game.xex is attached to the AtariAge thread "Vaults of Nhyrmeth (was 'dungeon crawler attempt')". A tester also posted an ATR version that boots DOS, so you can load GAME.XEX with L from the DOS menu. A later build from February 2021 added inventory slots and weapons: number keys select a slot and Return uses it. Development then moved to a new thread.
Credits
- AtariAge — Vaults of Nhyrmeth (was 'dungeon crawler attempt') — AtariAge forum members
