X-Authentication-Warning: delorie.com: mailnull set sender to djgpp-bounces using -f From: GammaBurst Newsgroups: comp.os.msdos.djgpp Subject: How to access two 512MB PCI cards? Organization: - Message-ID: X-Newsreader: Forte Agent 1.8/32.548 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Lines: 8 NNTP-Posting-Date: Fri, 18 Jan 2002 20:29:16 CST X-Trace: sv3-fNCm9Fcjd/ScyaT2SC+zTWxaaJwqs85TmMVuJl3kXO8DmSRa9SjMXletfw+9RsOOrdUZaOLF1bQS+v8!lE1a9Wiaq9+jvE3EVlgBslgCFISZiZp6yYEaNk64ZPG3zsqJVhrvOpq7kWTCpJeiYpvN X-Complaints-To: abuse AT GigaNews DOT Com X-DMCA-Notifications: http://www.giganews.com/info/dmca.html X-Abuse-Info: Please be sure to forward a copy of ALL headers X-Abuse-Info: Otherwise we will be unable to process your complaint properly Date: Sat, 19 Jan 2002 02:29:16 GMT To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Hi, I'm trying to peak/poke my two custom PCI cards that each occupy 512MB of address space, located at hardware addresses 0xA0000000 and 0xC0000000. Is this possible using DOS, djgpp, and cwsdpmi5? I've tried various nearptr and farptr methods like in the FAQ, but I keep getting SIGSEGV errors or "could not allocate page table memory". I can't find any examples of accessing huge areas, so I'm just flailing about with dpmi function calls that I don't fully understand. What's the right approach? What sequence of function calls? Thanks.