jkotlinski / durexforth

Modern C64 Forth
Other
230 stars 28 forks source link

SAVE-PRG places LATEST after turnkey module #303

Closed burnsauce closed 3 years ago

burnsauce commented 3 years ago

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.