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

  1. Core words (high) (B350)
  2. Then come EMIT, KEY and everything that depend on it, until
  3. we have a full Forth interpreter. At the very end, we define
  4. tricky IMMEDIATEs that, if defined earlier, would break cross
  5. compilation.
  6. We end that with a hook words which is also where CURRENT will
  7. be on boot.
  8. So that's the anatomy of a Collapse OS binary. How do you build
  9. one? If your machine is already covered by a recipe, you're in
  10. luck: follow instructions.
  11. If you're deploying to a new machine, you'll have to write a
  12. new xcomp (cross compilation) unit. Let's look at its (cont.)