2020-05-15 22:44:49 -04:00
|
|
|
: (main) INTERPRET BYE ;
|
|
|
|
: BOOT
|
|
|
|
0x02 RAM+ CURRENT* !
|
|
|
|
CURRENT @ 0x2e RAM+ ! ( 2e == BOOT C< PTR )
|
|
|
|
0 0x08 RAM+ ! ( 08 == C<* override )
|
|
|
|
0 0x53 RAM+ ! ( 53 == (emit) override )
|
|
|
|
0 0x55 RAM+ ! ( 55 == (key) override )
|
2020-10-28 11:35:32 -04:00
|
|
|
['] CRLF 0x0a RAM+ ! ( NLPTR )
|
2020-05-15 22:44:49 -04:00
|
|
|
( 0c == C<* )
|
|
|
|
['] (boot<) 0x0c RAM+ !
|
2020-05-22 14:50:34 -04:00
|
|
|
['] C@ A@* ! ['] C! A!* !
|
2020-05-15 22:44:49 -04:00
|
|
|
( boot< always has a char waiting. 06 == C<?* )
|
|
|
|
1 0x06 RAM+ ! INTERPRET
|
2020-09-19 18:51:29 -04:00
|
|
|
RDLN$ LIT" _sys" [entry]
|
|
|
|
LIT" Collapse OS" (print) NL (main) ;
|
2020-06-21 11:41:10 -04:00
|
|
|
XCURRENT @ _xapply ORG @ 0x04 ( stable ABI BOOT ) + !
|