www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/10/02/21:47:36

Sender: nate AT cartsys DOT com
Message-ID: <361580FB.7DF0D465@cartsys.com>
Date: Fri, 02 Oct 1998 18:42:19 -0700
From: Nate Eldredge <nate AT cartsys DOT com>
X-Mailer: Mozilla 4.05 [en] (X11; I; Linux 2.0.35 i486)
MIME-Version: 1.0
To: Sahab Yazdani <sahaby AT geocities DOT com>
CC: djgpp AT delorie DOT com
Subject: Re: 0xA0000 or 0xA000?
References: <36143299 DOT 5CBD3686 AT geocities DOT com>

Sahab Yazdani wrote:
> 
> OK, I'm simply trying to access mode 13h and plotting a pixel and then
> getting out! Though Whenever I run my program I  either get nothing on
> the screen (0xA000) or get a page fault (0xA0000)!  Now my code is still
> really simple and looks something like this:
[snipped]
> 
>         unsigned char *memory = (unsigned char *) 0xA000;
[expunged]
> 
> Now my first question is which of these memory locations is it: 0xA0000
> or 0xA000?

None of the above.  Read FAQ section 18.4.
-- 

Nate Eldredge
nate AT cartsys DOT com

- Raw text -


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