From: rogers AT westmont DOT edu (wfrogers) Newsgroups: comp.os.msdos.djgpp Subject: Re: trouble accessing dos high memory Date: 21 May 2003 22:38:58 -0700 Organization: http://groups.google.com/ Lines: 34 Message-ID: <89ce6cc3.0305212138.32d29801@posting.google.com> References: <89ce6cc3 DOT 0305211425 DOT 5aa187a6 AT posting DOT google DOT com> NNTP-Posting-Host: 63.147.57.117 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: posting.google.com 1053581938 25456 127.0.0.1 (22 May 2003 05:38:58 GMT) X-Complaints-To: groups-abuse AT google DOT com NNTP-Posting-Date: 22 May 2003 05:38:58 GMT To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com "J. L." wrote in message news:... > "wfrogers" escribió en el mensaje > news:89ce6cc3 DOT 0305211425 DOT 5aa187a6 AT posting DOT google DOT com... > > I am trying to access 0xD000 using a simple C program compiled > with > > DJGPP and am getting > > > > Exiting due to signal SIGSEGV > > General Protection Fault at eip=0000362a > > > > When I access video memory at 0xB800, no problem. Any ideas? > Is > > there a function call I need to include in order to allow > protected > > mode to have access to this area? > > > > Operating system Win98 > > Check the FAQ, specifically section 18.7 Accessing absolute > address above 1MB. > > You can find the FAQ at > > http://www.delorie.com/djgpp/v2faq/ > > HTH Thanks for the suggestion. I made an error in the subject heading. I should have said "upper" memory since this region of memory is in the ISA hole between 640k and 1M. I'm trying to access data written by an ISA data acquisition card, and am either getting the error mentioned above, or if I get data, I seem to get the same string of bytes no matter what offset I use, and the data seems inconsistent with that which should be written by the card. Thanks, WFR