Skip to content

Latest commit

 

History

History
34 lines (25 loc) · 1.2 KB

Readme.md

File metadata and controls

34 lines (25 loc) · 1.2 KB

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.).