1def_sect: macro 2 IF _NARG == 2 3 SECTION "\1", \2 4 ELSE 5 SECTION "\1", \2, BANK[\3] 6 ENDC 7 8 PRINTLN BANK("\1") 9endm 10 11 def_sect ROM0_ok, ROM0 12 def_sect ROMX_ok, ROMX, 42 13 def_sect ROMX_bad, ROMX 14 def_sect VRAM_ok, VRAM, 1 15 def_sect VRAM_bad, VRAM 16 def_sect SRAM_ok, SRAM, 4 17 def_sect SRAM_bad, SRAM 18 def_sect WRAM0_ok, WRAM0 19 def_sect WRAMX_ok, WRAMX, 7 20 def_sect WRAMX_bad,WRAMX 21 def_sect OAM_ok, OAM 22 def_sect HRAM_ok, HRAM 23