mirror of
https://github.com/hsoft/collapseos.git
synced 2024-12-28 08:38:05 +11:00
bd38d80f9c
and renamed it "Core words". Also, reworded the presentation.
16 lines
294 B
Plaintext
16 lines
294 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< (main) FIND DROP EXECUTE
|
|
;
|
|
1 25 LOADR+ ( xcomp core low )
|