This crate helps you write GBA ROMs.
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.
Holds fundamental types/ops which the rest of the crate it built on.
This module contains wrappers for all GBA BIOS function calls.
Module for External Work RAM (
This module contains definitions and types for the IO Registers.
Module for Internal Work RAM (
Special utils for if you're running on the mGBA emulator.
Types and declarations for the Object Attribute Memory (
Module that allows interacting with palette memory, (
Module for things related to ROM.
Module for things related to SRAM.
Module for all things relating to the Video RAM.
Assists in defining a newtype wrapper over some base type.
Assists in defining a newtype that's an enum.
A color on the GBA is an RGB 5.5.5 within a
Performs signed divide and remainder, gives None if dividing by 0 or
Performs signed divide and remainder, no check for 0 division or
Performs unsigned divide and remainder, gives None if dividing by 0.
Performs divide and remainder, no check for 0 division.