From: Johan Karlsson Newsgroups: comp.os.msdos.djgpp Subject: Re: Accessing PCI memory Date: Tue, 15 Jul 1997 08:26:13 +0200 Organization: Luleå University of Technology Lines: 36 Message-ID: <33CB1805.3F54BC7E@sm.luth.se> References: <33CA3306 DOT 2F2E AT signal DOT dra DOT hmg DOT gb> NNTP-Posting-Host: my21.sm.luth.se Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk Gordon Brown wrote: > > If I have a PCI board located in the PC memory space at 0x3d000000 how > do I access this memory using DJGPP. > > I am new-ish to DJGPP & PC programming. > > Any help is appreciated, > > G. Brown > brown AT signal DOT dra DOT hmg DOT gb Have a look at the FAQ at http://www.delorie.com/djgpp/v2faq/ specialy http://www.delorie.com/djgpp/v2faq/faq133.html#Low-level and http://www.delorie.com/djgpp/v2faq/faq140.html#Above 1MB For wrappers se see http://www.delorie.com/djgpp/doc/incs-2.01/dpmi.h After this init you can use farptr or movedata see headerfiles at http://www.delorie.com/djgpp/doc/incs-2.01/sys/farptr.h http://www.delorie.com/djgpp/doc/incs-2.01/sys/movedata.h Hope this helps, it helped me. Mail me if you have questions on how I did MVH Johan Karlsson mailto:k AT sm DOT luth DOT se Department of Computer Science and Electrical Engineering Luleå University of Technology, SWEDEN