mirror of
https://github.com/hsoft/collapseos.git
synced 2024-12-26 15:18:06 +11:00
16 lines
268 B
Plaintext
16 lines
268 B
Plaintext
|
: RAM+ [ RAMSTART LITN ] + ;
|
||
|
: FLAGS 0x08 RAM+ ;
|
||
|
: (parse*) 0x0a RAM+ ;
|
||
|
: HERE 0x04 RAM+ ;
|
||
|
: CURRENT* 0x51 RAM+ ;
|
||
|
: CURRENT CURRENT* @ ;
|
||
|
|
||
|
( w -- a f )
|
||
|
: (find) CURRENT @ SWAP _find ;
|
||
|
|
||
|
: QUIT
|
||
|
0 FLAGS ! (resRS)
|
||
|
LIT< INTERPRET (find) DROP EXECUTE
|
||
|
;
|
||
|
394 407 LOADR
|