delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/10/13/22:50:41

Message-ID: <3261BECD.1BD7@gbrmpa.gov.au>
Date: Mon, 14 Oct 1996 12:17:19 +0800
From: Leath Muller <leathm AT gbrmpa DOT gov DOT au>
Reply-To: leathm AT gbrmpa DOT gov DOT au
Organization: Great Barrier Reef Marine Park Authority
MIME-Version: 1.0
To: Olav Kindt <oak9755 AT silver DOT sdsmt DOT edu>
CC: djgpp AT delorie DOT com
Subject: Re: VESA initialization
References: <53otjh$eed AT news DOT sdsmt DOT edu>

> I have some questions regarding the use of vesa calls when using DJGPP.
> After a lot of searching through teh web i finally figured out how to do
> the DOS interupt calls for regular VGA initialization, but no luck on
> VESA, so I'm posting this message and hope that somebody will help me.
> More specifically i need to fugure out how to pass the (ES:DI) pointer to
> the vesainfo and vesamodeinfo structures. I know how to do this using the
> BC compiler, so what I need to know is the DJGPP specific stuff.

The easiest way to do this is to use the transfer buffer. As it is
normally 4k or so, it's easy to use and big enough (you only need 512
bytes for VESA stuff...)

I can send you some code I just cleaned up a bit if you want it...
but it only works on linear frame buffers (VBE 2.0+).

Oh, and I should have my web page up soon, which will contain my
document on programming VESA graphics in DJGPP (actually, I will
need help with some of this (banking). Any volunteers?) :)

Leathal.

- Raw text -


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