delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/08/18/04:30:26

Message-ID: <35D93933.40CF1D5@geocities.com>
From: Merlin <merlin__ AT geocities DOT com>
MIME-Version: 1.0
Newsgroups: comp.os.msdos.djgpp
Subject: Re: VESA: hints, clue but no examples
References: <1998081519323200 DOT PAA25189 AT ladder01 DOT news DOT aol DOT com> <35D66C0C DOT 8D8F94C8 AT geocities DOT com> <35D70CC1 DOT BCA4F4EF AT unb DOT ca>
Lines: 28
Date: Tue, 18 Aug 1998 08:22:41 GMT
NNTP-Posting-Host: 187-cy-wpg.ilos.net
NNTP-Posting-Date: Tue, 18 Aug 1998 03:22:41 CDT
Organization: MBnet Networking Inc.
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Endlisnis wrote:

> Merlin wrote:
>
> > no kidding...its so hard to figure out vesa's docs if you haven't really
> > programmed in Protected mode.... I am also having trouble doing this... I know
> > that you need to call the function and have it return a struct of info into a 255
> > byte buffer at es:di but.. how do i get es:di to point to the struct...i have no
> > clue...And then there's the matter of getting the linear frame buffer's
> > address...
>
>     This was actually the first thing I did in Protected Mode (VESA 1.2 lib), and I
> did it just a few weeks ago in DJGPP.  I haven't done anything with VESA2 yet, but I
> plan on it.  The only problem is that most of my target machines do not have VESA2
> cards, some don't even have VESA1.2.
>     To get the 256-byte buffer, you need to use the Transfer Buffer, this is very
> well documented in the FAQ. (Section #18.2 How to use buffers with DOS/BIOS
> services).

ahh..ok thanks...i'll take a look at that...
do all vesa 1.2 modes use bank switching?

L8r,
      Merlin.




- Raw text -


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