Skip to content
Having fun on the GBA, and porting TONC's examples.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
bm_modes
brin_demo
etch_a_sketch
first
gba
key_demo
pageflip
.gitignore
LICENSE
Readme.md

Readme.md

Rusty TONC

This is a fun little project run some Rust code on the GBA. It's all inspired by the TONC GBA tutorial, and I'm writing some blog posts to go along with it.

Getting Started.

What you will require to run these examples is DevKitARM, as well as the cross compiling took xargo.

  • Install DevKitARM,
  • Add the binaries to your path, (i.e. arm-none-eabi-gcc works).
  • cd first && ./build.sh should work.

(Oh, it calls open first.gba at the end, which opens up an emulator for me, and is OSX specific. Sorry :/)

Why?

TONC is where I first did any C development, so it seemed like fun to go back to that. Maybe, if I have far too much free time, I'll even get this working on the nds too.

Currently, it's looking like Rust is nicer than C in some places (I quite like my Input module, but is not so great in others. Why so many as isize casts, and I still don't know the best way to have pointers into raw memory.).

You can’t perform that action at this time.