don't check if AH=42h is supported in stage1.
This commit is contained in:
parent
68b1a3d231
commit
a033c6beb3
2 changed files with 10 additions and 1 deletions
|
@ -1,3 +1,9 @@
|
|||
2000-01-11 OKUJI Yoshinori <okuji@gnu.org>
|
||||
|
||||
* stage1/stage1.S [!NO_BUGGY_BIOS_IN_THE_WORLD]: Don't check if
|
||||
LBA read is supported. Anyway, fallback to the CHS mode if
|
||||
fails.
|
||||
|
||||
2000-01-10 OKUJI Yoshinori <okuji@gnu.org>
|
||||
|
||||
* stage2/bios.c (NO_INT13_FALLBACK): Undefined.
|
||||
|
|
|
@ -1,7 +1,8 @@
|
|||
/* -*-Asm-*- */
|
||||
/*
|
||||
* GRUB -- GRand Unified Bootloader
|
||||
* Copyright (C) 1996 Erich Boleyn <erich@uruk.org>
|
||||
* Copyright (C) 1999 Free Software Foundation, Inc.
|
||||
* Copyright (C) 1999,2000 Free Software Foundation, Inc.
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
|
@ -148,9 +149,11 @@ real_start:
|
|||
cmpw $0xaa55, %bx
|
||||
jne chs_mode
|
||||
|
||||
#ifdef NO_BUGGY_BIOS_IN_THE_WORLD
|
||||
/* check if AH=0x42 is supported */
|
||||
andw $1, %cx
|
||||
jz chs_mode
|
||||
#endif
|
||||
|
||||
/* get the geometry (limited to 2TB!) */
|
||||
movb $0x48, %ah
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue