Bare metal compilation of Game Boy Advance cartridges
Creation of our own "kernel" (src, include folders)
Example available in example
cd sdk
make
make moveYou're going to need arm-none-eabi-gcc and arm-none-eabi-newlib.
Nix flake available with all tools using nix develop
cd src
makecd example/menus
makeThe 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
- https://problemkaputt.de/gbatek.htm
- https://users.ece.utexas.edu/~mcdermot/arch/articles/ARM/arm7tdmi_instruction_set_reference.pdf
- https://www.cs.rit.edu/~tjh8300/CowBite/CowBiteSpec.htm
More available in the code comments ;)