-
-
Notifications
You must be signed in to change notification settings - Fork 133
Document LY reset behavior #646
Copy link
Copy link
Open
Labels
contentImprovements or additions to documentationImprovements or additions to documentationgood first issueGood for newcomersGood for newcomers
Metadata
Metadata
Assignees
Labels
contentImprovements or additions to documentationImprovements or additions to documentationgood first issueGood for newcomersGood for newcomers
Type
Fields
Give feedbackNo fields configured for issues without a type.
From The Cycle-Accurate Game Boy Docs:
"Line 153 takes only a few clocks to complete (the exact timings are below). The rest of the clocks of line 153 are spent in line 0 in mode 1!"
I ran into this behavior debugging Final Fantasy Adventure's intro text scroll.
Quoting @ISSOtm: "LY is reset before VBlank is over". "It's documented neither in the “LCD Status Registers” nor “Rendering”... this is indeed a problem".
Preferably this would be documented visually somehow in PPU modes. While it sounds like the real behavior is that LY is wrong for part of line 153 I was looking at the diagram's representation of line 0.