Skip to content
This repository was archived by the owner on Jun 21, 2026. It is now read-only.
hugoschoolPublic archive

About

Bare metal compilation of Game Boy Advance cartridges

Resources

Stars

1 star

Watchers

0 watching

Forks

Repository files navigation

Cartridge

Bare metal compilation of Game Boy Advance cartridges

Creation of our own "kernel" (src, include folders)

Example available in example

Build

Compiling our own SDK

cd sdk
make
make move

Compiling the kernel

You're going to need arm-none-eabi-gcc and arm-none-eabi-newlib.

Nix flake available with all tools using nix develop

cd src
make

Compiling the example

cd example/menus
make

Launching the example

The emulator is available here

Download and compile it using the instructions given.

Create a file in ~/.config/cartridge/emulator_path with the full path to the emulator:

<...>/ayyboy-advance/target/release/ayydbg

Then go to the example folder and run cartridge emu --rom ./<game>.rom

Useful resources

More available in the code comments ;)

About

Bare metal compilation of Game Boy Advance cartridges

Resources

Stars

1 star

Watchers

0 watching

Forks

Contributors

Languages