gsKit is a library that provides a C interface to the Playstation 2 Graphics Synthesizer.
It is low level in nature, implimented using the PS2SDK and inline assembly.
This project does not aim to be all inclusive, rather a "lean and mean" interface to the GS hardware.
gsKit aims to provide the following functionality:
- Multi format GS initialization. (NTSC, PAL, DTV, VESA)
- VSync, Double Buffering, Anti Aliasing, and Z Depth Test.
- Overlay and multi-context support utilizing the "Merge Circuit".
- Basic primitives as per the Sony documentation. (Line, Tri, TriStrip, ...)
- Extended primitives support. (Quads and GL Style Vertex Lists)
- Simple texture loading and handling.
- Font and printing support for FNT and TrueType formats.
- GS debugging and diagnostic functionality.
- C accessibility of all documented GS instructions.
gsKit also includes a library named dmaKit. dmaKit provides C routines for DMAC usage by gsKit.
The aim of this library is also for eventual inclusion in PS2SDK.
For now, it will remain part of the gsKit project while it matures.
gsKit Version 0.2 (Source and Precompiled Binaries)
gsKit Version 0.2 (Source Only)
gsKit Development and Discussion Thread
gsKit Version 0.1-BETA (Source and Precompiled Binaries)
gsKit Version 0.1-BETA (Source Only)