File README.TXT supplied with DFM1
==================================

Version 1.0
17-March-1989 15:13 

Stopping and Interrupting
-------------------------
If you press the <Esc> key at any time the program will stop. If it
is in the middle of a plot it will stop calculating and assume that
you don't want that plot. At any other time pressing <Esc> will return
you to DOS; WITHOUT SAVING ANY WORK THAT YOU MAY HAVE DONE. 
Pressing <ctrl>-<Break> now has no effect at all.

Special Option for Olivetti and AT&T
------------------------------------
PC-compatible machines from these manufacturers emulate the IBM CGA
adapter but can also produce graphics at twice the resolution.  This
facility can be activated by typing " /o" on the command line just
after you type "DFM1".  You will need to consult your MS-DOS manual
about printing the high resolution graphs, e.g. Olivetti machines
require that you type "GRAPHICS /D/U" instead of just "GRAPHICS"
before you run DFM1 (see section 7.4, page 49). This only works
with copies of Olivetti's graphics.com dated 28 July 1986 or later.

8087
----
The display differences are handled automatically but machines with
and without 80x87 chips require different versions of the program.
The previous version of the program HIP487.com required an 80x87
chip, DFM1 does not need one, but it will use one if it is present.

Display Adapters
----------------
There are 5 files on the supplied disc with the filename extension 'BGI'.
These contain the information needed to plot graphs on various different
graphics adapters.  The appropriate BGI file MUST be on the same disc (in
the same subdirectory) as the file DFM1.exe which you are using.

NOTE these .BGI files are DIFFERENT from the .BGI files supplied with
the HIP program HIP188, the files here are for Turbo Pascal v5, the old
ones are for Turbo Pascal v4.

In order to save trouble you are recommended to keep ALL of
them together although strictly speaking you only need the BGI file for
the adapter you are using, e.g. if you are using an IBM PC3270/G then you
only need the file pc3270.BGI.

If you do corrupt or delete a BGI file and discover later that you need it, 
then you can get them easily by buying a copy of Borland's Turbo Pascal 
Version 5.0; they come as part of that package.

Space for Users' Files
----------------------
All the data is kept in one file, but the system requires space for two
copies of this file since it keeps a backup whenever it stores any
changes (the backup is invisibly deleted after a successful copy).
If you have a pre-release copy of the program, i.e. before v1.0, the
program will produce a debug file debug.txt on the disc. This may get very 
large and you should delete it.

Command Line Options
--------------------
usage:  DFM1 <path><dataname> <options>
e.g.    DFM1 \source\copper /f /w:\op\copper.lst /p- 

/h      help and information only
/f      fast option, no interaction with user
/d      demonstration, exactly as /f but pauses 2 seconds between maps
/e      display exit codes only
/s      options for stress map (<fn> denotes full path & filename):
          /s+     produce a pressure map (default)
          /s-     do not produce a pressure map at all

/t      options for temperature map (as for /p)
          /t+     produce a temperature map (default)
          /t-     do not produce a temperature map at all

/w      produce a listing to the printer
/w:<fn> sends the listing to a file instead of the printer
        (<fn> denotes full path & filename)
/o  /c  for Olivetti or CGA display modes

All options MUST BE SEPARATED BY SPACES.

The example:
DFM1 \source\copper /f /w:\op\copper.lst /t- 
takes it data file from the directory \source on the current drive, does
not run the menus which enable editing but goes directly to calculating the
map (/f fast option), it produces a listing of the input data in file 
copper.lst on directory \op on the current drive. It does not produce any
temperature map.

If you have a PS/2 with a VGA graphics adapter (Model 50, 60) or a PS/2
with an MCGA adapter (Model 30) you will automatically get high-resolution
plots on the screen, but screen dumps will not work.  If you
wish to do screen dumps of plots you will have to force CGA mode by using
the /c option when you start running DFM1.  Alternatively you can upgrade
to MS-DOS 4.0 where the graphics.com file DOES handle VGA, OR you can use
a commercial screendump utility such as GRAPHPLUS with MS-DOS 3.0 and later.

EXIT CODES
----------
These can be detected by MS-DOS batch files and are:
0       Everything ran OK
1       Help or exit codes information only
2       Ran but input data gives cause for concern
4       Failed to write all output files correctly
6       Failed to open an input file
7       Error in command line options
>=8     Internal error, telephone +44 (223) 332627

<end of readme.txt>

