LCD Registers: Difference between revisions

From 3dbrew
Jump to navigation Jump to search
Neobrain (talk | contribs)
Remove content which has been moved to http://3dbrew.org/wiki/GPU
Cell9 (talk | contribs)
No edit summary
Line 17: Line 17:
| 0x1ED02A04
| 0x1ED02A04
| 0xFFFD6A04
| 0xFFFD6A04
| 4
|-
| REG_LCDBACKLIGHTMAIN
| 0x10202240
| 0x1ED02240
| 0xFFFD6240
| 4
|-
| REG_LCDBACKLIGHTSUB
| 0x10202A40
| 0x1ED02A40
| 0xFFFD6A40
| 4
| 4
|}
|}

Revision as of 02:56, 29 November 2014

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.