Last days i wrote an low level library for FreePascal and GP2X. I got the blitter, joystick and double buffering working. Only one function, SDL_GetTicks(), is used from SDL, all other is done with own functions.

A simple demo is available from: http://www.seban.de/download/fpc4gp2x.zip

Usage:

X - Exit

Volume- = disable "wait for sync"
Volume+ = enable "wait for sync"

Joystick Left - ClearScreen without blitter support
Joystick Right - ClearScreen with blitter support
Joystick Up - Show single image with transparent color (fuchsia)
Joystick Up - Show 400 Image per frame (25.500 Frames) with transparent color (fuchsia)

This is only for testing, don't expect too much. Next days i will implement a simple font library, so i can make complexer samples.

Regards,
Thomas

03.02.2009 Added Screenshot (done with demo program)

Main menu


1000 sprites


Button testing