Kvikkalkul Library Routines
---------------------------

Notes:	DN means "does nothing".
	A decimal number is in the range -0.99995 to 0.99995.
	An integer is in the range -19999 to 19999.
	A scaled fraction is in the range -399.98 to 399.98.

 11	Integer .0 = integer .0 * integer .1.
 12	Integer .0 = integer .0 / integer .1.
 21	Convert decimal number in .0 to scaled fraction in .0.
 22	Convert fractional part of scaled fraction in .0 to decimal number
	in .0.
 31	As 11 for scaled fractions.
 32	As 12 for scaled fractions.
 48	Wait until character ready on teletype. Read to .0. Return neg on EOF.
 49	Same as 48 for paper tape. (DN)
100	Write .0 to teletype in decimal format.
101	Write .0 to paper tape in decimal format. (DN)
150	Read decimal number from teletype to .0.
151	Read decimal number from paper tape to .0. (DN)
200	Send CRLF to teletype.
201	Send CRLF to paper tape. (DN)
250	Wait until CRLF received from teletype.
251	Wait until CRLF received from paper tape. (DN)
300	Write integer in .0 to teletype.
301	Write integer in .0 to papar tape. (DN)
302	Write scaled fraction in .0 to teletype.
303	Write scaled fraction in .0 to paper tape. (DN)
350	Read integer to .0 from teletype.
351	Read integer to .0 from paper tape. (DN)
352	Read scaled fraction to .0 from teletype.
353	Read scaled fraction to .0 from paper tape. (DN)
400	.0 = sqrt(.0)
450	.0 = sin(.0 * PI)
460	.0 = cos(.0 * PI)
470	.0 = atan(.0) / 0.5PI (input is scaled fraction)
480	.0 = log2(.0+1) (output is scaled fraction)
490	.0 = 2^.0 - 1
530	Read a line into storage pointed to by /0 from teletype. Line is
	terminated with line feed.
531	As 530 for paper tape. (DN)
540	Write a line to the teletype from the storage pointed to by /0. Stops
	at the end of the storage or a line feed.
541	As 540 for paper tape. (DN)
550	Read a line in packed format into storage pointed to by /0 from
	teletype. The packed form can contain numbers that would not normally
	be producable in kvik.
551	As 550 for paper tape. (DN)
560	Write a line in packed format in the storage pointed to by /0 to the
	teletype.
561	As 560 for paper tape. (DN)
666	Emergency stop.
888	Dump program state to a file called 'k.state.c'.
900	Set .0 to hour number / 24.0.
