mirror of
https://github.com/hsoft/collapseos.git
synced 2024-11-05 22:20:55 +11:00
c8c337fd58
We can now cross-compile core.fs.
21 lines
322 B
Forth
21 lines
322 B
Forth
: _
|
|
['] EXIT ,
|
|
R> DROP ( exit : )
|
|
XCOFF
|
|
; IMMEDIATE
|
|
';' CURRENT @ 4 - C!
|
|
|
|
: (find) (xfind) ;
|
|
: ['] X['] ; IMMEDIATE
|
|
: COMPILE XCOMPILE ; IMMEDIATE
|
|
: CODE XCODE ;
|
|
: IMMEDIATE XIMM ;
|
|
: : [ ' X: , ] ;
|
|
|
|
CURRENT @ XCURRENT !
|
|
|
|
( dummy entry for dict hook )
|
|
(xentry) _
|
|
H@ 256 /MOD 2 PC! 2 PC!
|
|
H@ ' _bend - XOFF !
|