Mirror of CollapseOS
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

17 行
516B

  1. Initialization sequence
  2. On boot, we jump to the "main" routine in B289 which does
  3. very few things.
  4. 1. Set SP to PS_ADDR and IX to RS_ADDR
  5. 2. Sets HERE to RAMEND (RAMSTART+0x80).
  6. 3. Sets CURRENT to value of LATEST field in stable ABI.
  7. 4. Execute the word referred to by 0x04 (BOOT) in stable ABI.
  8. In a normal system, BOOT is in core words at B396 and does a
  9. few things:
  10. 1. Initialize all overrides to 0.
  11. 2. Write LATEST in BOOT C< PTR ( see below )
  12. 3. Set "C<*", the word that C< calls to (boot<). (cont.)