home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
rtsi.com
/
2014.01.www.rtsi.com.tar
/
www.rtsi.com
/
OS9
/
OSK
/
GAMES
/
informosk.lha
/
readme.osk
< prev
next >
Wrap
Text File
|
1993-12-21
|
1KB
|
29 lines
(December 20, 1993)
Howdy!
Here's my humble attempt at porting Graham Nelson's nifty Z-code compiler
to the OS-9/680x0 (OSK for short) operating system.
Mr. Nelson, I salute you. Your documentation is superb; it made the
program a breeze to port. 8-)
Contained in this archive is all the original stuff from the generic UNIX
distribution, with one additional thing: the file "informosk.c" is a K&R-ized
version of the C source for the compiler. Since I don't have Microware's
relatively new Ultra-C (which is supposed to be a full ANSI compiler), I had
to change all the function headers back to the old K&R syntax, get rid of some
'const' keywords, etc. As a result, you should be able to compile informosk.c
with the regular Microware C compiler. If you have GNU C, it should be pretty
easy to get the ANSI version ("inform.c") to work.
To compile informosk.c, use the following commandline (the -K0WCL flags
force longword code references, otherwise r68 complains about out of range
branches):
$ cc -K0WCL -E=1 -M=16k informosk.c -F=inform
The compiler generates the dejavu.z3 demo properly, as far as I know, so it
should be good. I compiled it on an MM/1 computer with OS9 v2.4.
-Russ Magee