home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
rtsi.com
/
2014.01.www.rtsi.com.tar
/
www.rtsi.com
/
OS9
/
OSK
/
GRAPHICS
/
povosk.lzh
/
Readme.osk
< prev
next >
Wrap
Text File
|
1993-02-16
|
2KB
|
48 lines
POVOSK Source - February 2, 1993 Tuesday 9:22:06 pm - Mike Haaland
These files allow compiling the distribution source for POVRay 1.0 under
OSK with the standard Microware C Compiler.
Only 1 source file had to be changed and only in 1 place. There is a
duplicate case error in tokenize.c that causes any OSK C compiler to barf. :)
(That means even GNU CC <smile>) '\n' and '\r' are the same under OSK C,
but not under any other C. This is a system specific problem. The
included tokenize.c fixes this bug.
All these files should be un-archived in a sub-directory called MACHINE in
the POV source directory. To make POV:
1. chd to the directory that contains the POV source
2. Makdir RELS
3. make -f=machine/osk.mak install
4. make
To clean up afterwards:
1. make clean
The c68 module as supplied by MicroWare has only 0x1C00 of stack space and
CC doesn't allow allocating extra stack for modules it forks. This causes
a stack overflow when trying to compile 'poly.c'. I had to patch c68 to
increase the stack size. I patched it to 0x8C00 bytes. This can be done
with a disk editor and VERIFY, or you can patch c68 in memory, save it back
to disk then run VERIFY on it. The byte offset in the module is 0x3E.
If you are using Kwindows on an MM/1 or TC-70 you can set -DKWINDOWS in
the makefile to allow displaying the schene as it is rendered with the +d
switch. If -DKWINDOWS is set while compiling, my CGFX.L must be linked
in with the code. The latest cgfx.l with docs and headers may be found
on cabrales.cs.wisc.edu.
For no display options you needn't lib with cgfx.l as long as KWINDOWS is
not used as a compilation define.
Enjoy the wide world of RayTracing with POV.
- Mike Haaland -
Compuserve : 72300,1433
Delphi : MIKEHAALAND
Internet : mike@htsmm1.las-vegas.nv.us