 ------------------------------------------------------------------------------
  \SURFCAM\surf40d          SURFCAM Version 4.0 for DOS               
  install.40                  Installation information                 7/10/93  
 ------------------------------------------------------------------------------

 -- DOS Installation ----------------------------------------------------------

      1.) Put the floppy disk in the drive and type A:INSTALL at the 
          DOS prompt.
  
      2.) The installation program will ask you the drive to install
          SURFCAM upon.  A list of available drives will be shown.  The drive
          you choose must have approximately 12 MB available for the complete
          installation. Use the arrow keys to select the desired drive and
          hit the Enter key.
  
      3.) The installation program will ask for the directory to install
          SURFCAM in.  It will display the default directory "\SURFCAM".
          Edit this to the desired directory and hit the Enter key.
          If a directory with the same name exists, it will ask if you
          would like to install over the current version.  The directory
          structure of the new version is significantly different from the
          previous versions and it is recommended to install in a new
          directory and make modifications to the new version.
         
      4.) The installation program will then ask you if this is a new
          installation or you are updating a previous version of SURFCAM.
          If you choose 'Update', it will ask you a few more questions
          explained in the Update section below.

      5.) SURFCAM can be installed to work in metric mode or inch mode.
          The installation program gives you the choice to install the
          desired version of the support and sample files.
      
      6.) The installation program will ask which of the options you would
          like to install.  Selecting 'Complete system and sample files'
          will install all the available options.  Following is the list
          of the options.
                                                        Space required (KB)
                                                        Inch        Metric
                                                       ------       ------
          Complete SURFCAM system and sample files     11,380       12,250
          SURFCAM system only                           6,100        6,100
          Sample part files                             1,750        1,750
          Sample tool path motion files                   880          970
          Milling tool display files                      700          980
          Lathe tool display files                      1,420        1,920
          Sample mill posts                               410          410
          Sample lathe posts                               90           90
          Sample Wire EDM posts                            30           30
 
          To select the option use the arrow keys to highlight the option
          and the spacebar will toggle the No/Yes.  The 'Enter' key will
          accept the options as displayed.

      7.) The installation program will ask you which graphics card is on
          the machine.  Choose the graphics card from the list.  If you are
          not sure select VGA and contact your dealer to inquire if you can
          run in a higher resolution mode.

      8.) The installation program will then start copying the required files
          from the floppy disks.

      9.) The installation program will then ask if it can change the
          CONFIG.SYS and AUTOEXEC.BAT files.  Following are the changes it
          tries to make.
            In CONFIG.SYS we recommend "FILES = 30" or more.
            In AUTOEXEC.BAT we recommend setting an environment variable
            SURFCAM to the directory in which SURFCAM is installed.

     10.) The installation program then expands the files on the hard disk,
          and makes changes to the appropriate files.  It then informs you
          that the installation is complete.

     11.) If your computer is using 386MAX memory manager or any other
          memory manager that provides DPMI, a change must be made to
          SURFCAM to enable it to catch Math errors.

          Execute the following command in the \surfcam\surf40d directory
             cfig286 surfcam.exe -NODPMI

          To see the switches set on the executable file type the following
          command.
             cfig286 surfcam.exe

          To remove any switches that are set on the file type as follows
             cfig286 surfcam.exe -clear

          Making this change will not let SURFCAM run as a DOS application
          under windows.  This is a limitation with the DPMI memory model.
          To catch Math errors under windows, clear the switches on the
          SURFCAM executable and install the PHARLAP.386 driver (explained
          in README.40).

 -- Updating from Ver 3.5 -----------------------------------------------------
      Refer to the file 'UPDATE.40' for detailed information on updating from
      SURFCAM V3.5.

 -- Windows Ver 3.1 -----------------------------------------------------------
      SURFCAM V4.0 for DOS will run under Windows V3.1 as a full screen
      DOS application.  We have included a 'SURFCAM.PIF' which has been tuned
      for speed and compatibility.  Follow the instructions below to create an
      icon for use by the 'Program Manager'.

      1.) From the 'Program Manager' select 'File' 'New...'.
      
      2.) A 'New Program Object' window will pop-up and select 'Program Group'
          and select 'OK'.

      3.) A 'Program Group Properties' window will appear, in the 'Description'
          field type 'SURFCAM' and select 'OK'.

      4.) An empty SURFCAM window will be created.
      
      5.) From the 'Program Manager' select 'File' 'New...'.
          
      6.) A 'New Program Object' window will pop-up and select 'Program Item'
          and select 'OK'.

      7.) A 'Program Item Properties' window will appear, select the 'Browse'
          button and select 'SURFCAM.PIF' from the 'C:\SURFCAM\SURF40D'
          directory and then 'OK' from the browse pop-up window.
          
      8.) You will then return to the 'Program Item Properties' window.  Type
          in the 'Working Directory' field the 'C:\SURFCAM\SURF40D' and
          select 'OK'.
          
      9.) The MSDOS application icon will appear for SURFCAM.
      
     10.) To begin SURFCAM V4.0 for DOS from Windows simply double click the
          SURFCAM icon. 

      -- Floating point errors ------------------------------------------------
      By default Windows V3.1 traps floating point errors from DOS applications
      and automatically closes the DOS application.  If a floating point error
      occurs Windows will automatically close SURFCAM.  Follow the instructions
      below to eliminate this problem by installing the 'PHARLAP.386' driver.

      1.) From the 'C:\WINDOWS' directory edit the ascii file 'SYSTEM.INI'
          with 'SEDIT' or your favorite text editor.  'SYSTEM.INI' is similar
          to the 'CONFIG.SYS' file except for Windows.
          
      2.) Following the section header titled '[386Enh]' insert the following:
      
          'DEVICE=C:\SURFCAM\SURF40D\PHARLAP.386'
          
      3.) Save 'SYSTEM.INI' and exit the editor.
      
      The 'PHARLAP.386' driver will be utilized the next time you start Windows.

 -- Network Installation ------------------------------------------------------
      Installation of SURFCAM V4.0 for DOS on a network is done in two major
      steps.  The first step is to install SURFCAM on a server's hard drive
      following the standard software installation procedure.  The second step
      involves configuring each SURFCAM user.  Follow the instructions below
      for each user.
      
      1.) From the 'root' directory make a 'SURFCAM' directory on the local
          user's hard drive.
      
      2.) Change your current working directory from 'root' to 'SURFCAM'.
      
      3.) From the 'SURFCAM' directory make a 'TMP' directory on the local
          user's hard drive.

      4.) Copy the 'SURFCAM.CFG' file from the '\SURFCAM\SURF40D' directory
          from the server's hard drive.
          
      5.) Edit the ascii file 'SURFCAM.CFG' with 'SEDIT' or your favorite
          text editor.
          
      6.) Edit the 'Graphics' and 'Pointer' options to the hardware 
          requirements of the local user.
          
      7.) Edit all of the 'Default System Files' to the server's hard drive.
      
      8.) Edit all of the 'Default paths' to the server's hard drive except
          for 'Temppath' which should point to '\SURFCAM\TMP' on the local
          user's hard drive.
          
      9.) Edit the remaining default system, tolerances, display, plotter,
          NC and color parameters to the local user's requirements.
          
     10.) Save 'SURFCAM.CFG' and exit the editor.

     11.) Create a new batch file called 'SURFCAM.BAT' with your editor based
          on the following lines.  If you have a menu program simply include
          the same lines.
          
          ECHO OFF
          C:
          CD \SURFCAM
          H:\SURFCAM\SURF40D\SURFCAM
          
          NOTE: The above lines assume 'C:' as the local user's hard drive and
                'H:' as the server's hard drive.
                
     12.) Save 'SURFCAM.BAT' and exit the editor.
      
     13.) Install the SIM on the local user's parallel port and start SURFCAM.
      
     14.) Repeat the above steps for each local user.
