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
594B

  1. 5. Core words (high)
  2. Boot code (B280)
  3. This part contains core routines that underpins Forth fundamen-
  4. tal structures: dict navigation and search, PSP/RSP bounds
  5. checks, word types (atom, native, literals, "does type"), etc.
  6. It also of course does core initialization: set RSP/PSP, HERE
  7. CURRENT, then find BOOT and call it (see B89).
  8. It also contains what we call the "stable ABI" in its first
  9. 0x100 bytes. The beginning og the dict is intertwined in this
  10. layer because EXIT, (br), (?br) and (loop) are part of the
  11. stable ABI.
  12. (cont.)