Add more checks to section creation in RGBASM

Fixes rednex#471, but also backports a couple more checks from RGBLINK
This commit is contained in:
ISSOtm
2020-02-04 02:05:33 +01:00
parent a4fe274c25
commit 8c4b473d6f
5 changed files with 37 additions and 14 deletions

15
test/asm/fixed-oob.asm Normal file
View File

@@ -0,0 +1,15 @@
SECTION "ROM0", ROM0[$BABE]
SECTION "ROMX", ROMX[$BEEF]
SECTION "VRAM", VRAM[$C0DE]
SECTION "SRAM", SRAM[$CAFE]
SECTION "WRAM0", WRAM0[$DEAD]
SECTION "WRAMX", WRAMX[$DAD]
SECTION "OAM", OAM[$CAB]
SECTION "HRAM", HRAM[$BAD]