Sender: nate AT cartsys DOT com Message-ID: <361580FB.7DF0D465@cartsys.com> Date: Fri, 02 Oct 1998 18:42:19 -0700 From: Nate Eldredge X-Mailer: Mozilla 4.05 [en] (X11; I; Linux 2.0.35 i486) MIME-Version: 1.0 To: Sahab Yazdani CC: djgpp AT delorie DOT com Subject: Re: 0xA0000 or 0xA000? References: <36143299 DOT 5CBD3686 AT geocities DOT com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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