summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhpa <hpa>1998-02-27 03:46:57 +0000
committerhpa <hpa>1998-02-27 03:46:57 +0000
commitb898d320b54bb74da1b17d9504cea706c2446d03 (patch)
treed1cc2dc573620a38f548eda189fbaeb7b04a781c
parent2f26b93d713f432e99ab01607c7b179c5357f2e8 (diff)
downloadsyslinux-b898d320b54bb74da1b17d9504cea706c2446d03.tar.gz
Add workaround for AMI/Intel BIOS bug.
-rw-r--r--NEWS3
-rw-r--r--ldlinux.asm7
2 files changed, 8 insertions, 2 deletions
diff --git a/NEWS b/NEWS
index 37abb0bb..437850b4 100644
--- a/NEWS
+++ b/NEWS
@@ -1,5 +1,8 @@
Changes in 1.33:
* Bug fix in the Linux installer.
+ * Added a workaround for a bug in certain AMI/Intel BIOSes
+ when booting from CD-ROM.
+ * Documentation changes.
Changes in 1.32:
* FAT16 filesystems are now supported.
diff --git a/ldlinux.asm b/ldlinux.asm
index 6e7328e6..d523ff78 100644
--- a/ldlinux.asm
+++ b/ldlinux.asm
@@ -397,7 +397,9 @@ floppy_table equ $ ; No sense in wasting memory, overwrite start
start:
cli ; No interrupts yet, please
- xor ax,ax
+ jmp 0:start1 ; Stupid Intel BIOS jumps to 07C0:0000 not 0000:7C00
+start1: xor ax,ax
+ mov ds,ax
mov es,ax
mov ss,ax
mov sp,StackBuf ; Just below BSS
@@ -633,6 +635,7 @@ disk_try_again: push dx
jc disk_error
;
; It seems the following test fails on some machines (buggy BIOS?)
+; Especially Phoenix BIOS 4.03 seems to fail if this is enabled
;
; cmp al,bl ; Check that we got what we asked for
; jne disk_error
@@ -660,7 +663,7 @@ gls_nonewcyl: pop bp ; Sectors left to transfer
ja gls_nexttrack
return: ret
-bailmsg db 'Boot failed: change disks and press any key', 0Dh, 0Ah, 0
+bailmsg db 'Boot failed: press any key to retry', 0Dh, 0Ah, 0
bs_checkpt equ $ ; Must be <= 1E3h