I improved upon my 6502 or specifically Asteroids translation to C, and from there compiled it for the GP2X.
Translation was probably not necessary for this platform...Anyway, it outruns the frame rate of the unit already so if you go into the lcd settings and change the refresh rate settings you can control the speed of the game.
Sound is not supported at this time.
I am not interested in distrubuting the roms at this time so I am not offering a final binary, you acquire the rom files (same files used by MAME), from there build.bat will take care of the rest. See the README.TXT file in
http://www.dwelch.com/gp2x/ASTEROIDS_20061031a.7z
or
http://www.gigasize.com/get.php/150411/arm...IDS20061031a.7z
Both are 7zip files, I assume any good zip program can handle 7zip. The first link is just the translation stuff. The second includes my gcc cross compiler. I am pretty sure the GPH gcc will not work. The gigasize link is about 10Mbytes and includes the files in the dwelch.com link.
A windows version is also part of this. You will need MinGW to build. See the README.TXT file.
Note the 6502 rom is translated. The vector graphics processor is emulated. I still want to change that at some point. Since the program generates the vector graphics binaries at run time you cannot translate. But the rocks and ships and such are just subroutines in rom, so you dont have to draw lines to draw the rocks, you could figure them out pre-runtime and hardcode sprites. This would improve performance on a performance starved platform like the GBA or even iPod, for the GP2X, even with full vector emulation and unoptimized line draws, it already outruns real-time. For now the vector graphics is limited using a generic line draw.
Translation was probably not necessary for this platform...Anyway, it outruns the frame rate of the unit already so if you go into the lcd settings and change the refresh rate settings you can control the speed of the game.
Sound is not supported at this time.
I am not interested in distrubuting the roms at this time so I am not offering a final binary, you acquire the rom files (same files used by MAME), from there build.bat will take care of the rest. See the README.TXT file in
http://www.dwelch.com/gp2x/ASTEROIDS_20061031a.7z
or
http://www.gigasize.com/get.php/150411/arm...IDS20061031a.7z
Both are 7zip files, I assume any good zip program can handle 7zip. The first link is just the translation stuff. The second includes my gcc cross compiler. I am pretty sure the GPH gcc will not work. The gigasize link is about 10Mbytes and includes the files in the dwelch.com link.
A windows version is also part of this. You will need MinGW to build. See the README.TXT file.
Note the 6502 rom is translated. The vector graphics processor is emulated. I still want to change that at some point. Since the program generates the vector graphics binaries at run time you cannot translate. But the rocks and ships and such are just subroutines in rom, so you dont have to draw lines to draw the rocks, you could figure them out pre-runtime and hardcode sprites. This would improve performance on a performance starved platform like the GBA or even iPod, for the GP2X, even with full vector emulation and unoptimized line draws, it already outruns real-time. For now the vector graphics is limited using a generic line draw.