mirror of
https://github.com/hsoft/collapseos.git
synced 2024-11-27 21:08:09 +11:00
14 lines
218 B
Plaintext
14 lines
218 B
Plaintext
|
: EMIT
|
||
|
( 0x53==(emit) override )
|
||
|
83 RAM+ @ DUP IF EXECUTE ELSE DROP (emit) THEN ;
|
||
|
|
||
|
: (print)
|
||
|
BEGIN
|
||
|
C@+ ( a+1 c )
|
||
|
( exit if null )
|
||
|
DUP NOT IF 2DROP EXIT THEN
|
||
|
EMIT ( a )
|
||
|
AGAIN
|
||
|
;
|
||
|
|