BGI was also used to provide graphics for many other Borland products including the Quattro Pro spreadsheet.
The last C++ environment which supports BGI is Borland C++ 5.02 (1997), which works under Windows but can compile DOS programs.
These drivers were shareware and buying them let receiving their source code and technical support; now they are no longer supported, but on 19 December 2020 Jordan Hargrave kindly released source code under the MIT License on GitHub.
[3] Main bugs are lack of aligning bytes support in VESA true-color modes (so the true-color driver is not suitable for Nvidia graphic cards) and video memory bank switching bug in mouse driver (since real mode addressing space is 1 megabyte, but some video modes require up to 4 megabytes of memory, it is split into 64 kilobyte banks).
The following program, written for Borland Turbo C, initialises the graphics and draws 1000 random lines: