From: moskewicz AT MEM DOT po DOT com Date: Fri, 22 Mar 1996 22:09:30 -0500 Message-Id: <9603230309.AA11222@mercury> To: djgpp AT delorie DOT com Subject: VESA 2.0 LFB in a Windows 3.1 Dos Box 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