Nintendo 1504166 Programming Manual - Page 50
Reference are also used when Scaling/Rotation BG and Bitmap Mode BG
View all Nintendo 1504166 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 50 highlights
AGB Programming Manual Rendering Functions Parameters used in rotation and scaling operations are specified for BG2 and BG3 in the following registers. Registers for Starting Point of BG Data Reference are also used when Scaling/Rotation BG and Bitmap Mode BG are offset displayed (scrolled). (There is also an offset register for Text BG.) Registers for Setting the Starting Point of BG Data Address 028h 038h Register BG2X_L BG3X_L 15 14 13 12 11 10 09 08 07 06 05 04 03 02 01 00 AttributesInitial Value X-coordinate of reference starting point (rotation/scaling results) W 0000h Address 02Ah 03Ah Register BG2X_H BG3X_H 15 14 13 12 11 10 09 08 07 06 05 04 03 02 01 00 AttributesInitial Value X-coordinate of reference starting point (rotation/scaling results) W 0000h Address 02Ch 03Ch Register BG2Y_L BG3Y_L 15 14 13 12 11 10 09 08 07 06 05 04 03 02 01 00 Attributes Initial Value Y-coordinate of reference starting point (rotation/scaling results) W 0000h Address 02Eh 03Eh Register BG2Y_H BG3Y_H 15 14 13 12 11 10 09 08 07 06 05 04 03 02 01 00 AttributesInitial Value Y-coordinate of reference starting point (rotation/scaling results) W 0000h Registers for Setting the Direction Parameters of BG Data Address 020h 030h Register BG2PA BG3PA 15 14 13 12 11 10 09 08 07 06 05 04 03 02 01 00 Attributes Initial Value dx: distance of movement in x direction along same line W 0100h Address 022h 032h Address 024h 034h Address 026h 036h Register BG2PB BG3PB Register BG2PC BG3PC Register BG2PD BG3PD 15 14 13 12 11 10 09 08 07 06 05 04 03 02 01 00 Attributes Initial Value dmx: distance of movement in x direction along next line W 0000h 15 14 13 12 11 10 09 08 07 06 05 04 03 02 01 00 Attributes Initial Value dy: distance of movement in y direction along same line W 0000h 15 14 13 12 11 10 09 08 07 06 05 04 03 02 01 00 Attributes Initial Value dmy: distance of movement in y direction along next line W 0100h ©1999 - 2001 Nintendo of America Inc. 50 D.C.N. AGB-06-0001-002B4