Message-ID: <3261BECD.1BD7@gbrmpa.gov.au> Date: Mon, 14 Oct 1996 12:17:19 +0800 From: Leath Muller Reply-To: leathm AT gbrmpa DOT gov DOT au Organization: Great Barrier Reef Marine Park Authority MIME-Version: 1.0 To: Olav Kindt CC: djgpp AT delorie DOT com Subject: Re: VESA initialization References: <53otjh$eed AT news DOT sdsmt DOT edu> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit > 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.