Virtual Infocom — a Z-machine interpreter for the Virtual Boy
Hi all — this is my first game release, and it’s one I’ve wanted to exist for a long time.
Infocom put their text adventures on just about every computer of the eighties. The Virtual Boy never got one — no Z-machine, no text adventure, nothing. So I built the interpreter myself: Virtual Infocom runs Z3, Z4, and Z5 story files on real Virtual Boy hardware.
A few things about how it works:
– It boots like a Commodore 64. Calibration gate first (like every VB game), then a C64-style boot screen in VB red — and the machine types the LOAD/RUN sequence itself before your game starts.
– You type on a dual-cursor keyboard. One cursor per D-pad, one per hand. The full button list: the left and right D-pads move the two cursors; L and R type the key under each cursor; A is space; B is backspace; Start is Enter; Select flips the grid to a digits layer and back. It sounds odd, but after a few minutes it gets surprisingly quick — as far as I know, nobody has ever typed directly into a Virtual Boy before. One warning, because it caught me too: the left cursor inverts its key, but the right cursor only darkens its key slightly. Both work the same — the right one’s feedback is just subtler. And if two cursors feel strange for the first few minutes — DON’T PANIC. It settles in fast.
– Saves work. SAVE/RESTORE use the standard Quetzal format and live in the cart’s SRAM, and UNDO works too.
– It brings its own demo. TEST CHAMBER is a tiny original adventure I wrote to shake the interpreter down, and it’s included so anyone can try it right away.
Now the important part — the bring-your-own-story model. No Infocom games are included, and none are distributed with this, ever. What you download is the maker: the interpreter ROM plus a small combiner tool (Python, nothing to install). You point the combiner at a story file from your own collection, it validates the file and assembles your personal ROM, and you flash that. Zork, Planetfall, Hitchhiker’s — if you own the story file, you can play it in the visor, which turns out to be a pretty great reading cave in the dark — pitch black, red text, and not a grue in sight.
Honest limits, so nobody’s surprised: the Z6 graphical games (Zork Zero and friends) are out of scope — different screen model entirely. Story dynamic memory is capped at 28 KB, which covers most of the Infocom shelf comfortably (Hitchhiker’s uses about 15 KB), though the very largest titles may not fit. And sound effects aren’t wired up yet, so the few games that beep will beep silently.
The interpreter ROM ships unpadded, at its natural size — pad it if your cart needs padding.
Download and source:
Everything was tested on real hardware, because real hardware keeps you honest. Hope some of you get a kick out of playing Zork the way it was never meant to be played.
https://github.com/GamerMechanic1981/virtual-infocom/releases/download/v1.0/virtual-infocom.zip
-Seth
No replies yet.