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
(added clock divider) |
(buffer category) |
||
Line 8: | Line 8: | ||
[[Category:Video]] | [[Category:Video]] | ||
[[Category:Buffers]] | |||
=== 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 | * https://board.zsnes.com/phpBB3/viewtopic.php?p=204966#p204966 |
Revision as of 00:57, 17 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 (X1/2 divider) during writes and have their own address lines.