Module agb::display[][src]

Expand description

Implements everything relating to things that are displayed on screen.

Modules

bitmap3

Graphics mode 3. Bitmap mode that provides a 16-bit colour framebuffer.

bitmap4

Graphics mode 4. Bitmap 4 provides two 8-bit paletted framebuffers with page switching.

example_logo

Test logo of agb.

object

Implements sprites.

palette16

Palette type.

tiled0

Graphics mode 0. Four regular backgrounds.

vblank

Syscall for waiting for vblank.

video

Giving out graphics mode.

Structs

Display

Manages distribution of display modes, obtained from the gba struct

ObjectDistribution

Enums

Priority

Constants

HEIGHT

Height of the Gameboy advance screen in pixels

WIDTH

Width of the Gameboy advance screen in pixels

Functions

busy_wait_for_VBlank

Waits until vblank using a busy wait loop, this should almost never be used. I only say almost because whilst I don’t believe there to be a reason to use this I can’t rule it out.