ps2dev / gsKit

gsKit is a C interface to the PS2 Graphics Synthesizer
Other
103 stars 27 forks source link

GSKIT

  ____     ___ |    / _____ _____
 |  __    |    |___/    |     |
 |___| ___|    |    \ __|__   |              gsKit Open Source Project.
 -----------------------------------------------------------------------
 Copyright 2004 - Chris "Neovanglist" Gilbert <Neovanglist@LainOS.org>.
 All rights reserved.
 Licenced under Academic Free License version 2.0
 -----------------------------------------------------------------------

CI CI-Docker

ATTENTION

If you are confused on how to start developing for PS2, see the getting started section on the ps2dev main page.

Introduction

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.

The following list is of things that, when complete, gsKit will be capable of when it reaches it's mature stages. It is currently in the early stages of development. Read the STATUS file for detailed information.

gsKit aims to provide the following functionality:

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.

This library is designed for integration into the PS2SDK when it becomes mature. As such, it is also designed to link and compile against the PS2SDK. Support for PS2LIB and other support libraries is untested.

Project Layout

A source or binary release of gsKit will include the following directories:

Installation

  1. Install PS2Toolchain In order to install gsKit, you must have previously installed the PS2Toolchain (which automatically install also the PS2SDK)

  2. Edit your login script Add this to your login script (example: ~/.bash_profile)\ export GSKIT=$PS2DEV/gsKit

NOTE: You should have already defined in your login script the $PS2DEV variable

  1. Compile and Install Run the next command make && make install

Build & Compile Examples

  1. Install CMake

  2. Build & compile make all

NOTE: The examples will be in the build folder

Important Notes

There are several small notes that need to be made about gsKit operation.

Community

Links for discussion and chat are available here.

Credits

See AUTHORS.