delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/10/09/23:29:10

Date: Sat, 10 Oct 1998 04:16:27 +0100 (BST)
From: George Foot <george DOT foot AT merton DOT oxford DOT ac DOT uk>
To: djgpp AT delorie DOT com
Subject: Re: Problem with __djgpp_nearptr_enable()
In-Reply-To: <361EBAFB.8CAC240A@cartsys.com>
Message-ID: <Pine.OSF.4.05.9810100415210.4567-100000@sable.ox.ac.uk>
MIME-Version: 1.0
Reply-To: djgpp AT delorie DOT com

On Fri, 9 Oct 1998, Nate Eldredge wrote:

> Erik Rodriguez Ruiz wrote:
> > I want to access video memory to make some graphics, i don't have the
> > problem with Win95 but with every NT machine is the same problem.
> 
> Your pointer has to be set to 0xA0000 (note number of 0's), since it's a
> linear address.  There may be other problems, I did not look closely.

I didn't see the original message, but doesn't
__djgpp_nearptr_enable always fail on NT?  Make sure you're
checking the return value.

-- 
george DOT foot AT merton DOT oxford DOT ac DOT uk

xu do tavla fo la lojban  --  http://xiron.pc.helsinki.fi/lojban/lojban.html

- Raw text -


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