Reduce SRAM bank number to 16 in rgbasm

The limit was already 16 banks in the linker, which made the previous
limit of 511 useless.

Signed-off-by: Antonio Niño Díaz <antonio_nd@outlook.com>
This commit is contained in:
Antonio Niño Díaz
2018-01-14 16:12:29 +00:00
parent 7bd082563d
commit 8521e45edc

View File

@@ -37,7 +37,7 @@ static void bankrangecheck(char *name, uint32_t secttype, int32_t org,
case SECT_SRAM: case SECT_SRAM:
stype = "SRAM"; stype = "SRAM";
minbank = 0; minbank = 0;
maxbank = 0x1ff; maxbank = 15;
break; break;
case SECT_WRAMX: case SECT_WRAMX:
stype = "WRAMX"; stype = "WRAMX";