The first stage of my port of pegged to Swift is successful :)

I have managed to get the Objective-C version of pegged to spit out a parser using Swift rather than Objective-C 🙂 It’s getting late, so I really should get some sleep. I finally figured out what was causing the compiler to crash.  The following code will crash the Swift compiler unless the inout parameter to …

Objective-C to Java and back again via JNI and Unix pipes

I’ve been working on a piece of software for some time now that is almost ready for a public release.  For part of it I needed to connect to various databases, some of which are only accessible via JDBC.  My problem is that my app is written in Objective-C.  For the first version of my …

I have just uploaded the next release of i48 for review

The latest version of i48 has been submitted review by Apple. This new version adds support for running the emulation at full speed (although that has some interesting effects on usability).  I have also added theme support and included a theme based on Power48 provided by Fabrice Roux.  Finally the buttons now highlight when they …

BlogThing 2.0 has finally been released

After what seems like ages I have finally released BlogThing 2.0.  This new release is totally rewritten from scratch and provides some very nice new features.  The coolest one is the new video upload facility.  Just add a video file to the page and press the Post button.  BlogThing will encode the file and upload …

More progress on the HP48GX emulator for the iPhone

I had a bit more of a play with the emulator code tonight and fixed up a few little glitches.  I also changed the color of the emulation screen to look more like the real thing 🙂  Now off to bed!  It also looks like it is OK to distribute the ROM file as apparently …

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  …