Difference between revisions of "Sprite Pattern Upload"

From SpecNext official Wiki
Jump to: navigation, search
Line 2: Line 2:
 
|Number=$xx5B
 
|Number=$xx5B
 
|ShortDesc=Used to upload the pattern of the selected sprite.
 
|ShortDesc=Used to upload the pattern of the selected sprite.
 +
|PortMask=%---- ---- 0101 1011 ??
 
|Readable=No
 
|Readable=No
 
|Writable=Yes
 
|Writable=Yes

Revision as of 17:57, 28 August 2017

Number $xx5B
Decimal
Short desc. Used to upload the pattern of the selected sprite.
Bit Mask %---- ---- 0101 1011 ??
Readable No
Writable Yes
Subsystem Sprites

Used to upload sprite patterns. Sprite patterns are 16x16 (256 bytes) and are sent in English reading order. Each byte is the offset, 0-255, within the active sprite palette. After sending 256 bytes, the target sprite is auto-incremented. This auto-increment is independent of other sprite registers.