aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulian Elischer <julian@FreeBSD.org>1995-09-03 05:36:13 +0000
committerJulian Elischer <julian@FreeBSD.org>1995-09-03 05:36:13 +0000
commit623463ca4ae7f4bbd921c53e21f07cfe00a25726 (patch)
treea500e4664ad55b3d0d6a2cf34bc2b85fae8cea19
parent608eba4889ad78d3befe7e03314baac8d7014012 (diff)
Notes
-rw-r--r--sys/i386/boot/biosboot/bios.S9
1 files changed, 5 insertions, 4 deletions
diff --git a/sys/i386/boot/biosboot/bios.S b/sys/i386/boot/biosboot/bios.S
index 54ccf6ea0ec6..3a45e8587e67 100644
--- a/sys/i386/boot/biosboot/bios.S
+++ b/sys/i386/boot/biosboot/bios.S
@@ -24,7 +24,7 @@
* the rights to redistribute these changes.
*
* from: Mach, Revision 2.2 92/04/04 11:34:26 rpd
- * $Id: bios.S,v 1.3 1994/10/02 05:18:25 rgrimes Exp $
+ * $Id: bios.S,v 1.4 1994/11/18 05:02:12 phk Exp $
*/
/*
@@ -274,9 +274,10 @@ ok:
/*
* form a longword representing all this gunk:
* 6 bit zero
- * 10 bit cylinder
- * 8 bit head
- * 8 bit sector
+ * 10 bit max cylinder (0 based)
+ * 8 bit max head (0 based)
+ * 8 bit zero
+ * 6 bit max sector (1 based) = # sectors
*/
movb %cl, %al /* Upper two bits of cylinder count */
andl $192,%eax