Adventure (Colossal Cave)

71 views
Skip to first unread message

Ryan Roth

unread,
Feb 27, 2026, 4:27:12 PMFeb 27
to PAL 6502 computer
I've been trying to create a full port of Adventure for the KIM-1, for a while, and with the help of Codex, I was able to complete it.

In the end I ended up giving Codex serial access to my KIM-1 and let it code, deploy, and test the changes. It was very interesting to watch this all in real time.

If you are interested in trying it out it does require an SD card reader:

https://github.com/ryaneroth/Adventure/tree/main

Nils Andreas

unread,
Feb 28, 2026, 2:00:35 AMFeb 28
to Ryan Roth, computer PAL
I‘m totally stunned.  Amazing. Time to connect my sd card again. 
In germany we say „Krass“
Thank you Ryan
Von meinem iPhone gesendet

Am 27.02.2026 um 22:27 schrieb Ryan Roth <hobo...@gmail.com>:

I've been trying to create a full port of Adventure for the KIM-1, for a while, and with the help of Codex, I was able to complete it.


In the end I ended up giving Codex serial access to my KIM-1 and let it code, deploy, and test the changes. It was very interesting to watch this all in real time.

If you are interested in trying it out it does require an SD card reader:

https://github.com/ryaneroth/Adventure/tree/main

--
You received this message because you are subscribed to the Google Groups "PAL 6502 computer" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pal6502+u...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/pal6502/6c917728-25c1-48e7-9e65-4337fa8b9f90n%40googlegroups.com.

Hans Otten

unread,
Feb 28, 2026, 7:55:44 AMFeb 28
to PAL 6502 computer
Amazing! The whole Colossal Adventure in a KIM-1!

Great job!

Ryan Roth

unread,
Feb 28, 2026, 8:20:32 AMFeb 28
to PAL 6502 computer
It is currently based off a ~270 point version of Adventure, and I am currently working on expanding it to match the 350 point version. But either way it is pretty awesome, and the performance reading the dta files from the SD card isn't bad.

Ronny Ribeiro

unread,
Feb 28, 2026, 9:44:23 AMFeb 28
to Ryan Roth, PAL 6502 computer
Very nice!
I need to try to implement an SD card adapter to the second RIOT of PAL-I...

Cheers!

Neil Andretti

unread,
Mar 1, 2026, 4:38:16 AM (13 days ago) Mar 1
to PAL 6502 computer
The Game loads very high in the ROM (A000-FE0D) , I think it will not work with the PAL-1 from what I see.

I tried it on my PAL-2, and the game did not load with error Z02. I suppose I have to fully reformat the SD card under linux.

Hans Otten

unread,
Mar 1, 2026, 4:42:15 AM (13 days ago) Mar 1
to PAL 6502 computer
On Windows MiniTool Partition Wizard works fine also to format in FAT, FAT16, FAT32 etc

Hans

Neil Andretti

unread,
Mar 1, 2026, 8:33:34 AM (13 days ago) Mar 1
to PAL 6502 computer
Hm. I tried everything. Always error Z02. Before I loaded Adventure, I checked if the SD Card is connected correctly by loading CPM65 - it did.
Maybe I try another SD card (right now it's a 4gb one.)

Ryan Roth

unread,
Mar 1, 2026, 8:43:46 AM (13 days ago) Mar 1
to PAL 6502 computer
You can change the destination ID, I use A000 as I prefer to just flash it to ROM and run it, as transferring it to RAM takes 30-40 minutes

Check the partition ID with something like fdisk, it needs to be 0c (W95 FAT32 LBA), you can check what the error codes mean here https://github.com/ryaneroth/sdcard6502/blob/master/src/libfat32.s#L68

Ryan Roth

unread,
Mar 1, 2026, 8:52:46 AM (13 days ago) Mar 1
to PAL 6502 computer
ALso, which SD card adapter do you have? This currently only supports the once linked in the readme, I don't have the SD card shield yet, as tariffs have made sourcing one rather expensive.

Neil Andretti

unread,
Mar 1, 2026, 12:37:49 PM (13 days ago) Mar 1
to PAL 6502 computer
HA! F*ck Windows.
There is absolutely no chance windows will set my SD card with partition filesystem 0C ... You need linux
Now it's working ! Thanks Ryan for the OC  hint. Windows does not offer to change it. Not even with Hans tool. It says FAT32, but it ain't (it's 07)

The next thing I tried was shrinking the binaries with exomizer.
From 24kb down to 10,8kb.  

For a final release I'd offer a diskimage to burn with dd or balenaEtcher - so the Disk is setted up correctly.

adventure.png

Ryan Roth

unread,
Mar 1, 2026, 2:27:59 PM (13 days ago) Mar 1
to PAL 6502 computer
Glad to see it is working. A disk image is a good idea, as I too fight with getting a proper partition on the SD cards.

Lars

unread,
Mar 8, 2026, 11:47:57 AM (6 days ago) Mar 8
to PAL 6502 computer

Hi,
I used Windows 11 Diskpart as Admin and set the partition ID with "set id=0c".

Many Thx for the "Adventure"

Ryan Roth

unread,
Mar 8, 2026, 8:48:37 PM (6 days ago) Mar 8
to PAL 6502 computer
Glad it is working for you. If you want another text adventure, I've been working on getting a z-machine created, as that opens up the KIM-1/PAL-1 to a lot more text adventures. Currently I am working on optimizing SD card reads, as the larger file sizes, really cause it to run slow.

https://github.com/ryaneroth/zmachine

Jeremy Harden

unread,
Mar 8, 2026, 9:43:20 PM (6 days ago) Mar 8
to Ryan Roth, PAL 6502 computer
I would simplify your port a la Scott Adams/Adventure International.  I made a 4 page zine on this suggestion which I should upload on Itch.io  You would technically divide the game into parts: The first line will just state the room name.  Second line the visible objects.  The third line will be your visible exits. I would skip a couple of lines that have that next line for system/adventure events.  Skip a few more and you have your parser, keep it VERB NOUN.  Your directions should be just the four compass, with up and down.  If you can squeeze it, in and out as well.

Reply all
Reply to author
Forward
0 new messages