LCD Registers

From 3dbrew
Revision as of 01:56, 29 November 2014 by Cell9 (talk | contribs)
Jump to navigation Jump to search

Registers

NAME PHYSICAL ADDRESS PROCESS VIRTUAL ADDRESS KERNEL VIRTUAL ADDRESS WIDTH
REG_LCDCOLORFILLMAIN 0x10202204 0x1ED02204 0xFFFD6204 4
REG_LCDCOLORFILLSUB 0x10202A04 0x1ED02A04 0xFFFD6A04 4
REG_LCDBACKLIGHTMAIN 0x10202240 0x1ED02240 0xFFFD6240 4
REG_LCDBACKLIGHTSUB 0x10202A40 0x1ED02A40 0xFFFD6A40 4

REG_*MAIN registers are used for the top LCD, while SUB is used for the bottom LCD.

REG_LCDCOLORFILL

Bit Description
7-0 Red component intensity
15-8 Green component intensity
23-16 Blue component intensity
24 Enable
31-25 ?

When the enable bit is set, the specified solid color is displayed on the LCD instead of the framebuffer.