Mirror of CollapseOS
Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.

17 lines
635B

  1. (cont.) On a bare system (only boot+icore), this sequence will
  2. result in "(parse)" reading only decimals and (c<) reading
  3. characters from memory starting from CURRENT (this is why we
  4. put CURRENT in SYSTEM SCRATCHPAD, it tracks current pos ).
  5. This means that you can put initialization code in source form
  6. right into your binary, right after your last compiled dict
  7. entry and it's going to be executed as such until you set a new
  8. (c<).
  9. Note that there is no EMIT in a bare system. You have to take
  10. care of supplying one before your load core.fs and its higher
  11. levels.
  12. (cont.)