rgbds
rgbds copied to clipboard
Rednex Game Boy Development System - An assembly toolchain for the Nintendo Game Boy and Game Boy Color
Macros need at least three lines, since the `MACRO` and `ENDM` have to be on their own. This is kind of verbose for small macros, and the documentation even suggests...
In comments people often use "`/`" or "`\`" to separate multiple instructions, like "`ld a, [hli] \ ld h, [hl] \ ld l, a`". It could be possible to do...
[`src/asm/parser.y`](https://github.com/gbdev/rgbds/blob/ca36422ac94e1a1313ff508987f494c7ffaa7520/src/asm/parser.y) is currently very messy, lacking organization and comments. [Bison documentation](https://www.gnu.org/software/bison/manual/bison.html#Outline-of-a-Bison-Grammar) is clear: both `/* ... */` and `//` are supported. - [ ] Organize rules better, possibly with "section...
Right now, character constants and strings use the same syntax. This can lead to a lot of really surprising behaviors: ``` db "ab" ; emits $61, $62 db ("ab") ;...
- [ ] `PURGE` or `REDEF` of an `EQUS` symbol does not free its previous string contents. - [ ] Use Bison to free memory when a token is deleted...
For example, `DEF w = 1, x = 2, y = 3`. Or if it would avoid the string expansion issue from #803, then `DEF w, x, y = 1,...
Best shown with an example of current behavior: ``` [06:27:34] ax6@n2 ~/Desktop/temp $ cat > test.asm SECTION "test", ROMX[$4000], BANK[1] rept 20000 db 0 endr [06:28:04] ax6@n2 ~/Desktop/temp $ rgbasm...
The files follow no written specification, and so everyone makes their own assumptions... we should write a specification so we can decide what changes can be reliably made. This would...
The man page mentions that a NUL truncates a string; this is because RGBDS maps transparently to C strings. People may want to use other terminators (hello Pokémon and its...
RGDBS' output is currently entirely in English. This is mostly fine, but it may be interesting to respect the user's locale whenever possible. This would be split into several steps:...