From 9f88649c8c82487810afec5fefe456869cec659f Mon Sep 17 00:00:00 2001 From: okuji Date: Sat, 13 Nov 1999 05:43:19 +0000 Subject: [PATCH] fallback to CHS if LBA fails in stage1. --- ChangeLog | 6 ++++++ stage1/stage1.S | 4 ++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index ddf10a6a6..ae19e0e56 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +1999-11-13 OKUJI Yoshinori + + From Pavel Roskin: + * stage1/stage1.S (lba_mode): Jump to chs_mode if INT 13 AH=42h + fails. + 1999-11-12 OKUJI Yoshinori Do not use the device map file unless --device-map is specified. diff --git a/stage1/stage1.S b/stage1/stage1.S index 8407502f8..54bcfe882 100644 --- a/stage1/stage1.S +++ b/stage1/stage1.S @@ -200,8 +200,8 @@ lba_mode: movb $0x42, %ah int $0x13 - /* should use CHS instead? */ - jc read_error + /* LBA read is not supported, so fallback to CHS. */ + jc chs_mode movw $STAGE1_BUFFERSEG, %bx jmp copy_buffer