[Rossum] just finished porting Zork over to the Microtouch. This hardware, which he originally designed, is now available for purchase through Adafruit. It’s a tiny 320×240 TFT touchscreen, driven by an AVR ATmega32u4 microcontroller. The device draws power from a lithium battery, and also boast a USB connection and a MicroSD slot.
The hack here is getting Zork to run with the limited resources available on the device. [Rossum] needed to emulate the Z80 processor, but didn’t want to use extra hardware in the way that [Sprite_TM] did when he emulated a Z80 using an AVR. Instead, this is based on a stripped-down implementation of Frotz. The final code is too big to fit on the chip along side of the bootloader. This means you’ll need to use an ISP programmer in order to flash this example to the chip. We’re pretty sure that AVRdude can program the ATmega32u4, so pretty much any ISP (including an Arduino) can be used to do the programming.
Love it! I can remember spending hours hunched over a Lear Siegler ADM-3 terminal connected to a Data General minicomputer as a kid playing “Adventure”.
“You are in a twisty maze of passageways, all alike,”
Wow, the Microtouch is an impressive little piece of hardware. For $69, I want one!
Fabulous work. Love it.
I think it would be nice if the device had the option of a chorded keyboard for those times when you need to Zork single handed.
Wasn’t there a graphical version of Hitchikers? Or is that something that only exists on the BBC website.
text Zork to 41411 i think that’s the # for textmarks. i used to play zork via SMS until i got a touchscreen, now i hate to text. so.. that would kinda piss me off. nice when you have unlimited text and a phone with a keyboard.
Look, I’ve been eaten by a Grue, and it isn’t all that.
-and you should have seen her SISTER!
It’s emulating the Z-machine (Infocom’s virtual machine), not a Z80. Rossum gives more information about the Z-machine in his post.
Great work! I had the same idea once. But after loading the source of Frotz in my IDE i gave up. ;-)
Where did Rossum postet the source?
That’s truly awesome. I’d been wanting to do something similar, making a text-adventure system using those ubiquitous 128×64 monochrome GLCDs and support for an actual keyboard, but am not a good enough programmer to overcome the memory limitations of low-end microcontrollers… and then tried with the STM32, but couldn’t figure out how to get screen scrolling to work.
I might have to look at Rossum’s code; there are some nice $40 STM32 dev boards out there with 2.8″ touchscreen LCDs that it could be awesome to get this running on…
No code has been posted .. only a hex file…
Oh well..
Not very GNU…