Mirror of CollapseOS
Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.

16 lignes
548B

  1. : INTERPRET
  2. BEGIN
  3. WORD DUP @ 0x0401 = ( EOT ) IF DROP EXIT THEN
  4. FIND NOT IF (parse) ELSE EXECUTE THEN
  5. C<? NOT IF SPC LIT" ok" (print) NL THEN
  6. AGAIN ;
  7. ( Read from BOOT C< PTR and inc it. )
  8. : (boot<)
  9. ( 2e == BOOT C< PTR )
  10. 0x2e ( BOOT C< PTR ) RAM+ @ DUP C@ ( a c )
  11. SWAP 1 + 0x2e RAM+ ! ( c ) ;
  12. ( pre-comment for tight LOAD: The 0x08==I check after INTERPRET
  13. is to check whether we're restoring to "_", the word above.
  14. if yes, then we're in a nested load. Also, the 1 in 0x06 is
  15. to avoid tons of "ok" displays. )