Window Feature; Window Position Setting - Nintendo 1504166 - Game Boy Advance SP Edition Console Programming Manual

Programming manual
Table of Contents

Advertisement

AGB Programming Manual

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,
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.
15 14 13 12 11 10 09 08 07 06 05 04 03 02 01 00
Address
Register
040h
WIN0H
Left-upper x-coordinate of window
042h
WIN1H
15 14 13 12 11 10 09 08 07 06 05 04 03 02 01 00
Address
Register
044h
WIN0V
Left-upper y-coordinate of window
046h
WIN1V
Window Display Example
Window 0 has a higher display priority than Window 1.
©1999 - 2001 Nintendo of America Inc.
Window 0
Display
Screen
blending, and fade-in/fade-out
Right-lower x-coordinate of window
Right-lower y-coordinate of window
Window 1
77
Window Feature
Attributes Initial Value
W
0000h
Attributes Initial Value
W
0000h
D.C.N. AGB-06-0001-002B4

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Agb series

Table of Contents