X-Authentication-Warning: delorie.com: mailnull set sender to djgpp-bounces using -f From: "Richard" Newsgroups: comp.os.msdos.djgpp References: Subject: Re: int 0x24 dos critical errors retry count ? Date: Mon, 4 Feb 2002 16:08:58 -0000 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 Lines: 30 Message-ID: <3c5eb3e3$0$233$cc9e4d1f@news.dial.pipex.com> NNTP-Posting-Host: userat98.uk.uudial.com X-Trace: 1012839395 news.dial.pipex.com 233 62.188.137.201 X-Complaints-To: abuse AT uk DOT uu DOT net To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com "Eli Zaretskii" wrote in message news:Pine DOT SUN DOT 3 DOT 91 DOT 1020204170811 DOT 12635F-100000 AT is... > > Under DJGPP it appears > > to retry 30 times or so before giving up!!! > > I don't think I see this, but I use CWSDPMI. Did you try CWSDPMI > (although I don't think it matters)? > > Also, what, if any, memory manager do you have installed on that machine? > And what version of DOS? Arrrgh my mistake, many apologies! DOS does try the int 0x21 call 3 times before giving up. Sadly I forgot that my code loops 10 times attempting to open the file, due to another feature where the floppy spinup delay is not automatially handled. This coupled with the fact that dos attepts 3 times (not 2) gives me my figure of 30. (/me slaps own wrist) BTW System is... Datalight ROM-DOS 6.22 + HIMEM.SYS + PMODE13 (pmode.dj) Now I need to figure out if there is any way to set the AL return code from a PMode int 0x24 isr in C++ (another post) thanks for the help