tetris_disassembly
tetris_disassembly copied to clipboard
link error
$ rgblink -o tetris.gb main.o
error: Unable to place "MENU_IN_GAME" (ROM0 section) at address $1bce: section overlaps with "Main"
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:
https://github.com/alexsteb/tetris_disassembly/pull/3
https://github.com/Josef-Friedrich/tetris_disassembly/commit/c18a624bbdd60db8484ed93c77c0cac63fe94757