delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/01/25/10:28:07

Date: Thu, 25 Jan 1996 16:45:00 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: "A.Appleyard" <A DOT APPLEYARD AT fs2 DOT mt DOT umist DOT ac DOT uk>
Cc: DJGPP AT sun DOT soe DOT clarkson DOT edu
Subject: Re: CD-ROMs

On Thu, 25 Jan 1996, A.Appleyard wrote:

> On Thu, 25 Jan 1996, A.Appleyard wrote:
> 
> > "E:\*.*"; int21) when there is no CD-ROM in it, it asks for Abort / Retry /
> > Fail, but when I press F for Fail the interrupt does NOT fail (i.e. exit with
> > CARRY=1) as the book says it should. My CD-ROM drive has "Creative SB" written
[snip]
>   carry=1, AX=0x12, i.e. "no file found". Not "read error" or the like.

I'm stumped.  In the first message you say it doesn't return with a 
carry, now you say it does set carry.  Which is it?  In my experience it 
sets the carry and returns with AX=0x12 as if it just didn't find the 
files.  And I already told in a previous message that subfunction 06 of 
Int 21h, function 4402h will return you a status word which tells you 
whether there is a disk in the drive, if you need this to avoid 
Abort/Retry/Fail.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019