delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2003/05/26/11:15:08

From: rogers AT westmont DOT edu (wfrogers)
Newsgroups: comp.os.msdos.djgpp
Subject: Re: trouble accessing dos high memory
Date: 26 May 2003 08:03:12 -0700
Organization: http://groups.google.com/
Lines: 26
Message-ID: <89ce6cc3.0305260703.ffbd9cf@posting.google.com>
References: <89ce6cc3 DOT 0305220909 DOT 5c397728 AT posting DOT google DOT com> <3ecd0b5c DOT sandmann AT clio DOT rice DOT edu> <89ce6cc3 DOT 0305222021 DOT 77a9bb0d AT posting DOT google DOT com>
NNTP-Posting-Host: 64.163.212.204
X-Trace: posting.google.com 1053961392 13408 127.0.0.1 (26 May 2003 15:03:12 GMT)
X-Complaints-To: groups-abuse AT google DOT com
NNTP-Posting-Date: 26 May 2003 15:03:12 GMT
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

rogers AT westmont DOT edu (wfrogers) wrote in message news:<89ce6cc3 DOT 0305222021 DOT 77a9bb0d AT posting DOT google DOT com>...
> Charles Sandmann <sandmann AT clio DOT rice DOT edu> wrote in message news:<3ecd0b5c DOT sandmann AT clio DOT rice DOT edu>...
> > > the D page (in which data from the acquisition card is stored in
> > > 4-byte words), which doesn't work.  The symptom is that data read from
> > > memory and written to screen bears little or no resemblence to the
> > > data that should be stored there from the acquisition card, and
> > 
> > The code looks OK at first glance.  
> > 
> > Does it work under DOS (not Windows)?  It could be that Windows is 
> > interfering with you reading the memory.  I would make sure you don't 
> > have EMM loaded (safe mode command line boot, or from a floppy).
> 
> Thanks, guys, for the help.  I have it working now.  The solution (in
> addition to some of your suggestions) was to specify port 0x262
> exclusively, using the outp() command.  Cheers, Warren Rogers

Just a quick followup for anyone who is curious.  I meant port 0x292,
not 0x262 (when I wrote the note I was away from the computer on which
the code is located and my memory was not so good).  The ISA card
reserves this port and the D page for its DMA transfer of data.  Also,
we removed the loading of EMM from the config.sys file as per an
earlier suggestion.  Curiously, we still get a protection fault when
running in DOS (not windows) mode.  Someone probably knows why this
might be the case, but at this point I'm not concerned since the code
is running fine from Win98 dos prompt.  WFR

- Raw text -


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