Machine Code Calculator for Model I (CAS) - David Crofts (2003)

David A.S.Crofts
================

23 Brisbane Street
Berwick Victoria 3806
Australia

16th December 2003

The included CAS files represent the best of the programs I wrote on my old System 80
between 1980 and 1982. My System 80 was a clone of the TRS-80 Model I with LEVEL II BASIC
and 16K RAM. I have tested these files in Windows using David Keil's Emulator running
LEVEL II BASIC and 16K RAM. I have also tested these files in Linux using Timothy Mann's
Emulator. I owe David Keil and Timothy Mann a debt of gratitude because in 2003 it was a
real buzz to see my old programs again.


SYS_CC.CAS	Machine Code Calculator
==========	-----------------------

Queue cassette at start using F11
Type "SYSTEM"	Hit Enter
Type "CC"	Hit Enter
When tape loaded and next SYSTEM prompt appears Hit Break (Esc)
Type "CLOAD"	Hit Enter
When READY prompt appears Type "RUN" and Hit Enter.


Calculator Instructions
=======================


Numbers		[-]nnn...[.nnn...][D/E[+/-]nn]
-------
eg: 1, -1, 0.333, -0.333, -1D10, 1D-10, -1E10, 1E-10

Constants	E, PI
---------
note:	E =  2.718281828459045235
PI = 3.141592653589793238

Operators	**, /, *, +, -
---------
note:	**  is to the power.
operators are binding order.

Functions	-, ABS, ATAN, COS, EXP, LOG2, LOG10, LOG, SIN, SQRT, TAN.
---------
eg: SQRT(SIN(PI/4)**2+COS(PI/4)**2), TAN(PI/4), -(-(1)), LOG(1/E/E)
