www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/01/25/08:05:53

From: "A.Appleyard" <A DOT APPLEYARD AT fs2 DOT mt DOT umist DOT ac DOT uk>
To: eliz AT is DOT elta DOT co DOT il, DJGPP AT sun DOT soe DOT clarkson DOT edu
Date: Thu, 25 Jan 1996 12:53:27 GMT
Subject: Re: CD-ROMs

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

> My CD-ROM drive is E:. I have found that when I call the `get first file'
> interrupt on it (AX = 0x4e00; CX = attribute; DX = address of filename, say
> "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
> on its front, and it came with a directory C:\SB16\ which contains the
> subdirectories DRV PLAYCD PRO_ORG SAMPLES SBTALKER SCHEDULE WINAPPL WINDRV .

  Eli Zaretskii <eliz AT is DOT elta DOT co DOT il> replied:-

> ... For the driver I use, searching for volume label when there is no disk
> in the drive usually just returns ``No more files'' error code, as if there
> is no label on the disk. What *does* function 4Eh return in your case? Does
> it return an error code in AX?

  carry=1, AX=0x12, i.e. "no file found". Not "read error" or the like.

- Raw text -


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