From: "R.G. Morgan" Newsgroups: comp.os.msdos.djgpp Subject: Re: Memory Access Problem! Date: 9 Oct 1997 10:21:02 GMT Organization: University of Newcastle upon Tyne Lines: 15 Sender: n6368757 AT ncl DOT ac DOT uk Message-ID: <61ib6e$f6e@whitbeck.ncl.ac.uk> References: <01bcd460$198189c0$LocalHost AT petricks DOT vobis DOT net> NNTP-Posting-Host: lilswood.ncl.ac.uk Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk #include dosmemget(unsigned linearAddress, int numBytes, void *buff); should do the trick, where linear address = segment * 16 + offset. Here (as segment = 0, it is 0x0CFC). In article <01bcd460$198189c0$LocalHost AT petricks DOT vobis DOT net>, "Markus Schrader" writes: > Hello, > I would like to readout PCI Controller Information(TX), exactly the Vendor > id. > The Memory adress is 0x0CFCh and the Offset is 0x00h-0x01h. > > Does anyone of you know a function to read out this adress?