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 >
Text File  |  1993-02-16  |  2KB  |  48 lines

  1. POVOSK Source   -   February 2, 1993 Tuesday 9:22:06 pm   -   Mike Haaland
  2.  
  3. These files allow compiling the distribution source for POVRay 1.0 under
  4. OSK with the standard Microware C Compiler.
  5.  
  6. Only 1 source file had to be changed and only in 1 place.  There is a
  7. duplicate case error in tokenize.c that causes any OSK C compiler to barf. :)
  8. (That means even GNU CC <smile>) '\n' and '\r' are the same under OSK C,
  9. but not under any other C.  This is a system specific problem.  The
  10. included tokenize.c fixes this bug.
  11.  
  12. All these files should be un-archived in a sub-directory called MACHINE in
  13. the POV source directory.  To make POV:
  14.  
  15. 1. chd to the directory that contains the POV source
  16. 2. Makdir RELS
  17. 3. make -f=machine/osk.mak install
  18. 4. make
  19.  
  20. To clean up afterwards:
  21.  
  22. 1. make clean
  23.  
  24. The c68 module as supplied by MicroWare has only 0x1C00 of stack space and
  25. CC doesn't allow allocating extra stack for modules it forks.  This causes
  26. a stack overflow when trying to compile 'poly.c'.  I had to patch c68 to
  27. increase the stack size.  I patched it to 0x8C00 bytes.  This can be done
  28. with a disk editor and VERIFY, or you can patch c68 in memory, save it back
  29. to disk then run VERIFY on it.  The byte offset in the module is 0x3E.
  30.  
  31. If you are using Kwindows on an MM/1 or TC-70 you can set -DKWINDOWS in
  32. the makefile to allow displaying the schene as it is rendered with the +d
  33. switch.  If -DKWINDOWS is set while compiling, my CGFX.L must be linked
  34. in with the code.  The latest cgfx.l with docs and headers may be found
  35. on cabrales.cs.wisc.edu.
  36.  
  37. For no display options you needn't lib with cgfx.l as long as KWINDOWS is
  38. not used as a compilation define.
  39.  
  40. Enjoy the wide world of RayTracing with POV.
  41.  
  42.  - Mike Haaland -
  43.  
  44. Compuserve : 72300,1433
  45. Delphi     : MIKEHAALAND
  46. Internet   : mike@htsmm1.las-vegas.nv.us
  47.  
  48.