Nintendo DMG-01 Manual - Page 59
Lets say WY = 70 and WX = 87.
View all Nintendo DMG-01 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 59 highlights
Game BoyTM CPU Manual 2.13.1. I/O Registers must be less than or equal to 166 for window to be visible. WX is offset from absolute screen coordinates by 7. Setting the window to WX=7, WY=0 will put the upper left corner of the window at absolute screen coordinates 0,0. Lets say WY = 70 and WX = 87. The window would be positioned as so: 0 80 159 0 | | | | | | | | Background Display | | Here | | | | | 70 | - | | 80,70 | | | | | | Window Display | | | Here | | | | | | | 143 OBJ Characters (Sprites) can still enter the window. None of the window colors are transparent so any background tiles under the window are hidden. by DP Page 59
Game Boy
TM
CPU Manual
2.13.1. I/O Registers
must be less than or equal to 166 for
window to be visible.
WX is offset from absolute screen
coordinates by 7. Setting the window to
WX=7, WY=0 will put the upper left corner
of the window at absolute screen
coordinates 0,0.
Lets say WY = 70 and WX = 87.
The window would be positioned as so:
0
80
159
______________________________________
0 |
|
|
|
|
|
|
|
Background Display
|
|
Here
|
|
|
|
|
70 |
-
+------------------|
|
| 80,70
|
|
|
|
|
|
Window Display
|
|
|
Here
|
|
|
|
|
|
|
143 |___________________|__________________|
OBJ Characters (Sprites) can still enter the
window. None of the window colors are
transparent so any background tiles under the
window are hidden.
by DP
Page 59