Difference between revisions of "RGBDS"
From GbdevWiki
m (→Bugs) |
m (→Bugs) |
||
Line 24: | Line 24: | ||
* Subtracting a numeric constant from a data structure symbol (rb, rw, ...) produces a parse error. It's still possible, however, to add a negative number. | * Subtracting a numeric constant from a data structure symbol (rb, rw, ...) produces a parse error. It's still possible, however, to add a negative number. | ||
* Line numbers are often off by one (actual line numbers are one less than reported). | * Line numbers are often off by one (actual line numbers are one less than reported). | ||
− | * RGBAsm | + | * RGBAsm crashes under unknown circumstances‐ usually when working with macros. Sometimes, this can be fixed temporarily by moving code around or inserting blank lines in a source file. Other times, not using the '-q' command line option works. |
+ | * Though listed in the documentation, the predeclared symbols '__LINE__', '_PI', and '_NARG' do not seem to exist. |
Revision as of 14:32, 13 November 2012
RGBDS (RedneX Game Boy Development System) aka ASMotor is a package consisting of the assembler xAsm, the linker xLink and the ROm image validation tool RGBFix.
Distribution
Carsten Sørensen's version (author of RGBDS):
http://www.rift.dk/download.php?list.6
Otaku No Zoku's fork with a few additional fixes and features:
http://www.otakunozoku.com/rednex-gameboy-development-system/
Anthony J. Bentley's fork that aims to make RGBDS more friendly towards Linux users:
https://github.com/bentley/rgbds
Bugs
(Please add any bugs you might encounter to the list below)
- The "DW `01230123" notation for defining tiles only works with the numerals 0 and 1.
- Trying to pass a string literal that contains an escape sequence to a macro results in an "Unterminated string" error.
- The \" (double quote) escape sequence can only be used in pairs.
- xLink's "link file" parser cannot handle spaces.
- Subtracting a numeric constant from a data structure symbol (rb, rw, ...) produces a parse error. It's still possible, however, to add a negative number.
- Line numbers are often off by one (actual line numbers are one less than reported).
- RGBAsm crashes under unknown circumstances‐ usually when working with macros. Sometimes, this can be fixed temporarily by moving code around or inserting blank lines in a source file. Other times, not using the '-q' command line option works.
- Though listed in the documentation, the predeclared symbols '__LINE__', '_PI', and '_NARG' do not seem to exist.