A small example of a GBA game with a ball moving across the screen using the directional cross pad
- Install DevkitPro pacman from official website
- Install GBA dev tools:
sudo pacman -S gba-dev
(install all) - Add devkitArm/bin path to your PATH enviroment variable, in my case I added
/opt/devkitpro/devkitARM/bin
- Run
./compile.sh
in the folder directory, then open .gba file with you favorite emulator