mirror of
https://github.com/gbdev/rgbds.git
synced 2025-11-30 14:57:50 +00:00
Fix linking tiny overlay files (#755)
* Fix compatibility of rgblink -O and -t The -t "tiny mode" option makes ROM0 cover 0x8000 bytes, not 0x4000. The -O "overlay" option fills areas uncovered by sections with data from an overlay file. These needed to cooperate so that the calculated uncovered overlay size does not exceed the actual size of the ROM. Fixes #754 * Print link test names like asm tests do * Make the three test.sh scripts more similar
This commit is contained in:
2
test/link/overlay/a.asm
Normal file
2
test/link/overlay/a.asm
Normal file
@@ -0,0 +1,2 @@
|
||||
SECTION "0", ROM0[0]
|
||||
DS $8000
|
||||
0
test/link/overlay/out.err
Normal file
0
test/link/overlay/out.err
Normal file
BIN
test/link/overlay/out.gb
Normal file
BIN
test/link/overlay/out.gb
Normal file
Binary file not shown.
1
test/link/overlay/overlay.gb
Normal file
1
test/link/overlay/overlay.gb
Normal file
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user