delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/03/29/17:00:36

X-Originating-Host: 202.158.46.2
Organization: http://www.remarq.com: The World's Usenet/Discussions Start Here
Subject: VBE question
Lines: 20
From: batchex <thedark1NOthSPAM AT phreaker DOT net DOT invalid>
Newsgroups: comp.os.msdos.djgpp
Message-ID: <054a4830.80e90c42@usw-ex0105-036.remarq.com>
Bytes: 667
X-Wren-Trace: eHhddXRtKmArLGR1eTlrejtLeHVveTlleGY5dXR4IWonLHYoI2AjIiI3Lg==
Date: Wed, 29 Mar 2000 11:52:30 -0800
NNTP-Posting-Host: 10.0.2.36
X-Complaints-To: wrenabuse AT remarq DOT com
X-Trace: WReNphoon4 954359548 10.0.2.36 (Wed, 29 Mar 2000 11:52:28 PST)
NNTP-Posting-Date: Wed, 29 Mar 2000 11:52:28 PST
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Hi,

I'm trying to set some VBE modes with Linear Frame Buffer (LFB).
I've abled to set the mode and map the LFB (at around 3 GB), but
then, how do I use the mapped address.

Here's what I do :

LFBPtr = the mapped address returned by int 31h func. 800h
         ((ebx << 16) + (ecx & 0xFFFF))
for(i=0;i<width;i++)
  LFBPtr[i] = some value

This approach crash my program.

I've read somewhere that I have to allocate a descriptor for use
with the mapped address. But at what base address? limit?

* Sent from RemarQ http://www.remarq.com The Internet's Discussion Network *
The fastest and easiest way to search and participate in Usenet - Free!

- Raw text -


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