mirror of
https://github.com/hsoft/collapseos.git
synced 2024-11-24 03:38:05 +11:00
7c20501f27
TODO: implement X['] so that I can remove those XCURRENT patterns.
16 lines
301 B
Plaintext
16 lines
301 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
|
|
;
|
|
1 25 LOADR+ ( xcomp core low )
|