www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/03/18/18:43:48

From: moskewicz AT MEM DOT po DOT com
Date: Mon, 18 Mar 1996 18:43:15 +0500
Message-Id: <9603182343.AA20538@pion>
To: djgpp AT delorie DOT com
Subject: VESA 2.0 Linear Frame Buffer/DMPI/GDT
content-length: 974

	I'm fairly new djgpp, and I've just moved up to v2 for the express
purpose of using a VESA 2.0 Linear frame buffer. I don't know why this
is not possible in v1, but I'm guessing it had something to do with
go32.
	I searched the news archive and found a lot of banter on this subject,
but no definitive answer to the big question: Now that the VBE agrees
to give the address of the Linear Frame Buffer (0xa0000000, yep, 2000MB
up there!), how do I access this chunk of memory?
	I know I need to set up two new GDT or LDT entries (per VESA specs),
but I barely know what those are. Can anybody point me to some info on
how to do this? If it matters, I use both CWSDMPI and Windows for DPMI
(at different times, of course).
	I can use the _asm("") stuff, and I have no problems calling the
regular VESA functions, and I generally understand the concept of
P-mode (I hope). I just need some specific examples to get me started
messing with the GDT.
----
moskewicz AT mem DOT po DOT com


- Raw text -


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