mirror of
https://github.com/hsoft/collapseos.git
synced 2024-11-24 00:08:06 +11:00
baf725aa38
That makes it easier to write drivers that can be xcompiled.
16 lines
282 B
Plaintext
16 lines
282 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 21 LOADR+
|