patch-pre2.0.3 linux/arch/i386/boot/video.S

Next file: linux/arch/i386/config.in
Previous file: linux/arch/alpha/defconfig
Back to the patch index
Back to the overall index

diff -u --recursive --new-file pre2.0.2/linux/arch/i386/boot/video.S linux/arch/i386/boot/video.S
@@ -1,5 +1,5 @@
 !
-!	Display adapter & video mode setup, version 2.8 (14-Apr-96)
+!	Display adapter & video mode setup, version 2.9 (12-May-96)
 !
 !	Copyright (C) 1995, 1996 Martin Mares <mj@k332.feld.cvut.cz>
 !	Based on the original setup.S code (C) Linus Torvalds
@@ -879,8 +879,8 @@
 	jz	vesar
 	cmp	ax,#0x0080	! Check validity of mode ID
 	jc	vesa2
-	or	ah,ah		! Valid ID's are 0x0000-0x007f
-	jz	vesae		! and 0x0100-0x07ff.
+	or	ah,ah		! Valid ID's are 0x0000-0x007f and 0x0100-0x07ff
+	jz	vesan		! [Certain BIOSes errorneously report 0x80-0xff]
 	cmp	ax,#0x0800
 	jnc	vesae
 vesa2:	push	cx

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov with Sam's (original) version
of this