GP2X SDL Demos
This page contains some demos I've created for the GP2X. These demos are written in C and use SDL. You'll need something like devkitProGP2X to compile them.
There are several pieces in the source code that can be re-used in other applications. There is a targa file reader, a file-selector, a hex-viewer, and some code for handling button press/release/repeat.
2005-Dec-17
gp2x/demos-src.tar.gz (117.98KB)
Source code for all demos on this page.
gp2x/demos-src.zip (167.16KB)
Source code for all demos on this page.
2005-Nov-28
gp2x/hello-bin.tar.gz (274.82KB)
Simple hello program from the gp2x wiki.
gp2x/hello-bin.zip (275.02KB)
Simple hello program from the gp2x wiki.
2005-Nov-30
gp2x/fontdemo-bin.tar.gz (277.57KB)
Demonstrates drawing using a fixed pitch bitmap font.
gp2x/fontdemo-bin.zip (277.87KB)
Demonstrates drawing using a fixed pitch bitmap font.
2005-Nov-28
2005-Nov-28
gp2x/speed-bin.tar.gz (427.74KB)
Speed test of drawing lots of sprites.
gp2x/speed-bin.zip (468.71KB)
Speed test of drawing lots of sprites.
2005-Dec-02
gp2x/stick-bin.tar.gz (277.82KB)
Joystick demo. shows data on-screen.
gp2x/stick-bin.zip (278.27KB)
Joystick demo. shows data on-screen.
2005-Dec-01
gp2x/fileview-bin.tar.gz (279.66KB)
File browser with hex view. The file viewer and hex viewer can be embedded into other programs.
gp2x/fileview-bin.zip (279.95KB)
File browser with hex view. The file viewer and hex viewer can be embedded into other programs.
2005-Dec-17
gp2x/MemoryExplorer-bin.tar.gz (278.89KB)
A program to allow browsing memory, reading and writing values to any address. WARNING this program can brick your gp2x if you aren't careful. You have been warned. No whining.
gp2x/MemoryExplorer-bin.zip (279.44KB)
A program to allow browsing memory, reading and writing values to any address. WARNING this program can brick your gp2x if you aren't careful. You have been warned. No whining.