11-10-2019, 05:49 PM
(11-09-2019, 04:27 PM)Week of the agents Wrote: Hi, I am developing game with ZX Basic for a Spectrum 48k and when total size of compiled code approach up to 35-36K shit happens. Program can hang on or some pixels on screen are highlighted or INKEY stops to working.Theoretically it should work ok. If you don't use strings or do little usage of them, try reducing the heap (4k by default) compiling with the flag:
Is there some limit?
I load code at address 24576 (24K) so I thought I have 40K room for free.
--heap-size=1024 for example (1k for heap). I recommend not to reduce heap size below 512.
Try please, and tell me.