In order to learn more about the low-level aspects of rust, I decided to implement some simple proof-of-concept games for the gameboy advance in rust.
For now there is only a very simple implementation of snake.
-
curl https://sh.rustup.rs -sSf | sh
-
Rust nightly
rustup install nightly rustup override set nightly
-
Rust sources
rustup component add rust-src
-
cargo install cargo-xbuild
-
arm-none-eabi
binutils
-
Mac
brew cask install gcc-arm-embedded
-
Ubuntu
apt install binutils-arm-none-eabi
-
Windows
No need. It's included in this repository.
-
All that's needed is to run a small bash script.
Windows:
./windows/build-release.bat
Non-Windows:
# Debug
./build.sh
# Release
./build.sh --release
After building, find the .gba
file to load into a GBA emulator in ./out
. So
far, this has been tested and works on mGBA
.