Mail Archives: djgpp/1998/08/18/04:30:26
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 -