Skip to main content

Crate rt

Crate rt 

Source
Expand description

Core Game Boy (SM83) runtime.

Depending on this crate links the startup code in rrt0.s (reset entry, RST and interrupt vectors) and makes the linker script gb.ld available to the ROM build pipeline. Each interrupt vector jumps to an _on_* handler that defaults to a no-op and is overridden by defining a strong symbol.

Modules§

boot
Hardware identification captured by the startup code at boot.
builtin
Runtime routines provided by the startup code, exposed as raw symbols.

Structs§

CriticalSection
Critical section token.

Constants§

DOUBLE_SPEED
Whether this program was built for CGB double speed mode.

Attribute Macros§

entry
Mark the program entry point.
interrupt
Install an interrupt handler directly at its vector.