Borland Graphics Interface
From Just Solve the File Format Problem
The Borland Graphics Interface is a graphics library used by DOS programs, which includes the ability to use loadable drivers. These drivers have the file extension .BGI.
Contents |
Identification
Files begin with 'P' 'K' 0x08 0x08
-- this is shared with the CHR font files used by BGI. The four-byte signature is followed by either 'BGI Device Driver'
or 'SVGA 256 Colour BGI Device Driver'
.
Main Entry
The first 160 bytes of the driver file are a header. This is followed by the driver code segment. Far calls will be made to this address with SI containing the function number to execute.
Related formats
Specifications
- ftp://ftp.musoftware.de/pub/uz/bgi/ contains documentation and source code for creating BGI drivers, along with several complete drivers.