All pastes #908860 Raw Edit

Someone

public text v1 · immutable
·published 2008-02-18 19:52 UTC
rendered paste body
All numbers are in hex.

The current port is stdout to start with.

Standard ports:
  0 - stdout
  1 - stdin
  2 - stderr

Syntax:
  XX YY ... 0A

XX is the module, YY is the command name.

Built-in modules:

00 - Core

00 00 X ...
  Print the contents of '...' to the port X.
00 01 X Y
  Read Y bytes of input from the port X, and give the bytes, followed by 0A,
  to the program.
00 02 X ...
  Assign the module number X to the module named ...