TRS-80 Model 100 library for Small-C 85
Willard Goosey
4/16/2017

Requirements:
Small-C 85 : https://github.com/ncb85/SmallC-85
ASxxxx : http://shop-pdp.net
hex2co : From Chris Osburn's personal library at club100.org
	http://club100.org/memfiles/index.php?&direction=0&order=&directory=Chris%20Osburn/RBASIC%20Support
GNU Make: Standard GNU util 
objcopy: Standard GNU binutil

I do not know how to compile any of this under Windows.

So here it is, a minimal Model-100 runtime for Small-C on the Model
100. Real docs are in m100smallc.txt and all source is here. Also
included is minihowto.txt, a short discussion of using ASxxxx for
general Model 100 assembly.

I am aware that this is not stdio. That is... part of the point. Yes,
I miss printf() too.

I am declaring this as an ALPHA release. Among other things that means
that Linus's Law ("Don't break userspace") is NOT in effect. If later
changes break your code, well sorry about that.

Many of these functions are labeled UNTESTED, and that means exactly
what it sounds like. The wrapper functions may have bugs, might be
setting the wrong registers, and maybe even calling completely
incorrect ROM routines. Please send me test code!


TO-DO

The makefile rules could use some help. Currently, to link a program
with multiple user-generated object files, the object file-> .ihx step
has to be explicitly defined. :-(

The source files should be better organized.

More test code needs to be done.

Should be able to specify the base address of the executable from the
makefile.

Generated code has no checks against overwriting memory files with
the stack. 

Currently missing the cassette functions.


