From: lonniem AT cs DOT utexas DOT edu (Lonnie McCullough) Newsgroups: comp.os.msdos.djgpp Subject: Re: VESA 2.0 Date: Fri, 19 Dec 1997 02:57:49 GMT Message-ID: <3499e194.74360892@news.nol.net> References: <01bd0bf0$304189e0$150760c3 AT benjamir> NNTP-Posting-Host: ip39-52.nol.net Lines: 22 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk On 18 Dec 1997 20:07:15 GMT, "Olmeca" 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 >at 0xA000, >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... >OLMECA >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. Lonnie McCullough lonniem AT cs DOT utexas DOT edu