Skip to content

Commit 7473e2c

Browse files
authored
Include information about the window's internal line counter (#279)
1 parent f729867 commit 7473e2c

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

content/Video_Display.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -590,6 +590,14 @@ Whether the Window is displayed can be toggled using
590590
(See [above](#ff4a-wy-window-y-position-r-w-ff4b-wx-window-x-position-7-r-w)
591591
for the definition of "Window visibility".)
592592

593+
::: tip Window Internal Line Counter
594+
595+
The window keeps an internal line counter that's functionally similar to `LY`, and increments alongside it. However, it only gets incremented when the window is visible, as described [here](#ff4a-wy-window-y-position-r-w-ff4b-wx-window-x-position-7-r-w).
596+
597+
This line counter determines what window line is to be rendered on the current scanline.
598+
599+
:::
600+
593601
# VRAM Banks (CGB only)
594602

595603
The CGB has twice the VRAM of the DMG, but it is banked and either bank

0 commit comments

Comments
 (0)