andreasjhkarlsson / gbdk-n

gbdk libraries updated for newer versions of sdcc
175 stars 25 forks source link

gbdk-n

Background

The Gameboy Development Kit (GBDK) is an SDK for developing applications/games for the gameboy platform. The library bundles a custom version of the Small Device C Compiler (SDCC), libraries & examples.

The latest update of GBDK was a long time ago (mid 2002). Since then the SDCC compiler has gotten native support for compiling and linking fully functional gameboy roms.

However GBDK is still useful since it contains libraries for developing applications for the gameboy family. This project aims to update the libraries to be compatible with new versions of SDCC and provide helpers for building roms.

The GBDK libraries are copied from the latest source release on sourceforge: http://sourceforge.net/projects/gbdk/files/gbdk/2.96/

Usage

Building the library:

$ make

Building the examples:

$ make examples

Building custom ROMs:

NOTE: All commands listed below are simply wrappers to SDCC, see the SDCC documentation for flags and general usage.

For exact commands, please see the Makefiles for the example programs.