mirror of
https://github.com/gbdev/rgbds.git
synced 2025-12-01 07:17:49 +00:00
Add more tests for unionized sections + fix bugs
Implementing those tests found a few bugs... oops
This commit is contained in:
21
test/link/section-union/good/a.asm
Normal file
21
test/link/section-union/good/a.asm
Normal file
@@ -0,0 +1,21 @@
|
||||
SECTION UNION "a", WRAM0
|
||||
ds 10
|
||||
a1:
|
||||
|
||||
SECTION UNION "b", WRAMX,ALIGN[4]
|
||||
banked::
|
||||
ds 10
|
||||
b1:
|
||||
|
||||
SECTION UNION "c", HRAM[$FFC0]
|
||||
ds 5
|
||||
c1::
|
||||
|
||||
|
||||
SECTION "output 1", ROM0
|
||||
dw a1,a2 ; $C00A, $C02A
|
||||
dw b1,b2 ; $DABA, $DAB2
|
||||
dw c1,c2 ; $FFC5, $FFC5
|
||||
|
||||
SECTION "output 3", ROM0
|
||||
db BANK(banked)
|
||||
Reference in New Issue
Block a user