Mail Archives: djgpp/1997/12/19/04:02:16
On 18 Dec 1997 20:07:15 GMT, "Olmeca" <chromes AT hotmail DOT com> wrote:
>I have a problem with VESA 2.0:
>When I switch to the 640*480-mode with 101h, and I fill it with one color
>I can only see a quarter of the screen filled with the color (the rest is
>blank). I heard something of banking. Is there a standard for this method?
>Please let me know of the function...
>chromes AT hotmail DOT com
Well banking is an incredibly huge pain in the ass. Instead what you
should do is set bit 14 (I think) in the mode number to 1. This makes
it so a linear frame buffer is used but you will also have to do alot
of other crazy things to get at the frame buffer. You can get the VBE
2.0 specs from http://www.scitechsoft.com/. Also look in the FAQ
under the low-level section for information on how to get at the frame
buffer. It's not easy at first but once you understand it, its really
pretty easy to deal with.
lonniem AT cs DOT utexas DOT edu
- Raw text -