X-Authentication-Warning: delorie.com: mailnull set sender to djgpp-bounces using -f From: "Michael Sisco" Newsgroups: comp.os.msdos.djgpp Subject: Is DJGPP for me? Date: Wed, 9 Jan 2002 22:30:35 -0600 Lines: 27 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.50.4807.1700 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4807.1700 NNTP-Posting-Host: 161.49.70.118 Message-ID: <3c3d18dc$1@news.qgraph.com> X-Trace: news.qgraph.com 1010637020 161.49.70.118 (9 Jan 2002 22:30:20 -0600) Organization: Quad/Graphics,Inc. To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com I am working on a project that involves communicating with a custom board through the PCI bus (using memory-mapped PCI passthrough) under DOS. I have a working application that was written in MS VC++ 1.52 (don't cringe). The existing app uses some assembly language routines to access linear memory space (the on-board memory of our interface board is mapped to 0xC1000000). I am nearing a point where I am going to have to add a LOT of computational horsepower to this application, and I fear that my 16-bit app is not going to be fast enough to keep up. I have no desire to write the entire app in asm, nor do my colleagues have any desire to support it if I do. I want to move to writing 32-bit apps that will run under DOS, and it appears from what I've read so far that DJGPP may give me the capabilities that I'm looking for. I'm making this explanation too long, so I'll get to the point(s): 1. Is DPMI going to allow me to access linear memory? 2. How do I tell CWSDPMI the memory area that belongs to this card (so I can stop GPF'ing)? 3. Do I need a device driver for my hardware? If so, what's a good source for info on writing them? How do I communicate with the driver from my application? I would appreciate any direction that anyone can provide on any of these subjects. Michael Sisco