In article <
[email protected]>,
LIT <
[email protected]> wrote:
Traditionally -2 CELLS +ORIGIN was the warm start.
It is useful to guide signals to this address.
"Traditionally"? Correct me, if I'm wrong -- but
usually the first address of the whole Forth system
was "0 +ORIGIN" -- and everything else was "higher".
So although feasible still "-2 CELLS +ORIGIN" looks
rather, say, "unorthodox". ;)
I stand corrected. I have looked into half a dozen fig Forth
listing that lying around here.
The most evolved version has what you describes.
Indeed it looks like
ORIG:
cold and warm vector
assorted random data
user variables initialisation.
ciforth was evolved from fig Forth.
So actually I described the ciforth model.
The order is vectors then user variables in ciforth.
+ORIGIN was mainly useful to access the random data
and later the main task was accessing the user variables.
In ciforth the random data have been moved and given names and
now +ORIGIN points to user variable initialisation.
I apparently found it useful that the offset for +ORIGIN is
the same as the user variable offset in the user area.
As you implement SAVE-SYSTEM, you discover that the
of the user pointer itself must be a user variable.
Groetjes Albert
--
Don't praise the day before the evening. One swallow doesn't make spring.
You must not say "hey" before you have crossed the bridge. Don't sell the
hide of the bear until you shot it. Better one bird in the hand than ten in
the air. First gain is a cat purring. - the Wise from Antrim -
--- SoupGate-Win32 v1.05
* Origin: fsxNet Usenet Gateway (21:1/5)