Sprite Attribute 0 (with INC) Register: Difference between revisions
From SpecNext Wiki
core 2.00.23 changes |
Core 2.00.26 changes |
||
| Line 7: | Line 7: | ||
Eight low bits of X position. MSB of X-pos is in "byte 3". | Eight low bits of X position. MSB of X-pos is in "byte 3". | ||
After write into sprite-attribute "byte 1" ({{PortNo|$xx57}}), the {{NextRegNo|$34}} is incremented (with all consequences stemming from such action). If the sprite | After write into sprite-attribute "byte 1" ({{PortNo|$xx57}}), the {{NextRegNo|$34}} is incremented (with all consequences stemming from such action). If the sprite 127 was modified, the result of the increment is officially "undefined behaviour", and code should explicitly set valid 0..127 sprite index before next sprite-attribute manipulation. | ||
Revision as of 09:09, 27 January 2019
| Number | TBRegisterNumber::$75 |
|---|---|
| Readable | TBRegisterReadable::No |
| Writable | TBRegisterWritable::Yes |
| Short Description | [[ShortDesc::Same as {{#ask:
TBRegisterNumber::$35 }} ($35) (write first byte of sprite-attributes), plus increments {{#ask: TBRegisterNumber::$34 }} ($34)]] |
Eight low bits of X position. MSB of X-pos is in "byte 3".
After write into sprite-attribute "byte 1" ({{#ask: PortNumber::$xx57 }} ($xx57{{#ask: PortNumber::$xx57 |mainlabel=- |headers=hide |intro= / |?NumberDec#- }})), the {{#ask: TBRegisterNumber::$34 }} ($34) is incremented (with all consequences stemming from such action). If the sprite 127 was modified, the result of the increment is officially "undefined behaviour", and code should explicitly set valid 0..127 sprite index before next sprite-attribute manipulation.