My previous patch has a bug, which will assign the number of
cylinders and the one of heads of floppies wrong numbers. This fixes
the bug:

diff -urN grub.orig/ChangeLog grub/ChangeLog
--- grub.orig/ChangeLog Fri Apr  9 15:30:13 1999
+++ grub/ChangeLog      Fri Apr  9 15:32:02 1999
@@ -1,3 +1,8 @@
+1999-04-09  OKUJI Yoshinori  <[EMAIL PROTECTED]>
+
+       * shared_src/asm.S (get_diskinfo_floppy): Correct the number of heads
+       and the one of cylinders.
+       
 1999-04-06  OKUJI Yoshinori  <[EMAIL PROTECTED]>
 
        * grub/asmstub.c (get_diskinfo): Compute the total number of sectors
diff -urN grub.orig/shared_src/asm.S grub/shared_src/asm.S
--- grub.orig/shared_src/asm.S  Fri Apr  9 15:30:15 1999
+++ grub/shared_src/asm.S       Fri Apr  9 15:30:54 1999
@@ -695,11 +695,11 @@
        
        /* cylinders */
        movl    0xc(%ebp), %eax
-       movl    $79, %ebx
+       movl    $80, %ebx
        movl    %ebx, (%eax)
        /* heads */
        movl    0x10(%ebp), %eax
-       movl    $1, %ebx
+       movl    $2, %ebx
        movl    %ebx, (%eax)
        /* sectors */
        movl    0x14(%ebp), %eax


  By the way, Gordon, when will I be able to commit my changes by
myself? It's inconvenient to make my changes in another branch, and
that slows down my development.

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

Reply via email to