Skip to content

v0.5.2

Compare
Choose a tag to compare
@github-actions github-actions released this 23 Nov 22:17
· 887 commits to master since this release

Deprecated:

  • SET for mutable definitions is deprecated; use =

Added:

  • Bash completion scripts for rgbasm, rgblink, rgbfix, and rgbgfx!
  • RGBFIX won't warn when overwriting a byte with the same value
  • rgbfix -O to silence all "overwriting non-zero byte" warnings
  • rgblink -S "scrambles" bank assignments to help find broken assumptions in your code
  • Unindented macro invocations will be hinted at when encountered
  • -Wnumeric-string=0|1|2 warns about use of strings as numbers
  • Compound assignment for variables (e.g. DEF x += 1 for DEF x = x + 1)
  • ! negates condition codes z/nz/c/nc
  • Allow _ in gfx literals, e.g. `0123_3210

Updated:

  • Zsh completions synced with RGBDS changes
  • rgbfix -m MBC3+TIMER implies BATTERY, warning if not specified
  • Symbol interpolation is now more prominently described
  • -Wtruncation can be made less strict; use -Wtruncation=1 for more lax behavior

Fixed:

  • rgbfix -m MBC3+TIMER+BATTERY didn't work
  • LOAD offset wasn't reset when switching sections
  • PUSHS inside UNION should work as expected
  • Syntax errors after the first one were silenced
  • Some syntax errors could break parsing
  • Some invalid local labels could be defined
  • Incorrect error text when merging misaligned sections
  • Fixed-point formatting was slightly imprecise
  • STRFMT documentation was cut in the middle
  • Wrong rgbfix -m help text
  • Man page formatting and grammar blunders
  • Internal code cleanup