Page 1 of 1

The complete Colossal Cave Adventure in 64K!

Posted: Tue Sep 09, 2025 10:53 pm
by pdragon
Here's the result of my latest Forth adventure (see what I did there?). This is a full TaliForth port of the original Colossal Cave Adventure (350pt version) for the 65C02 that runs in just 64K. Thanks to SamCoVT for all the support hacking on the amazing TaliForth code base!

source on github

I translated into Forth fairly closely from the C code and hadn't written much Forth before so I'm sure there are many possible improvements. Suggestions and pull requests welcome.

Re: The complete Colossal Cave Adventure in 64K!

Posted: Wed Sep 10, 2025 1:44 am
by 6502inside
That's a really nice setup.

Re: The complete Colossal Cave Adventure in 64K!

Posted: Wed Sep 10, 2025 7:45 am
by gfoot
Very interesting, thanks for sharing!

Re: The complete Colossal Cave Adventure in 64K!

Posted: Wed Sep 10, 2025 3:14 pm
by gilhad
Yay! It is so nice :)

Re: The complete Colossal Cave Adventure in 64K!

Posted: Fri Sep 12, 2025 6:57 pm
by Martin_H
Impressive all around. That it's running on a breadboard computer is icing on the cake.

Re: The complete Colossal Cave Adventure in 64K!

Posted: Sun Sep 14, 2025 8:11 pm
by cjs
I love the diodes there. Make it clear and visible that this is an expensive keyboard with a diode for every key!

Re: The complete Colossal Cave Adventure in 64K!

Posted: Sun Sep 14, 2025 8:32 pm
by gfoot
If only they were LEDs :)

Re: The complete Colossal Cave Adventure in 64K!

Posted: Sun Sep 14, 2025 9:59 pm
by cjs
gfoot wrote:
If only they were LEDs :)
I entirely disagree. I see LEDs on a keyboard, and I think it's for some kid gamer who wants flashy-flashy. I see 4148s, and I see that someone's been willing to spend money on real functionality that the gamer kids probably don't even know how to tell if it's there or not.

A diode on every key to prevent phantom keypresses for certain combinations in the matrix is for people who drive stick shift. LEDs are for people who can use only automatic transmissions.

Re: The complete Colossal Cave Adventure in 64K!

Posted: Mon Sep 15, 2025 1:41 am
by pdragon
lol, the keyboard is this nullbits kit, love it!

https://nullbits.co/nibble/

it does in fact *also* have some underglow LEDs which I use to indicate different layers.

it has a more powerful CPU than the breadboard, but i just use it to send ascii keypresses using SPI

Re: The complete Colossal Cave Adventure in 64K!

Posted: Mon Sep 15, 2025 5:03 am
by barnacle
pdragon wrote:
it has a more powerful CPU than the breadboard, but i just use it to send ascii keypresses using SPI
We have reached the stage in our hobby of using a five-axis CNC machine to make replacement parts for our steam locomotive... :mrgreen:

Neil

(and I thoroughly approve).