delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/01/25/06:40:37

Date: Thu, 25 Jan 1996 13:31:32 +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:

> 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 .

That's not because of the CD-ROM drive.  All the DOS interface is in the 
software driver, usually MSCDEX.  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? 

- Raw text -


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