Daniel's Stuff

I write code

A HP48GX emulator for the iPhone and iPod Touch

I have just released the source to a HP48GX emulator for the iPhone and iPod Touch.
It’s a very rough port of x48 to the iPhone, but it works :)  There is the occasional screen glitch and I’m not too happy with the screen buffer code.  Something else that is a bit annoying is that it appears that compiling in Debug mode to run on the device does not work.  It looks like one of the case statements in the x48 emulation code is too big to be compiled for ARM under gcc.  I had a quick look at using the LLVM compiler but it didn’t seem to like it.
The code can be downloaded from http://github.com/dparnell/i48/tree/master 
Another thing to be aware of is that the code does not include a ROM, but they are fairly easy to come by with a bit of googling :)

1 comment for “A HP48GX emulator for the iPhone and iPod Touch

  1. Jared
    September 10, 2009 at 9:45 am

    Daniel,

    Thanks so much for releasing this. I downloaded the source and had no problem at all compiling. Ran in the Simulator, had to change to release to build for my device. Looks great. I’ll play around with it a little and see if I can help in any way.

Leave a Reply

Your email address will not be published. Required fields are marked *