Implement unionized sections in RGBLINK

This commit is contained in:
ISSOtm
2020-03-20 23:44:02 +01:00
parent cb52ae0f26
commit e123b6dec7
11 changed files with 181 additions and 39 deletions

View 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)