Development Tutorials
From wiki.gp2x.org
Contents |
Development in General
- Development FAQ
- Getting started with GP2X development
- Getting started with GP2X hardware hacking
- Source code to a Demo Program
- Using Visual C 2005 Express Edition
- GP2X Python Enviroment Setup
- GP2X Tiny C Compiler Setup
- Tiny C page
- Some debugging notes and tools
SDL
- SDL FAQ
- How to Install the SDL Libraries (for Developers)
- Writing an SDL Hello World
- Special things you might want to know when developing with SDL ("SDL Issues")
- SDL/Pygame Joystick mapping
- official SDL documentation wiki
- Sol's SDL tutorials
- Fast 32-bit to 16-bit framebuffer blit
Demo Development
- GP2X Demo Development Part 1
- GP2X Demo Development Part 2
- GP2X Demo Development Part 3
- The Original Thread @ gp32x.com
- Packing
Hardware
- Useful MMSP2 Hardware Registers
- Writing to the framebuffer device
- Reading from input device
- Writing to the dsp device
- Using the upper 32MB of memory
- Using the hardware blitter
- Setting the 8 bit palette from Linux
- Making Your Program Work with TV-out
- Details on the EXT Port
- How to use your GP2x as a USB Host (Plug in External HDD etc)
- Backlight Dimming
- Using /dev/batt to determine battery level
- Using the official interface to the 940t to decode video
- Using the i2c interface to read the serial number, lcd setting etc. Note: article doesn't apply to recent firmwares and needs updating
- Using the Cx25874 chip for TVOut and I2C Note: WIP
Linux
- Shellscript HowTo
- Turning on and off the USB mass storage driver
- Build your own Kernel / modules for the GP2x
- Building Firmware 2.0.0 modules
- Getting started with GP2X kernel development
Useful Things
- A Makefile for compiling a PC and a GP2X Version at the same time
- Creating a second firmware that you can run from your SD card, preserving your NAND.