Skip to content
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

Update to RGBDS 0.7.0 #447

Merged
merged 1 commit into from
Jan 3, 2024
Merged

Update to RGBDS 0.7.0 #447

merged 1 commit into from
Jan 3, 2024

Conversation

Rangi42
Copy link
Member

@Rangi42 Rangi42 commented Jan 1, 2024

These new features are used from RGBDS 0.7.0:

  • Use SIZEOF and STARTOF for section types, instead of *RAM_Begin/End constants
  • Use ENDSECTION at the end of INCLUDEd files which start their own SECTIONs
    • These can be found via:
      for f in `git grep -Elw '^SECTION'`; do git grep -ho "INCLUDE \"$f\""; done
  • DMARoutineEnd can be .End since ENDL restores scope

Also rgbdscheck.asm is rewritten to be more robust with older versions of RGBDS. (We can't define constants since DEF is required in 0.7.0 but not yet defined in old enough versions; likewise for backslash line continuations, ELIF, etc.)

Note that the object file revision is still 9, so tools/unnamed.py did not need updating.

rgbdscheck.asm Outdated Show resolved Hide resolved
@Rangi42 Rangi42 merged commit fabe2b3 into pret:master Jan 3, 2024
1 check passed
@Rangi42 Rangi42 deleted the rgbds-0.7.0 branch January 3, 2024 15:59
github-actions bot pushed a commit that referenced this pull request Jan 3, 2024
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.

None yet

2 participants