Skip to content
gbdk libraries updated for newer versions of sdcc
Assembly C++ C Makefile Other
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.
examples Add build scripts for Windows Sep 4, 2016
include Fix INT8 that was unsigned instead of signed Feb 25, 2019
.gitignore Add .gitignore Sep 22, 2015
Makefile Update README Oct 2, 2015



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:


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.

  • Compile / assemble .c files and .asm files into .rel files using the and commands respectively.
  • Link together one or more .rel files into an .ihx file using the command.
  • Create a ready to use .gb rom file from the .ihx file with the command.

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

You can’t perform that action at this time.