Memory Region - PPU Background Palettes: Difference between revisions

From NerdConsole
Jump to navigationJump to search
(Created page with "'''Address Range:''' <span class='mono'>$0800 - $0DFF</span> Size: 1,536 bytes Writing palette entries to this section of Main RAM sets up colors that will be used when rendering background graphics. Return to Memory Regions. {{#css:User:NerdOfEpic/builtin-palette.css}}")
 
No edit summary
Line 5: Line 5:
Size: 1,536 bytes
Size: 1,536 bytes


Writing [[Palette Formats|palette entries]] to this section of [[Memory Region - CPU Main RAM|Main RAM]] sets up colors that will be used when rendering background graphics.
First, use the [[Register - Main RAM Select|Main RAM Select]] register in the [[Control Page]] to redirect [[Memory Region - CPU Main RAM|Main RAM]] to be redirected to the PPU.
 
Then, writing data to this address range is interpreted as color data for the palettes that are used when rendering background graphics is set.  This data is arranged into subpalettes based on the current [[Graphics Modes|Graphics Mode]] and details about how individual colors are arranged can be found in [[Palette Formats]].


Return to [[Memory Regions]].
Return to [[Memory Regions]].
{{#css:User:NerdOfEpic/builtin-palette.css}}
{{#css:User:NerdOfEpic/builtin-palette.css}}

Revision as of 21:14, 27 January 2024

Address Range:

$0800 - $0DFF

Size: 1,536 bytes

First, use the Main RAM Select register in the Control Page to redirect Main RAM to be redirected to the PPU.

Then, writing data to this address range is interpreted as color data for the palettes that are used when rendering background graphics is set. This data is arranged into subpalettes based on the current Graphics Mode and details about how individual colors are arranged can be found in Palette Formats.

Return to Memory Regions.