Sprite Pattern Upload: Difference between revisions
From SpecNext Wiki
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..." |
No edit summary |
||
| Line 4: | Line 4: | ||
|Readable=No | |Readable=No | ||
|Writable=Yes | |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. | 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. | ||
Revision as of 15:08, 18 August 2017
| Number | PortNumber::$xx5B |
|---|---|
| Decimal | NumberDec:: |
| Short desc. | ShortDesc::Used to upload the pattern of the selected sprite. |
| Bit Mask | PortMask:: |
| 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.