delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/05/15/21:33:15

Message-Id: <199605160129.VAA12312@eelab.newpaltz.edu>
Comments: Authenticated sender is <fortin44 AT eelab DOT newpaltz DOT edu>
From: "John Fortin" <fortin44 AT eelab DOT newpaltz DOT edu>
To: djgpp AT delorie DOT com
Date: Wed, 15 May 1996 21:30:56 +0000
Subject: Re: 0xa0000 and dpmi_segment_to_descriptor

> In article <199605151407 DOT KAA08436 AT eelab DOT newpaltz DOT edu> you write:
> > Then I think the example in the info page for 
> >__dpmi_segment_to_descriptor is misleading.  ( 
> >video=__dpmi_segment_to_descriptor(0xa000).  This looks like it gives 
> >you a mapping to video memory.
> 
> Yes it is giving you a mapping to video memory.  But notice that
> it is a short, which is the exact size of a selector.
> 
> A selector and an offset make up a far pointer.
> 

OK, so if I understand you correctly, what I am trying to do with the 
dpmi call is the same thing as using the far pointer method?? Now I 
understand the problem!!  Thanks for the responce ( and everyone else 
who responded too...)




John E. Fortin
fortin44 AT eelab DOT newpaltz DOT edu

- Raw text -


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