mirror of
https://github.com/hsoft/collapseos.git
synced 2024-11-05 15:20:56 +11:00
dfe474ca0e
This allows us to move words like ABORT" to xcomp-core, which is I think the last roadblock before being able to unify all drivers into a single xcomp layer.
12 lines
244 B
Plaintext
12 lines
244 B
Plaintext
: (uflw) ABORT" stack underflow" ;
|
|
: BS 8 EMIT ;
|
|
: LF 10 EMIT ;
|
|
: CR 13 EMIT ;
|
|
: CRLF CR LF ;
|
|
: SPC 32 EMIT ;
|
|
: NL 0x0a RAM+ @ ( NLPTR ) DUP IF EXECUTE ELSE DROP CRLF THEN ;
|
|
|
|
: (wnf) (print) SPC ABORT" word not found" ;
|
|
: (ok) SPC ." ok" NL ;
|
|
|