I just found this site supplying a gameduino emulator and thought others in this site would be interested.
Not able to verify it yet as at work but looks interesting...
Its using Visual Studio project files but I am sure with a bit of work that can be fixed! :)
It should be relatively easy to port it to another OS. You just need to write the functions of the 'graphics driver', 'system os', 'keyboard' and 'audio driver' classes, which are quite simple. Graphics just draws to an ARGB1555 byte buffer that you need to supply, audio renders into a ~10-100ms signed 16 bit buffer you need to supply, and for keyboard you just set the pins you want changed. System has calls for setting thread priority, sleeping, and stuff like that.
I'll make some additional function later on that'll allow you to specify the virtual wiring of your input devices in the main, as well as letting the coprocessor run synchronized with the sound sample rendering instead of with the graphics, so that you can test that sort of functionality as well. The coprocessor in the emulator currently runs inbetween the graphics drawing, so that it can properly synchronize with the YLINE (seperate thread gave troubles due to thread scheduler kicking it for too long regularly).
I wrote one a few months back. You can download the zip'ed source files for it here: http://www.scale18.com/gamed.zip
Just modify the gamed.cpp file to select what you are compiling.
If you enable the "domo.cpp" file you can play a demo scrolling game that I was working on. Just use "A" to jump and "4" and "6" to move around.
I haven't worked on the code in a few months as I've been busy.
Asked: Jun 07 '11
Seen: 386 times
Last updated: Jun 11 '11
powered by ASKBOT version 0.6.76
Copyright Gameduino.com, 2011. Some rights reserved under creative commons license.