The display device

ppu/ppu.c owns the LCD controller's registers at 0x04000000 and its timing, 308 dots of four cycles a scanline and 228 scanlines a frame, with the blanking flags in DISPSTAT and the vblank, hblank and vcount interrupts. Each visible line is drawn into the 240 by 160 RGBA frame the host presents: the text, affine and bitmap background layers, the sprites with their affine forms, the windows, and the colour special effects (alpha blending and brightness). Mosaic is the one display feature still missing.


Made from docs/platforms/agb/README.md at 69237645142c. GPL-3.0-or-later.