Mail Archives: djgpp/1996/03/22/22:10:37
Using the example in VBE.ZIP (Carl Sandmann's Example VESA 2.0 code), I
have no problems using the linear frame buffer under dos. In windows
3.1 Dos Boxes, however, the VESA set videomode call fails...
Here's the kicher, though: VBETEST.EXE (the VESA test utility that
comes with UNIVBE) will run (partially) in a dos box, assuming UNIVBE
is loaded before windows is run, AND, if I run my program in the same
box after exiting VBETEST, the program will work (i.e. the set video
mode call succeeds).
Warning: this only seems to work if I selectively test 8-bit
640x480x256 _Linear_ Mode in VBETEST. Trying to test banked modes will
kill the dos box, or crash windows.
It would be nice to know what is "missing" from my code (that VBETEST
has) to allow a linear frame buffered mode under Windows.
Has anyone gotten a linear frame buffer to work in a windows dos box
with djgpp?
----
moskewicz AT mem DOT po DOT com
- Raw text -