cvs.gedasymbols.org/archives/browse.cgi   search  
Mail Archives: djgpp/2003/05/22/01:46:19

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> <bagura$suceu$1 AT ID-143309 DOT news DOT dfncis DOT de>
NNTP-Posting-Host: 63.147.57.117
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." <jlsgarrido AT inbox DOT lv> wrote in message news:<bagura$suceu$1 AT ID-143309 DOT news DOT dfncis DOT de>...
> "wfrogers" <rogers AT westmont DOT edu> 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

- Raw text -


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