X-Authentication-Warning: delorie.com: mailnull set sender to djgpp-bounces using -f From: "Richard" Newsgroups: comp.os.msdos.djgpp Subject: int 0x24 dos critical errors retry count ? Date: Mon, 4 Feb 2002 14:47:10 -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: 19 Message-ID: <3c5ea0b7$0$227$cc9e4d1f@news.dial.pipex.com> NNTP-Posting-Host: userbm14.uk.uudial.com X-Trace: 1012834487 news.dial.pipex.com 227 62.188.144.220 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 Hi, Does anyone know what controls the number of retries DOS attempts when a dos critical error (int 0x24) returns a fail result (AL reg = 3) When I attempt to open a file on a floppy drive without a floppy inserted, I have to press Fail two times before DOS (?) gives up. Under DJGPP it appears to retry 30 times or so before giving up!!! I have checked this by hooking int 0x24 using borland bcc, and under DJGPP with pmodedj (rebuilt with int 0x24 redirect enabled). I am aware of the workaround's however I do need to be able to detect these errors, and select appropriate handler's in advance. I still dont understand why it retries at all after it's been told to fail the call by my int 0x24 handler ? *confused* Any help welcome.