[comp.lang.pascal] Borland .BGI graphics interface format?

lowey@sask.UUCP (Kevin Lowey) (01/23/88)

Hi,

  I'm upgrading a program written by Ken VanCamp called SURFMODL from
version 3 of Turbo Pascal to version 4.  This program produces shaded 
3d surface models of complex surfaces on MS-DOS based computers.  I've 
re-written the program to take advantage of the new "device independant" 
graphics capabilities in Turbo Pascal version 4.0.  (by the way, the 
program is public domain.)

  The Borland Graphics Interface (.BGI) provides device independant support
for CGA, MCGA, EGA, EGA64, AT&T, VGA, PC3270 and Hercules Monochrome 
graphics.  However, I run a Dec Vaxmate computer, and others I know run
a Sanyo, etc.  What I want to do is write my own .BGI driver for these 
other computers, then, if I'm lucky, all I need do is supply these external
.BGI driver files and automagically they will be available in the program
with very little change to the main program.

  My question is "Does anyone know what the format is for the .BGI files?".
I want to write one, but I have no docs.  I know, I should talk to Borland,
but I thought I'd try here first.

Thanks for any help,
Kevin Lowey