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 line
549B

  1. : (main) INTERPRET BYE ;
  2. : BOOT
  3. 0x02 RAM+ CURRENT* !
  4. CURRENT @ 0x2e RAM+ ! ( 2e == BOOT C< PTR )
  5. 0 0x08 RAM+ ! ( 08 == C<* override )
  6. 0 0x53 RAM+ ! ( 53 == (emit) override )
  7. 0 0x55 RAM+ ! ( 55 == (key) override )
  8. ['] CRLF ['] NL **!
  9. ( 0c == C<* )
  10. ['] (boot<) 0x0c RAM+ !
  11. ['] C@ ['] A@ ! ['] C! ['] A! **!
  12. ( boot< always has a char waiting. 06 == C<?* )
  13. 1 0x06 RAM+ ! INTERPRET
  14. RDLN$ LIT" _sys" [entry]
  15. LIT" Collapse OS" (print) NL (main) ;
  16. XCURRENT @ _xapply ORG @ 0x04 ( stable ABI BOOT ) + !