I've written an emulator for the Gameduino open retro gaming hardware, and made it open source.

You can grab the source code from http://code.google.com/p/gdemu/


"Gameduino Emulator" running the sample apps (Games, Retro)