I supposed I should have figured this out earlier, but there just isn’t enough SRAM for the zip interpreter to run the Zork I story file. It is trying to malloc() approximately 30KB of ram for various data structures, and the poor little Arduino Mega only has 8. It might be possible to […]
As I said in a previous post, It looks like a standard Arduino just doesn’t have enough memory, so I found an Arduino Mega, which is based on the ATMega 1280 rather than the 328. However, when I got the Mega from MakerBot Industries, it refused to accept any new program uploads. Every time I […]
So, by commiting acts of unspeakable hackery, I’ve gotten it small enough to load onto the Arduino: Of course it doesn’t run, but that’s a different hurdle.
So after much hacking away, I’ve finally gotten the zip code to compile under the Arduino IDE. But it doesn’t quite fit.
Part converting the code for use being fed to a TDD is to make it a long stream, rather than a pretty curses(3) based interface. This means that all the trouble the developers spent on making lines wrap cleanly, and providing vertical breaks between elements is lost.
Since my original concept was to power this with an Arduino microcontroller platform, I’ve decided to see if I can power it with an Arduino Pro from Sparkfun. Why Arduino? Why not code to the bare uC? Arduino has got a nice IDE, which makes development easier, and it’s got lots of pluggable hardware that […]