Borland Graphics Interface
From Just Solve the File Format Problem
(Difference between revisions)
(Created page with "{{FormatInfo |formattype=electronic |subcat=Executables |extensions={{ext|bgi}} }} The '''Borland Graphics Interface''' is a graphics library used by DOS programs, which inclu...") |
(Moved "Bitmap images" section to "BGI image" article) |
||
Line 12: | Line 12: | ||
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. | 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 == |
− | BGI | + | * [[BGI image]] |
+ | * [[CHR (Borland font)]] | ||
== Specifications == | == Specifications == |
Revision as of 14:53, 24 March 2016
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.