Question

How to implement vesa mode in Turbo C++?

Was it helpful?

Solution

I did this back in the day: You need to implement the data structures and functions as determined here.

A lot of reg.h.al and stuff.

OTHER TIPS

AFAIK, Turbo C++ shipped with the Borland Graphics Interface (BGI), which only did up to 16-color VGA, and even then, it was anything but fast.

I think you had to roll your own or buy someone else's library to get VESA 256 color high resolution graphics working. Keep in mind, it's been like 15 years for me...

You buy Phar Lap DOS extender. It comes with Vesa mode drivers which you can then use in DPMI/DOS 16-bits.

If I remember correctly, the PharLap tools came with mini graphics library which you could use. It was mainly for scientific purposes... but people used to to makes instead.

Some games, like Transport Tycoon/DOS uses this method.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top