AGBx

Framework for development on the Game Boy Advance.

Building

As the Game Boy Advance uses an ARM (ARM7TDMI) processor, AGBx requires an ARM cross-compiler.

For GCC, the appropriate package is arm-none-eabi-gcc on Arch Linux and gcc-arm-none-eabi on Debian. Clang supports supports cross-compilation by default, and this platform can be set via the --target=arm-none-eabi option.

The used cross-compiler can be configured in the makefiles, however, it must be GCC-compatible..

Debug mode can be enabled by setting DEBUG=true when invoking make.


The provided makefiles are for GNU Make (hence the filename of GNUmakefile) and depend on it's extensions.

Demo

The demo uses agbsum (pkgbuild) for patching the demo image header checksum so that it isn't rejected by the bootloader. This patch isn't always required, however, and the makefile (at demo/GNUmakefile) can be modified to skip it.