1
0
mirror of https://github.com/dschmenk/PLASMA.git synced 2024-10-18 22:24:28 +00:00

Tune buffer sizes so 64K machine can optimize

This commit is contained in:
David Schmenk 2018-01-15 20:35:02 -08:00
parent 05689e2720
commit de74f13099
3 changed files with 3 additions and 5 deletions

Binary file not shown.

View File

@ -484,7 +484,7 @@ def init_idglobal#0
if isult(heapavail, $8000)
tag_num = TAGNUM/2
fixup_num = FIXUPNUM/2
globalbufsz = IDGLOBALSZ/2
globalbufsz = IDGLOBALSZ
localbufsz = IDLOCALSZ/2
fin
tag_addr = heapalloc(tag_num*2)

View File

@ -418,10 +418,8 @@ if ^arg and ^(arg + 1) == '-'
//
// Load optimizer module here
//
if MACHID & $30 == $30
if cmdsys:modexec("CODEOPT") >= 0
outflags = outflags | OPTIMIZE
fin
if cmdsys:modexec("CODEOPT") >= 0
outflags = outflags | OPTIMIZE
fin
if not (outflags & OPTIMIZE)
puts("\nOptimizer disabled\n")