https://capijeguxozipiwib.driftwood-dallas.com/advanced-graphics-on-vga-and-xga-cards-using-borland-c-book-18008wg.php