mirror of
https://github.com/hsoft/collapseos.git
synced 2024-11-24 02:38:05 +11:00
ca7c21d49f
Otherwise, when a defining word would be called outside a definition itself, it would get the name of the last parsed word, that is, itself! For example, dummy.fs, instead of creating a "_______" entry, created a "(entry)" entry...
12 lines
320 B
Forth
12 lines
320 B
Forth
( When building a compiled dict, always include this unit at
|
|
the end of it so that Forth knows how to hook LATEST into
|
|
it )
|
|
(entry) _______
|
|
|
|
( After each dummy word like this, we poke IO port 2 with our
|
|
current HERE value. The staging executable needs it to know
|
|
what to dump. )
|
|
|
|
HERE @ 256 / 2 PC!
|
|
HERE @ 2 PC!
|