Rednex Game Boy Development System - An assembly toolchain for the Nintendo Game Boy and Game Boy Color https://rgbds.gbdev.io
  • C++ 67.1%
  • Assembly 17.9%
  • Shell 6.7%
  • Yacc 4.9%
  • CMake 2.4%
  • Other 0.9%
Find a file
2026-05-25 23:55:57 -04:00
.github Do not support GCC 9 (#1978) 2026-05-22 16:46:46 -04:00
cmake Link zlib and libpng statically by default 2026-05-14 14:47:23 +02:00
contrib Touch up checkformat.bash 2026-04-16 01:05:03 +02:00
docs Intern strings used as identifiers (for labels, constants, macros, charmaps, etc) (#1980) 2026-05-25 16:22:29 -04:00
include Ensure CRLF line endings are preserved when necessary 2026-05-25 22:00:45 -04:00
man Remove the claim that only exported symbols appear in sym and map files 2026-04-09 21:28:07 -04:00
src Intern identifier strings only after checking for keywords 2026-05-25 23:55:57 -04:00
test Update .gitattributes for test/asm/crlf.asm 2026-05-25 22:57:52 -04:00
.clang-format Give clearer names to template parameters 2025-10-08 14:55:43 -04:00
.clang-tidy Run clang-tidy with make tidy 2025-07-18 10:10:34 -04:00
.dockerignore .dockerignore is too trivial to license :P 2024-02-18 18:45:49 -05:00
.editorconfig Add CMake and YAML files to EditorConfig 2026-03-19 20:30:12 +01:00
.git-blame-ignore-revs Add .git-blame-ignore-revs as a blame.ignoreRevsFile 2026-04-13 13:26:29 -04:00
.gitattributes These extensions should be binary 2024-09-06 21:35:17 +02:00
.gitignore Switch MinGW building to CMake 2026-04-16 00:57:33 +02:00
CMakeLists.txt Pass -Wno-unused-but-set-variable by default, not just in make develop 2026-05-23 01:40:13 -04:00
CMakePresets.json Correct naming of MSBuild CMake presets 2026-04-20 15:32:54 +02:00
compile_flags.txt Do not support GCC 9 (#1978) 2026-05-22 16:46:46 -04:00
Dockerfile Print a GitHub Actions error annotation if install_deps.sh fails 2026-04-13 02:04:56 -04:00
LICENSE Avoid non-ASCII characters when not necessary 2025-07-23 21:18:21 -04:00
Makefile Intern strings used as identifiers (for labels, constants, macros, charmaps, etc) (#1980) 2026-05-25 16:22:29 -04:00
README.md Fix internal link to docs/CONTRIBUTING.md 2026-04-13 02:34:46 -04:00

RGBDS

RGBDS (Rednex Game Boy Development System) is a free assembler/linker package for the Game Boy and Game Boy Color. It consists of:

  • RGBASM (assembler)
  • RGBLINK (linker)
  • RGBFIX (checksum/header fixer)
  • RGBGFX (PNG-to-Game Boy graphics converter)

This is a fork of the original RGBDS which aims to make the programs more like other UNIX tools.

This toolchain is maintained on GitHub.

The documentation of this toolchain can be viewed online, including its basic usage and development history. It is generated from the man pages found in this repository. The source code of the website itself is on GitHub as well under the repository rgbds-www.

If you want to contribute or maintain RGBDS, please read our contribution guide. If you have questions regarding the code, its organization, etc. you can find the maintainers on the GBDev community channels or via mail at rgbds at gbdev dot io.

Installing RGBDS

The installation procedure is available online for various platforms. Building from source is possible using make or cmake; follow the link for more detailed instructions.

make
sudo make install
cmake -S . -B build -DCMAKE_BUILD_TYPE=Release
cmake --build build
cmake --install build

Two parameters available when building are a prefix (e.g. to put the executables in a directory) and a suffix (e.g. to append the version number or commit ID).

make
sudo make install PREFIX=install_dir/ SUFFIX=-$(git rev-parse --short HEAD)
cmake -S . -B build -DCMAKE_BUILD_TYPE=Release -DSUFFIX=-$(git rev-parse --short HEAD)
cmake --build build
cmake --install build --prefix install_dir

(If you set a SUFFIX, it should include the .exe extension on Windows.)