Sprite Pattern Upload

From SpecNext official Wiki
Revision as of 17:57, 28 August 2017 by wiki>Hyphz
Jump to: navigation, search
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.