The complete Colossal Cave Adventure in 64K!

Topics relating to various Forth models on the 6502, 65816, and related microprocessors and microcontrollers.
Post Reply
pdragon
Posts: 126
Joined: 26 Sep 2023

The complete Colossal Cave Adventure in 64K!

Post 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.
Attachments
adventure-splash.jpeg
6502inside
Posts: 101
Joined: 03 Jan 2007
Location: Sunny So Cal
Contact:

Re: The complete Colossal Cave Adventure in 64K!

Post by 6502inside »

That's a really nice setup.
gfoot
Posts: 871
Joined: 09 Jul 2021

Re: The complete Colossal Cave Adventure in 64K!

Post by gfoot »

Very interesting, thanks for sharing!
Martin_H
Posts: 837
Joined: 08 Jan 2014

Re: The complete Colossal Cave Adventure in 64K!

Post by Martin_H »

Impressive all around. That it's running on a breadboard computer is icing on the cake.
User avatar
cjs
Posts: 759
Joined: 01 Dec 2018
Location: Tokyo, Japan
Contact:

Re: The complete Colossal Cave Adventure in 64K!

Post by cjs »

I love the diodes there. Make it clear and visible that this is an expensive keyboard with a diode for every key!
Curt J. Sampson - github.com/0cjs
gfoot
Posts: 871
Joined: 09 Jul 2021

Re: The complete Colossal Cave Adventure in 64K!

Post by gfoot »

If only they were LEDs :)
User avatar
cjs
Posts: 759
Joined: 01 Dec 2018
Location: Tokyo, Japan
Contact:

Re: The complete Colossal Cave Adventure in 64K!

Post 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.
Curt J. Sampson - github.com/0cjs
pdragon
Posts: 126
Joined: 26 Sep 2023

Re: The complete Colossal Cave Adventure in 64K!

Post 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
barnacle
Posts: 1831
Joined: 19 Jan 2004
Location: Potsdam, DE
Contact:

Re: The complete Colossal Cave Adventure in 64K!

Post 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).
Post Reply