github gbdev/rgbds v0.4.1

latest releases: v1.0.0, v1.0.0-rc2, v1.0.0-rc1...
5 years ago

The version that brought GBDK support! I mean, brought them our support?

New:

  • RGBLINK tries to report more errors at once
  • Two-argument ALIGN[] to additionally specify an offset
  • Mid-section align directive
  • A RGBLINK option to prevent padding its output
  • A warning for empty db/dw/dl in ROM sections
  • (Overdue) documentation of -MG, -MP, -MT and -MQ
  • RGBDS can now be compiled using CMake, if you prefer; note that the Makefile is still the main build method
  • RGBDS should be able to be compiled using MSVC now

Deprecations:

  • -Wobsolete is now enabled by default! This is not a deprecation, but it should make it easier for you to notice deprecated changes
  • *-comments are now deprecated, please use ;-comments instead

Changes:

  • Consistently with RGBLINK, RGBASM now allows constants to be referenced prior to their definition (see #496 for details)
  • RGBASM ISO 8601 symbols now correctly separate time with colons
  • Macro can now have an arbitrary number of arguments; a sanity limit has been arbitrarily set to 99,999, which should be enough for everyone

Fixes:

  • Fixed RGBLINK incorrectly computing PC inside LOAD blocks
  • Fixed BANK(@) outside of sections crashing RGBASM
  • Fixed BANK() of a constant crashing RGBLINK
  • Fixed period not being accepted as second character of a label name
  • Fixed possible RGBASM crash from an empty input file
  • Fixed modulo by 0 crashing RGBLINK
  • Fixed user-after-free from errors in INCLUDEd linker scripts
  • Fixed 0-byte sections being incorrectly printed in .map files
  • Fixed a rare RGBASM hang when deleting symbols
  • Fixed uninitialized memory reads with -MT and -MQ
  • Fixed incorrect explanation of pop af instruction
  • Fixed incorrect reporting of overlapping sections
  • Fixed incorrect documentation of unary !
  • Fixed documentation not updated regarding behavior of RGBLINK's -t and -w
  • Fixed implicitly relying on -fcommon: RGBDS now builds with GCC 10's default configuration
  • RGBDS no longer relies on 32-bit int, making it more portable to e.g. DOS

Note for Windows users: The binaries below have been compiled on Windows using MSVC, instead of cross-compiled. No difference has been found after some testing, but if something breaks, please open an issue!

Don't miss a new rgbds release

NewReleases is sending notifications on new releases.