mirror of
https://github.com/hsoft/collapseos.git
synced 2024-11-27 16:48:05 +11:00
11 lines
209 B
Plaintext
11 lines
209 B
Plaintext
: 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 ;
|
|
|