Add more tests for unionized sections + fix bugs

Implementing those tests found a few bugs... oops
This commit is contained in:
ISSOtm
2020-03-22 01:46:10 +01:00
parent 275b8e15ff
commit 4877bb783c
28 changed files with 178 additions and 7 deletions

View File

@@ -0,0 +1,12 @@
; NB: the error is that there is no room to place the unionized section in,
; so RGBASM can't possibly error out.
IF !DEF(SECOND)
SECTION "bloat", WRAMX[$d000], BANK[2]
ds $fe0
SECTION UNION "test", WRAMX, BANK[2]
db
ELSE
SECTION UNION "test", WRAMX, ALIGN[6]
db
ENDC