From: Ben Harris Date: Thu, 30 May 2019 21:31:12 +0000 (+0100) Subject: bbc-basic: Slight tweak to heap size. X-Git-Url: http://git.hcoop.net/jackhill/mal.git/commitdiff_plain/022d4cb9f7fc1f0e93bc6d5d8282c721e6236fe2 bbc-basic: Slight tweak to heap size. Making the mal heap very slightly smaller allows the self-hosting test to complete on a 64-bit host. This is really not the right approach, though. I should really just give in and specify "-size 1024k" to Brandy, or have the GC somehow detect that we're wasting a lot of memory on strings and it should run early. At the moment, there's a tiny range of heap sizes that actually work. --- diff --git a/bbc-basic/types b/bbc-basic/types index 3f1c98f6..b1f3413f 100644 --- a/bbc-basic/types +++ b/bbc-basic/types @@ -57,7 +57,7 @@ DEF PROCtypes_init REM 8 bytes in Brandy on a 32-bit system, 16 bytes in Brandy on REM a 64-bit system. - DIM Z%((HIMEM-LOMEM)/100,3), Z$((HIMEM-LOMEM)/100) + DIM Z%((HIMEM-LOMEM)/110,3), Z$((HIMEM-LOMEM)/110) DIM sS%((HIMEM-LOMEM)/64) Z%(1,0) = &04 : REM false