Crate gba

source ·
Expand description

This crate helps you write GBA ROMs.

SAFETY POLICY

Some parts of this crate are safe wrappers around unsafe operations. This is good, and what you’d expect from a Rust crate.

However, the safe wrappers all assume that you will only attempt to execute this crate on a GBA or in a GBA Emulator.

Do not use this crate in programs that aren’t running on the GBA. If you do, it’s a giant bag of Undefined Behavior.

Modules

Things that I wish were in core, but aren’t.
The module for all things relating to the IO Register portion of the GBA’s memory map.
Module for all things relating to the Video RAM.

Functions

Combines the Red, Blue, and Green provided into a single color value.