Skip to content

Continue SGB border #71

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Oct 18, 2023
Merged

Continue SGB border #71

merged 1 commit into from
Oct 18, 2023

Conversation

pinobatch
Copy link
Member

@pinobatch pinobatch commented Oct 15, 2023

PR #70 ended with different suggested changes stomping on one another. Finish the last few tasks mentioned in that PR's discussion.

  • fix a comma splice
  • explain why wait 4 frames
  • emphasize why the screen must be on
  • use line comments (;) instead of C block comments (/*...*/)
  • transform detection code into a subroutine to eliminate .init
  • rewrite detection code to use a busy wait loop instead of vblank interrupt
  • let the lines settle after each read in case A+Right held on DMG
  • store the detection result to a variable
  • Remove mention of use of palettes 1-3 and 7

PR gbdev#70 ended with different suggested changes stomping on one another.
Finish the last few tasks mentioned in that PR's discussion.

- fix a comma splice
- explain why wait 4 frames
- emphasize why the screen must be on
- use line comments (;) instead of C block comments (/*...*/)
- transform detection code into a subroutine to eliminate `.init`
- rewrite detection code to use a busy wait loop instead of vblank interrupt
- let the lines settle after each read in case A+Right held on DMG
- store the detection result to a variable
- Remove mention of use of palettes 1-3 and 7
@avivace
Copy link
Member

avivace commented Oct 18, 2023

Thanks a lot @pinobatch , I'll start merging it

@avivace avivace merged commit a6cacb3 into gbdev:dev Oct 18, 2023
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.

2 participants