Mirror of CollapseOS
Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.

17 строки
537B

  1. Initialization sequence
  2. On boot, we jump to the "main" routine in boot.fs which does
  3. very few things.
  4. 1. Set SP to 0x10000-6
  5. 2. Sets HERE to RAMEND (RAMSTART+0x80).
  6. 3. Sets CURRENT to value of LATEST field in stable ABI.
  7. 4. Look for the word "BOOT" and calls it.
  8. In a normal system, BOOT is in icore and does a few things:
  9. 1. Find "(parse)" and set "(parse*)" to it.
  10. 2. Find "(c<)" a set CINPTR to it (what C< calls).
  11. 3. Write LATEST in SYSTEM SCRATCHPAD ( see below )
  12. 4. Find "INIT". If found, execute. Otherwise, "INTERPRET"(cont)