Sample Categories
Graphics Samples
RSX graphics, texture rendering, Cairo 2D graphics, image loading (PNG/JPG)
Input Samples
Controller input, keyboard, camera, and PlayStation Move support
Audio Samples
Audio playback, synchronization, and multi-channel audio
Network Samples
TCP/UDP sockets, HTTP requests, network debugging
SPU Samples
SPU thread programming, DMA transfers, parallel processing
System Samples
Message dialogs, on-screen keyboard, save data, threading
Directory Structure
The samples are organized in the following structure:Building Samples
Build All Samples
From thesamples/ directory:
Build by Category
Build samples in a specific category:Build Individual Sample
Build a single sample application:Clean Build Files
Remove all build artifacts:Running Samples
Common Build Requirements
All samples require:- PSL1GHT SDK properly installed
- PS3DEV environment variable set to your toolchain location
- PSL1GHT environment variable pointing to PSL1GHT installation
- PATH including
$PS3DEV/binand$PS3DEV/ppu/bin
Sample Complexity Levels
Beginner
Start with these simple examples:audio/audiotest- Basic audio playbackinput/padtest- Controller input basicsnetwork/networktest- Simple TCP/UDPsys/msgdialog- System dialogs
Intermediate
Once comfortable with basics:graphics/rsxtest- 3D graphics with shadersgraphics/cairo- 2D vector graphicsaudio/audiosync- Event-based audiospu/sputest- Basic SPU programming
Advanced
Complex multi-component samples:graphics/rsxtest_spu- RSX + SPU collaborationspu/spuchain- SPU thread synchronizationspu/spurs- Advanced task scheduling
Additional Resources
API Reference
Complete API documentation for all PSL1GHT modules
Graphics Guide
In-depth graphics programming guide
Audio Guide
Audio system architecture and best practices
SPU Guide
Cell SPU programming patterns and optimization
Getting Help
If you encounter issues:- Check that your SDK is properly installed
- Verify environment variables are set correctly
- Review the sample’s Makefile for dependencies
- Check console output for error messages
- Refer to the specific sample documentation pages