File:      compiler.txt
Author(s): Ling Thio - CSE Computer Systems Expertise
           H.L.Thio@et.tudelft.nl
Date:      Aug 1993.

NB the file NPD/DP/DPREC.C must be compiled specially,
  because it contains 2 pascal callback functions which are
  executed during interrupt time:
    MSC v6.00:     /Aw (/Aw Tells compiler SS!=DS, but do not load DS)
    BORLANDC v3.1: -N- (No stack checking)

The following defines are used throughout .C source codes:
  TRACE_ON: When not defined, no TRACESCREENs are coded (see error.h).
            When defined, the top right of the screen is altered
            using direct writes to 0xb800:0000 + offset.

The following defines are used throughout .ASM source codes:
  M_LARGE: Defines large model for .asm parameter functions.
  MODEL_L: Defines large model for .asm parameter functions.

BorlandC:
  BorlandC v3.1 Support has been added on a later stage (aug 1993).
  One needs to set the following environment:
    include ...\borlandc\bin into the PATH environment variable.
    edit .\builtins.mak and change '-If:\borlandc\include' accordingly.
  One needs to execute the following commands:
    make -f fergie.bmf init (creates subdirs, copies .H files to .\include)
    make -f fergie.bmf make (creates .LIBs to .\lib & .EXEs to .\exe).
  (.BMF stands for Borland Make File).

BorlandC:
  Compiling with -O2 (optimize code generation for speed) did not work
  properly.  For the time being, -Od (no optimization) is used.

BorlandC:
  In order to increast stack size to 8000, the following source codes
    .\aps\fergie\fergie.c
    .\aps\gobbler\gobbler.c
  contain the statements:
    #ifdef __TURBOC__
    extern unsigned _stklen = 8*1024;
    #endif
  just above the main() function.
