save-prg is intended to allow the programmer to use #32 here + as a base address for free usage.
However, the current implementation places a 0 as a latest anchor in the dictionary at the time of the save-prg call. This will obviously be after the turnkey words, which are removed from the dictionary after restore-forth is called at startup, whereupon here rewinds to well before our anchor.
save-prg
is intended to allow the programmer to use#32 here +
as a base address for free usage.However, the current implementation places a 0 as a
latest
anchor in the dictionary at the time of thesave-prg
call. This will obviously be after theturnkey
words, which are removed from the dictionary afterrestore-forth
is called at startup, whereuponhere
rewinds to well before our anchor.