Dec 172017
 
BGI Library and C Source for writing your own BGI Drivers.
File CBGI111.ZIP from The Programmer’s Corner in
Category C Source Code
BGI Library and C Source for writing your own BGI Drivers.
File Name File Size Zip Size Zip Type
CBGI.DOC 23338 7959 deflated
CBGILIB.ZIP 6354 5586 deflated
CBGISRC.ZIP 100295 80758 deflated
DRIVERS1.ZIP 21699 19513 deflated
DRIVERS2.ZIP 10670 9586 deflated
READ.ME 2063 1045 deflated

Download File CBGI111.ZIP Here

Contents of the READ.ME file


A few notes.

This is the library (and source) I have developed in the process of writing
several BGI drivers. It includes several example drivers and whatever other
drivers I've been able to find. I've not included an e-mail address since
the one I've got won't be valid for much longer. Feel free to use the
regular mails.

There appears to be a bug in the fillpoly routines in the BGI kernal.
Occasionally a polygon will be outlined but not filled. I've only seen it
during the drawing of random polygons in the bgidemo so I haven't managed to
pin down the circumstances yet.

I've just started using TD 2.0. With the new version of the debugger it
is possible to symbolically debug a BGI driver. More on this in a later
release.


Let me know what you think.

Robert.

VERSIONS:

LibraryV 1.10
Driver CollectionsV 1.11


UPDATES FROM LAST RELEASE:

A bug was reported in save/restore bitmap. Turned out I was saving
and restoring one line too many. Fixed.
Two new drivers have been added.
A major bug was found and fixed. The unitialised data segment was
not being added to the driver. Could have been fixed by using a
linker option but I reordered the segments to provide a more failsafe
solution (one that didn't require remembering strange options).
The drivers and library have been recompiled using Turbo C++.

Included files:

read.me--- This file.

cbgi.doc--- Documentation for the library.

cbgilib.zip--- Library itself, plus startup.

cbgisrc.zip--- Library source, source to drivers in drivers1.zip

drivers1.zip--- Example drivers created with this library.
1) An ATI Wonder 256 colour driver.
2) A Tecmar Graphics Master driver.
NEW!3) A Revolution 1023 x 8 256 colour driver.
NEW!4) A Data Translation DT2851 256 colour driver.

drivers2.zip--- Other drivers I've found. See their own documentation
for details on their use and restrictions.
1) VGA16 -- A driver for 16 colour extended
VGA modes.




 December 17, 2017  Add comments

Leave a Reply