mirror of
https://github.com/gbdev/rgbds.git
synced 2025-11-21 10:42:07 +00:00
Allow LOAD FRAGMENT (#1552)
This was implemented in #736 but removed after discussion in #869. Fixes #1537
This commit is contained in:
4
test/link/load-fragment/multiple-objects/a.asm
Normal file
4
test/link/load-fragment/multiple-objects/a.asm
Normal file
@@ -0,0 +1,4 @@
|
||||
SECTION "main", ROM0
|
||||
LOAD FRAGMENT "test", SRAM
|
||||
db 0
|
||||
ENDL
|
||||
6
test/link/load-fragment/multiple-objects/b.asm
Normal file
6
test/link/load-fragment/multiple-objects/b.asm
Normal file
@@ -0,0 +1,6 @@
|
||||
SECTION "SECTION2", ROM0
|
||||
LOAD FRAGMENT "test", SRAM
|
||||
jr Label
|
||||
Label:
|
||||
dw Label
|
||||
ENDL
|
||||
BIN
test/link/load-fragment/multiple-objects/ref.out.bin
Normal file
BIN
test/link/load-fragment/multiple-objects/ref.out.bin
Normal file
Binary file not shown.
Reference in New Issue
Block a user