From: Erich Boleyn <[EMAIL PROTECTED]>
Subject: Re: Floppy geometry detection (was: 2.88 Mb) 
Date: Wed, 22 Sep 1999 21:44:43 -0700

> Has this been changed since the old GRUB 0.5?  It was there for a
> reason.

  Yes, we have changed this to use BIOS, because your original code
didn't work with the "floppy emulation" in the El Torito
specification. It seems that we should reconsider the floppy probe
technique. Perhaps the right thing to do is:

1)  Call INT 13, AX=4B01 (Bootable CD-ROM - GET STATUS).
2)  Check if the call succeeds.
3a) If succeeds, use the media type field of the Bootable CD-ROM
    Specification Packet to get the geometry.
3b) If fails, use your original probe routine to get the geometry.

----------------------------------------------------------------------
OKUJI Yoshinori  <[EMAIL PROTECTED]>           ^o-o^
http://duff.kuicr.kyoto-u.ac.jp/~okuji (in English)     m /

Reply via email to