>>> Play my BBC Micro version online <<<
This repo contains my "bare bones" conversion of A. Knight's 1980 text adventure game Galactic Hitchhiker: I took the original game, which was made for the Compukit UK101, and modified it slightly so that it would run on a BBC Micro.
See my blogpost about Galactic Hitchhiker.
Both the Compukit UK101 and the BBC Micro are computers that use the 6502 CPU. Because Galactic Hitchhiker was distributed as 6502 machine code for the UK101, I only needed to make minor changes to get it running on the Beeb. All of the game logic and the game data (messages, room descriptions, etc.) have been left unchanged.
(But because I'd only ever dabbled in 6502 machine code programming before now — never mind disassembly and reassembly — I still found that the task of converting the game was a bit tricky.)
The original-hex folder contains a plain-text representation of the 6502 machine code for the original UK101 version of Galactic Hitchhiker.
The disassembly folder contains an edited disassembly of the original UK101 6502 code for Galactic Hitchhiker. It can be reassembled using beebasm.
The beebify folder contains the assembly code for my BBC Micro conversion of Galactic Hitchhiker. The assembly code is very similar to that for the UK101 version. It can be assembled using beebasm.