From: "Chris Fought" Newsgroups: comp.os.msdos.djgpp Subject: Memory Mapping and Libcurses support in DJGPP? (newbie question) Lines: 23 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.00.2314.1300 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300 Message-ID: <7ua34.761$He.5295@newsfeed.slurp.net> Date: Tue, 7 Dec 1999 11:27:55 -0500 NNTP-Posting-Host: 198.30.206.47 X-Trace: newsfeed.slurp.net 944583683 198.30.206.47 (Tue, 07 Dec 1999 10:21:23 CDT) NNTP-Posting-Date: Tue, 07 Dec 1999 10:21:23 CDT To: djgpp AT Delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Hi All; I am a software engineer at a company that produces high performance shared memory devices and I am considering porting some of our existing DOS software to use DJGPP, but I have a few key features that I must have in order to do so. I really have to be able to directly map memory from our shared memory cards directly into host memory so that it appears as system memory. I have looked through the FAQ's on the DJGPP WWW site and the info that came in the DJGPP files, but I can't find any information on how to map memory from a hardware device into the host's memory (I did see info on malloc, creating buffers etc.). Once we have this step completed our software simply creates a pointer to the location in the host's memory where our card's 'memory' exists. Will DJGPP support memory mapping of this type, is there some kind of UNIX like mmap() command that I can use? Also our software where possible, always needs libcurses support for some diagnostic programs that we include with our software, does DJGPP have any support for this? If anyone has any information related to this, I would greatly appreciate any help you can provide, or if you can just point me to an online doc or FAQ that contains the info, that would be sufficient. Thanks. Chris Fought