1
1
mirror of https://github.com/kanaka/mal.git synced 2024-11-13 01:43:50 +03:00

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.
This commit is contained in:
Ben Harris 2019-05-30 22:31:12 +01:00
parent a003046c8d
commit 022d4cb9f7

View File

@ -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