Difference between revisions of "Sprite port-mirror Attribute 2 Register"

From SpecNext official Wiki
Jump to: navigation, search
(Core 2.00.27 (or 28) changes to relative sprite system.)
m (2 revisions imported)
 
(No difference)

Latest revision as of 10:00, 14 April 2019

Number $37
Readable No
Writable Yes
Short Description Nextreg port-mirror to write directly into "byte 3" of Sprite Attribute Upload ($xx57 / 87).

Byte 3 is bitmapped:

Bit Description
4-7 Palette offset, added to each palette index from pattern before drawing
3 Enable X mirror
2 Enable Y mirror
1 Enable rotation
0 anchor sprite: MSB of X coordinate

relative sprite: enable relative Palette offset (1 = the anchor Palette offset is added, 0 = independent Palette offset)