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

  1. anatomy. First, we have constants. Some of them are device-
  2. specific, but some of them are always there. SYSVARS is the
  3. address at which the RAM starts on the system. System variables
  4. will go there and use 0x80 bytes. See B80.
  5. HERESTART determines where... HERE is at startup. 0 means
  6. "same as CURRENT".
  7. RS_ADDR is where RSP starts and PS_ADDR is where PSP starts.
  8. RSP and PSP are designed to be contiguous. RSP goes up and PSP
  9. goes down. If they meet, we know we have a stack overflow.
  10. Then, we load the assembler and cross compilation unit, which
  11. will be needed for the task ahead.
  12. (cont.)