mirror of
https://github.com/hsoft/collapseos.git
synced 2024-11-05 19:30:56 +11:00
3d908cef3a
This allows us to get rid of the (parse*) indirection.
16 lines
284 B
Plaintext
16 lines
284 B
Plaintext
: RAM+ [ RAMSTART LITN ] + ;
|
|
: BIN+ [ BIN( @ LITN ] + ;
|
|
: HERE 0x04 RAM+ ;
|
|
: CURRENT* 0x51 RAM+ ;
|
|
: CURRENT CURRENT* @ ;
|
|
|
|
( w -- a f )
|
|
: (find) CURRENT @ SWAP _find ;
|
|
|
|
: QUIT
|
|
(resRS)
|
|
0 0x08 RAM+ ! ( 08 == C<* override )
|
|
LIT< INTERPRET (find) DROP EXECUTE
|
|
;
|
|
394 413 LOADR
|