Mail Archives: djgpp/1996/10/27/08:03:57
On Fri, 25 Oct 1996, Cesar Scarpini Rabak wrote:
> But to check the availability of the hardware only isn't enough call INT 11h
> and check for bit 0 and bist 6-7?
This interrupt only knows about drives controlled by the system BIOS. It
will tell you nothing about network drives or CD-ROMs. Even SCSI drives
not always can be detected this way.
> >If you want to know whether a drive *could* be made available (as opposed
> >to a disconnected or otherwise physically absent drive), there is no
> >single way to do it AFAIK. Floppy drives can be accessed on a BIOS or
>
> If the drive is physically connected (and not broken) shouldn't it be
> available?
I consider a drive which is not ready (e.g., no floppy disk inside a
drive) as ``not available'' (you can't chdir to it).
- Raw text -