1
0
mirror of https://github.com/hsoft/collapseos.git synced 2024-11-24 02:18:06 +11:00
collapseos/blk/421
2020-05-13 08:00:49 -04:00

15 lines
258 B
Plaintext

: EMIT
( 0x53==(emit) override )
0x53 RAM+ @ DUP IF EXECUTE ELSE DROP (emit) THEN ;
: (print)
BEGIN
C@+ ( a+1 c )
( exit if null or 0xd )
DUP 0xd = OVER NOT OR IF 2DROP EXIT THEN
EMIT ( a )
AGAIN
;