Difference between revisions of "Sprite port-mirror Attribute 0 (with INC) Register"
From SpecNext official Wiki
(core 2.00.23 changes) |
m (2 revisions imported) |
||
(One intermediate revision by one other user not shown) | |||
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. |
Latest revision as of 10:00, 14 April 2019
Number | $75 |
---|---|
Readable | No |
Writable | Yes |
Short Description | Same as Sprite port-mirror Attribute 0 Register ($35) (write first byte of sprite-attributes), plus increments Sprite port-mirror Index Register ($34) |
Eight low bits of X position. MSB of X-pos is in "byte 3".
After write into sprite-attribute "byte 1" (Sprite Attribute Upload ($xx57 / 87)), the Sprite port-mirror Index Register ($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.