2020-04-24 05:14:14 +10:00
|
|
|
: BOOT
|
|
|
|
0x02 RAM+ CURRENT* !
|
|
|
|
LIT< (parse) (find) DROP (parse*) !
|
2020-05-02 22:06:37 +10:00
|
|
|
CURRENT @ 0x2e RAM+ ! ( 2e == BOOT C< PTR )
|
2020-04-25 04:10:40 +10:00
|
|
|
0 0x08 RAM+ ! ( 08 == C<* override )
|
2020-05-02 10:05:15 +10:00
|
|
|
LIT< (emit) (find) DROP 0x53 RAM+ ! ( 53 == EMITPTR )
|
|
|
|
0 0x55 RAM+ ! ( 55 == EMITPTR override )
|
2020-04-25 02:10:07 +10:00
|
|
|
( 0c == C<* )
|
2020-04-24 05:14:14 +10:00
|
|
|
LIT< (boot<) (find) DROP 0x0c RAM+ !
|
2020-04-25 02:10:07 +10:00
|
|
|
( boot< always has a char waiting. 06 == C<?* )
|
|
|
|
1 0x06 RAM+ !
|
2020-04-24 05:14:14 +10:00
|
|
|
LIT< INIT (find)
|
2020-05-02 10:05:15 +10:00
|
|
|
IF EXECUTE ELSE DROP INTERPRET THEN
|
2020-04-24 05:14:14 +10:00
|
|
|
;
|
|
|
|
|