Our website received a big facelift, please check it out at https://rgbds.gbdev.io! Thanks to @ISSOtm and @avivace for the work on this.
While some pages have been moved around, all URLs under /docs have been preserved.
Deprecated:
m: MACRO syntax; use MACRO m.__FILE__ and __LINE__.rgbasm -h and -L will soon become the default behavior; please use rgbasm -H and -l respectively to opt into the current behavior.rgbgfx -h has been renamed to the less confusing rgbgfx -Z.Added:
-c!rgbgfx -r can also "reverse" the process and generate a PNG from the binary data.randtilegen, used for testing; @eievui5, @MarkSixtyFour, and @Rangi42 for review and testing!>>>!& can now be constant if applied to a symbol with the right alignment.rgbasm -Q or OPT Q configures the fixed-point precision, which is still 16 by default (e.g. -Q8 uses Q24.8).FMOD function for fixed-point modulo.12.34q8 override the current Q option value.-Q option.@ and _NARG are considered undefined (e.g. by DEF) when they have no value.rgbasm -P allows automatically pre-including a file before the source file; for example, to define constants used throughout the codebase.SECTION(symbol) evaluates to the name of symbol's section.rgbasm -r sets the maximum recursion depth, not the minimum failure depth (off by one).OPT r.-Wunmapped-char=0/1/2 warning for characters not in the charmap. Level 1 ignores unmapped characters in a non-default charmap if it's empty, level 2 does not.\@ only increments its expanded value when used, so merely adding or removing MACRO, REPT, or FOR blocks will not affect generated symbols.-o.-O.-M.EMPTY space between sections in the .map file, and total used+empty space at the end..clang-format, though it it only applied to C++ files; we are gradually transitioning away from checkpatch style.Removed:
PRINTT, PRINTI, PRINTV, PRINTF (use PRINT/PRINTLN instead)_PISET as an assignment operator (use = instead)rgbgfx -D, -f, and -F were not useful anymoreChanged:
rgbasm -I over rgbasm -i, for consistency with other tools (mainly C compilers); -i will be phased out in a future release.man pages are now all in a single directory; this affects the release tarballs!.map files now have a more useful free/used space summary at the end.map files are now indented using tabs (requested in #1012)Fixed:
rgblink -S rejected a lot of valid arguments.rgblink -O could "forget" ROM0 if no such sections were defined, offsetting the entire file.*UTC* symbols could contain local time instead on some systems.contrib/gbdiff.bash correctly handles spaces in its arguments (oops)rgbasm -b and -g were broken.rgbasm(5).Updates may require up to 24 hours to propagate to mirrors. If the following command doesn't work, please retry later:
sudo dnf upgrade --refresh --advisory=FEDORA-2022-606eb427e8
Please log in to add feedback.
This update has been submitted for testing by blowry.
This update's test gating status has been changed to 'ignored'.
This update has been pushed to testing.
This update has been submitted for stable by bodhi.
This update has been pushed to stable.