diff --git a/ChangeLog b/ChangeLog index 6bed15ad5..cee27499f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2000-01-11 OKUJI Yoshinori + + * 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 * stage2/bios.c (NO_INT13_FALLBACK): Undefined. diff --git a/stage1/stage1.S b/stage1/stage1.S index a28adee67..5b235b684 100644 --- a/stage1/stage1.S +++ b/stage1/stage1.S @@ -1,7 +1,8 @@ +/* -*-Asm-*- */ /* * GRUB -- GRand Unified Bootloader * Copyright (C) 1996 Erich Boleyn - * 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