X-Originating-Host: 192.83.249.51 Organization: http://www.remarq.com: The World's Usenet/Discussions Start Here Subject: Re: DJGPP and Mapping physical memory from a PCI device Lines: 18 From: Ali Newsgroups: comp.os.msdos.djgpp Message-ID: <0267080a.1f42dce3@usw-ex0102-084.remarq.com> References: Bytes: 460 X-Wren-Trace: eDofNzYvaCJpeyI7AHIyIS0wCiY+NnUjcTU6NHN/eih7ZCl1Zi52emNq Date: Thu, 22 Jun 2000 18:56:58 -0700 NNTP-Posting-Host: 10.0.2.84 X-Complaints-To: wrenabuse AT remarq DOT com X-Trace: WReNphoon3 961726199 10.0.2.84 (Thu, 22 Jun 2000 19:09:59 PDT) NNTP-Posting-Date: Thu, 22 Jun 2000 19:09:59 PDT To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Hi I am wondering what is the use of the Selector here. If I want to access the mapped physical memory, couldn't I just use mapMemory(PciBase,sizeof(REGISTERS),&Selector,&Adapter); /* and then just */ Adapter=0; /*would set the first memory location */ BTW, when I try this I get a segmentation error. Thanks in advance for the help. Got questions? Get answers over the phone at Keen.com. Up to 100 minutes free! http://www.keen.com