Nintendo 1504166 Programming Manual - Page 77
Window Feature, 8.1 Window Position Setting, Window Display Example
View all Nintendo 1504166 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 77 highlights
AGB Programming Manual Window Feature 8 Window Feature The AGB system can display 2 windows simultaneously. Display of the areas inside and outside the windows can be separately turned on and off. In addition, scrolling and color special effects such as rotation, α blending, and fade-in/fade-out can be performed for each window. 8.1 Window Position Setting The Window Position Setting specifies the upper-left and lower-right coordinates of a rectangular area. These settings specify the window's position and size. When a non-rectangular window is displayed, the values of these registers are updated during H-blanking intervals. Address 040h 042h Register WIN0H WIN1H 15 14 13 12 11 10 09 08 07 06 05 04 03 02 01 00 Attributes Initial Value Left-upper x-coordinate of window Right-lower x-coordinate of window W 0000h Address 044h 046h Register WIN0V WIN1V 15 14 13 12 11 10 09 08 07 06 05 04 03 02 01 00 Attributes Initial Value Left-upper y-coordinate of window Right-lower y-coordinate of window W 0000h Window Display Example Window 0 has a higher display priority than Window 1. Window 0 Display Screen Window 1 ©1999 - 2001 Nintendo of America Inc. 77 D.C.N. AGB-06-0001-002B4