/[grub]/grub/stage2/asm.S
ViewVC logotype

Diff of /grub/stage2/asm.S

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.3 by okuji, Sun Jun 27 08:34:45 1999 UTC revision 1.4 by okuji, Fri Jul 30 09:59:34 1999 UTC
# Line 596  ENTRY(get_diskinfo_standard) Line 596  ENTRY(get_diskinfo_standard)
596          .code16          .code16
597          movb    $0x8, %ah          movb    $0x8, %ah
598          int     $0x13           /* do the operation */          int     $0x13           /* do the operation */
599            /* check if successful */
600            testb   %ah, %ah
601            jnz     1f
602            /* bogus BIOSes may not return an error number */
603            testb   $0x3f, %cl      /* 0 sectors means no disk */
604            jnz     1f              /* if non-zero, then succeed */
605            /* XXX 0x60 is one of the unused error numbers */
606            movb    $0x60, %ah
607    1:
608          movb    %ah, %bl        /* save return value in %bl */          movb    %ah, %bl        /* save return value in %bl */
609          /* back to protected mode */          /* back to protected mode */
610          data32          data32

Legend:
Removed from v.1.3  
changed lines
  Added in v.1.4

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26