Sprite Pattern Upload: Difference between revisions
From SpecNext Wiki
No edit summary |
No edit summary |
||
| 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 16:57, 28 August 2017
| Number | PortNumber::$xx5B |
|---|---|
| Decimal | NumberDec:: |
| Short desc. | ShortDesc::Used to upload the pattern of the selected sprite. |
| Bit Mask | PortMask::%---- ---- 0101 1011 ?? |
| Readable | Readable::No |
| Writable | Writable::Yes |
| Subsystem | 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.