Mail Archives: djgpp/1997/12/19/04:02:16

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: <>
References: <01bd0bf0$304189e0$150760c3 AT benjamir>
Lines: 22
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

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
>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...
>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  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

- Raw text -

  webmaster     delorie software   privacy  
  Copyright 2019   by DJ Delorie     Updated Jul 2019