From 8521e45edcda6645a3ab047dc7a0372d19a27ba2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Antonio=20Ni=C3=B1o=20D=C3=ADaz?= Date: Sun, 14 Jan 2018 16:12:29 +0000 Subject: [PATCH] Reduce SRAM bank number to 16 in rgbasm MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- src/asm/asmy.y | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/asm/asmy.y b/src/asm/asmy.y index d44a4376..1711b369 100644 --- a/src/asm/asmy.y +++ b/src/asm/asmy.y @@ -37,7 +37,7 @@ static void bankrangecheck(char *name, uint32_t secttype, int32_t org, case SECT_SRAM: stype = "SRAM"; minbank = 0; - maxbank = 0x1ff; + maxbank = 15; break; case SECT_WRAMX: stype = "WRAMX";