Sujet : Re: PAD and preemptive multi-tasking
De : oh2aun (at) *nospam* gmail.com (FFmike)
Groupes : comp.lang.forthDate : 21. Dec 2024, 16:17:32
Autres entêtes
Organisation : novaBBS
Message-ID : <4d1313d9bdb54592e266292ea2881e2f@www.novabbs.com>
References : 1
User-Agent : Rocksolid Light
In FlashForth I had a PAD for each task in the end of the user area.
The default size was 0 in order to not waste memory in small MCUs.
The smallest MCU had just 300 bytes of free RAM.
The idea was to ALLOT the size of PAD that you want to have before
allotting any other ram for a task.
This was confusing for most users so now there is only one global PAD.
I barely use PAD for anything, just for some interactive testing.
FlashForth's code segment is in flash, not in ram, so there is no
coordination needed between code and data allocations.
-- Mikael