Mirror of CollapseOS
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

17 lines
685B

  1. After we've loaded the high part of the core words, we're at
  2. the "wrapping up" part. We add what we call a "hook word" (an
  3. empty word with a single letter name) which doesn't cost us
  4. much and can be very useful if we need to augment the binary
  5. with more words, and at that point we have our future boot
  6. CURRENT, which PC yields. That is why we write it to the
  7. LATEST field of the stable ABI: This value will be used at
  8. boot.
  9. After the last word of the dictionary comes the "source init"
  10. part. The boot sequence is designed to interpret whatever comes
  11. after LATEST as Forth source, and this, until it reads ASCII
  12. EOT character (4). This is generally used for driver init.
  13. Good luck!