Rangi

Results 643 comments of Rangi

This was discussed previously in Discord `#rgbds`: https://discord.com/channels/303217943234215948/661193788802203688/803226228655521824

If we go with a `T_OPCODE '(' cpu_command ')'` implementation, I'd like to also allow `T_OPCODE '(' T_Z80_JR ')'`, `T_OPCODE '(' T_Z80_JP ccode ')'`, `T_OPCODE '(' T_Z80_CALL ccode ')'`, etc...

I think `OPCODE(jr nz)` would be more readable than `LOW(OPCODE(jr nz, @))`, and worth the extra parser implementation.

Examples using `OPCODE` as proposed above: ``` ld hl, hAppendVWFText bit VWF_INVERT_F, b ld a, OPCODE(xor [hl]) jr nz, .invert ld a, OPCODE(or [hl]) .invert ld [hli], a ld a,...

gb-starter-kit has two `FAIL`s in src/header.asm for when configuration is needed, which would have to become conditional, like `MACRO must_configure / IF !DEF(TEST_RGBDS) / FAIL \1 / ENDC / ENDM`...

> How would this work? From the `rgbgfx` docs: > 1. If the file has an embedded palette, that palette's color and order are used. > 2. If not, and...

First, `--fuzzy` makes sense iff rgbgfx has to construct its own palette index. If the input image has four palettes already, even if some entries are similar or identical, that's...

That sounds fine. For specifying CLI palettes, can they be specified as 8-bit or 5-bit? So if the user supplies a PNG palette, those colors would have to be exact...

RGB555 could just be specified as a single number, the 2-byte encoding as displayed in BGB's VRAM viewer. So (R=15,G=6,B=3) would be `0ccf` (or `0x0ccf` or `$0ccf` if the base...

Explicit `$` and `#` is more clear.