                             CREATE

                   BGI Driver Creation program
                           20 MAY 1991
                         Knight Software


To create a BGI driver using the supplied source code you will 
need the following programs;

TASM.EXE     - Borland Turbo Assembler
TLINK.EXE    - Borland Linker
EXETOBIN.EXE - Borland EXE to BIN converter
BINOBJ.EXE   - Borland BIN to OBJ converter (for Pascal)
BGIOBJ.EXE   - Borland BGI to OBJ converter (for C, C++)
BDH.EXE      - Knight Software BGI header builder
CREATE.BAT   - Batch file to create the BGI driver

TASM, TLINK, and EXETOBIN are provided with the Borland 
Professional language package (C or Pascal). BINOBJ is provided 
with Turbo Pascal. You only need the BGIOBJ program if you are 
creating an OBJ file to be linked into Turbo Pascal at compile 
time. BGIOBJ is provided with Borland's C language. You only need 
the BGIOBJ if you are creating an OBJ file to be linked into C 
programs. 

BDH.EXE is provided with this package. The Pascal source BDH.PAS 
is provided as well. The BDH program attaches the required header 
information to a previously assembled BGI driver body.

The CREATE.BAT batch file uses the above mentioned files to 
create the BGI driver and OBJ files. In addition to the indicated 
files you will also need the assembler source for the BGI driver, 
and the header text file. An assumption has been made that all 
files will start with the same name. That way you can create the 
BGI files by calling "CREATE NAME". As an example, to create the
BGI256 BGI driver you would call it as "CREATE BGI256".

If you wish to use different names for some of the files, you will 
have to modify the CREATE.BAT file to reflect the changes, or call 
the individual programs in the CREATE.BAT file directly. 

Note that if you are generating C linkable OBJ files, then you 
will have to limit the file name to six characters if you use the 
current CREATE.BAT file mechanism. If you wish to use the full 
eight characters available for the filename, then you will need 
to modify the CREATE.BAT file to adjust the names for the C 
linkable OBJ file names which is the reason for the limitation.
If you are not generating the C linkable OBJ files you can use 
the full eight character filename. 

You may need to comment out the BGIOBJ or BINOBJ in the CREATE.BAT
file if you do not have the program. Or, you can just ignore the 
file not found error.

The BDH program requires a binary image of the assembled source 
which is generated by the EXETOBIN program. The BDH program also 
requires the text header file which contains the copyright 
message that will be attached to the start of the BGI driver. 
The text header file must be an ASCII text file, and must be 
less than 110 characters in length. 

