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
(half-line buffers) |
(added clock divider) |
||
Line 5: | Line 5: | ||
* two priority bits | * two priority bits | ||
Each of these half-line buffers are clocked at 10.7 MHz during writes and have their own address lines. | Each of these half-line buffers are clocked at 10.7 MHz ([[Master Clock|X1]]/2 divider) during writes and have their own address lines. | ||
[[Category:Video]] | [[Category:Video]] |
Revision as of 17:36, 8 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.