mirror of
https://github.com/gbdev/rgbds.git
synced 2025-11-22 11:12: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:
9
test/link/load-fragment/base/a.asm
Normal file
9
test/link/load-fragment/base/a.asm
Normal file
@@ -0,0 +1,9 @@
|
||||
SECTION "Test", ROM0[0]
|
||||
AA: db 1
|
||||
LOAD FRAGMENT "RAM section", WRAM0[$c000]
|
||||
BB: db 2
|
||||
ENDL
|
||||
CC: db 3
|
||||
LOAD FRAGMENT "RAM section", WRAM0
|
||||
DD: db 4
|
||||
ENDL
|
||||
1
test/link/load-fragment/base/ref.out.bin
Normal file
1
test/link/load-fragment/base/ref.out.bin
Normal file
@@ -0,0 +1 @@
|
||||
|
||||
5
test/link/load-fragment/base/ref.out.sym
Normal file
5
test/link/load-fragment/base/ref.out.sym
Normal file
@@ -0,0 +1,5 @@
|
||||
; File generated by rgblink
|
||||
00:0000 AA
|
||||
00:0002 CC
|
||||
00:c000 BB
|
||||
00:c001 DD
|
||||
Reference in New Issue
Block a user