Skip to content

Boot-up B register values - #75

Merged
Rangi42 merged 12 commits into
gbdev:v6.0.0-rc1from
TheLeanArt:b_squish
Sep 11, 2026
Merged

Rangi42 merged 12 commits into
gbdev:v6.0.0-rc1from
TheLeanArt:b_squish

Conversation

@dmitry-shechtman

Copy link
Copy Markdown
Contributor

Unifies #72 and #74 as requested.

This was referenced Aug 12, 2025

@Rangi42 Rangi42 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

The BOOTUP_B_CGB and BOOTUP_B_AGB constants have been around since hardware.inc v3.0. They should still be defined in hardware_compat.inc.

@dmitry-shechtman

Copy link
Copy Markdown
Contributor Author

I'm not sure if that would be a good idea, since they are being removed for a reason.

@Rangi42

Rangi42 commented Aug 12, 2025

Copy link
Copy Markdown
Collaborator

Everything in hardware_compat.inc was removed for a reason. It's there for backwards compatibility.

Comment thread hardware_compat.inc
@dmitry-shechtman

Copy link
Copy Markdown
Contributor Author

Actually, it might be a good idea to add a comment in hardware_compat.inc with an explanation for every significant change, such as this one.

@Rangi42
Rangi42 requested a review from avivace August 12, 2025 22:06
@Rangi42
Rangi42 dismissed their stale review August 12, 2025 22:07

Commented

@Rangi42
Rangi42 marked this pull request as draft August 12, 2025 22:07
@Rangi42

Rangi42 commented Aug 12, 2025

Copy link
Copy Markdown
Collaborator

Actually, it might be a good idea to add a comment in hardware_compat.inc with an explanation for every significant change, such as this one.

Maybe so; some already have such comments, e.g. the ones suggesting RGBASM-feature alternatives.

@dmitry-shechtman

Copy link
Copy Markdown
Contributor Author

Maybe so; some already have such comments, e.g. the ones suggesting RGBASM-feature alternatives.

So do we agree on this warranting a separate line with a comment?

@dmitry-shechtman
dmitry-shechtman marked this pull request as ready for review August 13, 2025 12:21
@Rangi42

Rangi42 commented Aug 13, 2025

Copy link
Copy Markdown
Collaborator

LGTM, thank you! I'm not actually merging it yet because:

  • We have multiple ongoing PRs, it might be convenient to iron them all out, then merge all at once and call it a new release
  • This removes some constants from hardware.inc and so is a breaking change, needing version number 6.0
  • When we get around to 6.0 I also want to fix Rename _AUD3WAVERAM to AUD3WAVERAM #64

@dmitry-shechtman

Copy link
Copy Markdown
Contributor Author

Since we're already breaking it, please consider updating hardware.inc to use S_* for consistency.

@avivace avivace left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LGTM as well

@avivace

avivace commented Oct 13, 2025

Copy link
Copy Markdown
Member

@Rangi42 do we have a PR for #64 ?

Comment thread hardware_compat.inc Outdated
Comment thread hardware.inc Outdated
Comment thread hardware_compat.inc Outdated
Comment thread hardware.inc Outdated
dmitry-shechtman and others added 3 commits August 15, 2026 20:04
Co-authored-by: Antonio Vivace <avivace4@gmail.com>
Co-authored-by: Rangi <35663410+Rangi42@users.noreply.github.com>
Co-authored-by: Rangi <35663410+Rangi42@users.noreply.github.com>
@Rangi42
Rangi42 changed the base branch from master to v6.0.0-rc1 September 11, 2026 15:23
Comment thread hardware_compat.inc Outdated
@Rangi42
Rangi42 merged commit 652d37c into gbdev:v6.0.0-rc1 Sep 11, 2026
2 checks passed
@Rangi42
Rangi42 deleted the b_squish branch September 11, 2026 15:27
@Rangi42

Rangi42 commented Sep 11, 2026

Copy link
Copy Markdown
Collaborator

Thank you for this fix!

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.

3 participants