Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Last revisionBoth sides next revision
ppu [2021/09/05 17:02] – [Sprite registers] simerppu [2021/09/05 17:03] – [Colors and palettes] simer
Line 140: Line 140:
 In the 16-bit color mode, the value of each pixel in the segment memory directly stores a color, otherwise the value refers to a palette index.  In the 16-bit color mode, the value of each pixel in the segment memory directly stores a color, otherwise the value refers to a palette index. 
 The palette memory is mapped to 0x2B00-0x2BFF and stores 256 different colors in the format mentioned above. The palette memory is mapped to 0x2B00-0x2BFF and stores 256 different colors in the format mentioned above.
-This memory can be split into multiple palettes which can then chosen by a 4-bit value stored for each sprite, tile layer or individual tile (if the attribute map mode is enabled).+This memory can be split into multiple palette banks which can then chosen by a 4-bit value stored for each sprite, tile layer or individual tile (if the attribute map mode is enabled).
  
 The chosen color from the palette memory is determined by the chosen color depth and palette of each tile/sprite and value of each pixel as follows: The chosen color from the palette memory is determined by the chosen color depth and palette of each tile/sprite and value of each pixel as follows:
  
-^ Color depth ^ Chosen color                ^+^ Color depth ^ Chosen color memory index   ^
 | 2-bit       | Palette * 16 + Index        | | 2-bit       | Palette * 16 + Index        |
 | 4-bit       | Palette * 16 + Index        | | 4-bit       | Palette * 16 + Index        |
ppu.txt · Last modified: 2021/09/05 18:10 by simer
CC Attribution 4.0 International
Driven by DokuWiki Recent changes RSS feed Valid CSS Valid XHTML 1.0