We've just updated MediaWiki and its underlying software. If anything doesn't look or work quite right, please mention it to us. --RanAS

Sprite Line Buffer: Difference between revisions

From SnesLab
Jump to: navigation, search
m (Jeffythedragonslayer moved page Render Line Buffer to Sprite Line Buffer: only sprites go into this buffer)
(half-line buffers)
Line 1: Line 1:
The '''Render Line Buffer''' is where sprites are pre-rendered to during [[hblank]] before being compositied together with the backgrounds.
The '''Sprite Line Buffer''' is where sprites are pre-rendered to during [[hblank]] before being compositied together with the backgrounds.  It is 256 pixels wide, and a total of 2304 bits.  Internally, it is composed of two 128x9-bit half-line buffers (1152 bits each): one storing even-numbered pixels and the other odd.  For each pixel, each half-line buffer stores:
 
* four bits of color data
* three bits for palette number
* two priority bits
 
Each of these half-line buffers are clocked at 10.7 MHz during writes and have their own address lines.


[[Category:Video]]
[[Category:Video]]
Line 5: Line 11:
=== References ===
=== References ===
* https://forums.nesdev.org/viewtopic.php?p=288520#p288520
* https://forums.nesdev.org/viewtopic.php?p=288520#p288520
* https://board.zsnes.com/phpBB3/viewtopic.php?p=204966#p204966

Revision as of 18:57, 1 July 2023

The Sprite Line Buffer is where sprites are pre-rendered to during hblank before being compositied together with the backgrounds. It is 256 pixels wide, and a total of 2304 bits. Internally, it is composed of two 128x9-bit half-line buffers (1152 bits each): one storing even-numbered pixels and the other odd. For each pixel, each half-line buffer stores:

  • four bits of color data
  • three bits for palette number
  • two priority bits

Each of these half-line buffers are clocked at 10.7 MHz during writes and have their own address lines.

References