Re: BASIC for the CBM-II/8088

From: Hans Liss <Hans_at_Liss.pp.se>
Date: Fri, 6 Jul 2018 08:38:37 +0200
Message-ID: <a75d6568-f0e3-538b-5bf6-e2ab1b96bd6f@Liss.pp.se>
Hi Ruud,


On 2018-07-06 08:26, Baltissen, GJPAA (Ruud) wrote:
> Hallo MichaƂ,
>  
>> I would definitely advise against allocating a fixed length for strings.
> But that would mean I have to implement "garbage collection". 
>
>
>> What I would do is to store the program text growing upwards from the bottom of memory, and the variables growing downwards from the top of memory.
> I certainly have a look at it.
>

You could implement a simple heap memory manager. I found this very
clear explanation:
https://www2.cs.arizona.edu/~collberg/Teaching/553/2011/Handouts/Handout-6.pdf

/Hans
Received on 2018-07-06 09:02:04

Archive generated by hypermail 2.2.0.