X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f From: "arizvi" Newsgroups: comp.os.msdos.djgpp Subject: DPMI Problems - Help!! Date: 12 Aug 2005 14:01:07 -0700 Organization: http://groups.google.com Lines: 26 Message-ID: <1123877397.230942.79310@g43g2000cwa.googlegroups.com> NNTP-Posting-Host: 66.32.192.51 Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" X-Trace: posting.google.com 1123880472 10110 127.0.0.1 (12 Aug 2005 21:01:12 GMT) X-Complaints-To: groups-abuse AT google DOT com NNTP-Posting-Date: Fri, 12 Aug 2005 21:01:12 +0000 (UTC) User-Agent: G2/0.2 Complaints-To: groups-abuse AT google DOT com Injection-Info: g43g2000cwa.googlegroups.com; posting-host=66.32.192.51; posting-account=Se-Idg0AAAC00LEpjdiQS7ZeyWGDYpCA To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Hi everyone, I am running my program compiled with djgpp from a floppy. The computer does have hard disks attached but they are usually corrupt. I am finding the following error on starting up my program: Error reading from drive C: Abort, Retry, Ignore? Now, why would the program try to read from C, when the floppy is in A? I believe that it is not my program but rather the CWSDPMI stub which is trying to read from the hard drive(I think it tries to verify that the drive signature is 0x55AA). And to verify this, I run the same program with different healthy drives, and I do not get this error. How do I prevent DPMI from accessing the hard drive? I do not need any paging file or virtual memory. I tried to execute cwsparam.exe with "" (blank) as the paging file, as indicated in the cwsdpmi docs, But No Luck. Please let me know your thoughts on this error and how can I remove it. Any help is appreciated. Thanks, Ahmad