Open datajerk opened 5 months ago
Not a proper fix, but using an older RGBDS release solves the problem. RGBDS 0.50 for example assembles and links with no problems.
I tried v0.5.2
and v0.6.1
of RGBDS with success
I was even able to compile the project with version v0.7.0
using the -l
option
-l, --auto-ldh
Optimize loads of the form LD [$FF00+n8],A into the opcode LDH [$FF00+n8],A.
This option is deprecated and will be removed in the next version.
but there is another warning:
warning: at top level: [-Wobsolete]
Automatic `ld` to `ldh` optimization is deprecated
rgbasm -l -o main.o main.asm
rgblink -o tetris.gb main.o
Here I fixed some deprecation warnings here: