pikhq's site 'n things

H2G2, RC2014 style

The start of the Hitchhiker’s Guide to the Galaxy text adventure game, by Infocom. It is pitch black.

Wheee, Hitchhikers’ Guide running on my RC2014!

Believe it or not, I actually had to do some hex editing to get this to work. Turns out the sequences on here didn’t cooperate with the terminal board. This blog post from someone trying to get it to work on their Osborne had the offsets to edit though: Osborne Restoration part 17: text adventure games!.

The relevant escapes were “\e[2J\e[24;1H” to initialize, “\e[s\e[H\e[7m” to draw the status bar, and “\e[u\e[m” to draw the prompt line, if you were wondering.