Sprite Pattern Upload

From SpecNext official Wiki
Revision as of 15:08, 18 August 2017 by wiki>Hyphz (Created page with "{{Port |Number=$xx5B |ShortDesc=Used to upload the pattern of the selected sprite. |Readable=No |Writable=Yes }} Used to upload sprite patterns. Sprite patterns are 16x16 (256...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
Number $xx5B
Decimal
Short desc. Used to upload the pattern of the selected sprite.
Bit Mask
Readable No
Writable Yes
Subsystem

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.