delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/08/22/16:01:10

From: Endlisnis <s257m AT unb DOT ca>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Creating a VGA Selector
Date: Sat, 22 Aug 1998 15:42:01 -0300
Organization: NBTel Internet
Lines: 21
Message-ID: <35DF10F8.F77C153D@unb.ca>
References: <6rm5ip$b4l$1 AT plutonium DOT btinternet DOT com>
NNTP-Posting-Host: fctnts11c02.nbnet.nb.ca
Mime-Version: 1.0
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Lequtis wrote:

> Im having a problem creating a selector for the VGA memory region
>  0xA000:0000 ).
>
> Heres the test code I have written...
> Any ideas?

short Mem = __dpmi_segment_to_descriptor(0xa000);

    Just use this.  It's a lot easier.

--
     (\/) Endlisnis (\/)
          s257m AT unb DOT ca
          Endlisnis AT GeoCities DOT com
          Endlis AT nbnet DOT nb DOT ca




- Raw text -


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