Skip to content

Conversation

dmitry-shechtman
Copy link
Contributor

Close #625

@ISSOtm
Copy link
Member

ISSOtm commented Oct 4, 2025

Wait, really? I thought only another MASK_EN command could unfreeze the screen.

@dmitry-shechtman
Copy link
Contributor Author

Maybe it needs clarification. If the screen was frozen by clearing LCDC, it will be unfrozen when its bit 7 is set.

@ISSOtm
Copy link
Member

ISSOtm commented Oct 4, 2025

Ah, I see: it's another freezing mechanism, separate from MASK_EN, right?

@dmitry-shechtman
Copy link
Contributor Author

Yes. Enlightened by beware.

Copy link
Member

@ISSOtm ISSOtm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Then I'd like to suggest the following wording:

Comment on lines +29 to +30
SGB freezes/unfreezes the Game Boy screen automatically whenever the LCD is
turned off/on.
Copy link
Member

@ISSOtm ISSOtm Oct 4, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
SGB freezes/unfreezes the Game Boy screen automatically whenever the LCD is
turned off/on.
The screen retains its last frame when the "LCD" is [turned off](<#LCDC.7 — LCD enable>), though it gets blanked out after a while.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think "stops updating" might confuse people, although it's technically correct.
I'm not sure what "gets blanked out after a while" means.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

AFAIK, leaving the screen turned off for a significant period of time causes the SGB firmware to blank out the framebuffer.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

SGB freeze-frame on LCD off should be mentioned
3 participants