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
-
Rust sources
rustup component add rust-src
-
cargo install xargo
-
arm-none-eabi
binutils
-
Mac
brew cask install gcc-arm-embedded
-
Ubuntu
apt install binutils-arm-none-eabi
-
All that's needed is to run a small bash script.
# 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
.