2020-05-16 00:19:39 +10:00
|
|
|
: (main) INTERPRET BYE ;
|
2020-05-03 11:21:47 +10:00
|
|
|
: 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-05-04 22:10:18 +10:00
|
|
|
0 0x0a RAM+ ! ( NLPTR )
|
2020-05-03 11:21:47 +10:00
|
|
|
( 0c == C<* )
|
2020-05-14 03:24:58 +10:00
|
|
|
['] (boot<) 0x0c RAM+ !
|
2020-05-03 11:21:47 +10:00
|
|
|
( boot< always has a char waiting. 06 == C<?* )
|
2020-05-16 01:34:35 +10:00
|
|
|
1 0x06 RAM+ ! INTERPRET
|
|
|
|
RDLN$ LIT< _sys [entry]
|
|
|
|
LIT< CollapseOS (print) NL (main) ;
|