From: mickey Date: Sat, 5 Apr 1997 23:49:07 +0000 (+0000) Subject: 32bit corrections X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=7449f6e6369e4860c76ed2dc299eedfa835be0dc;p=openbsd 32bit corrections --- diff --git a/sys/arch/i386/stand/libsa/biosdisk.S b/sys/arch/i386/stand/libsa/biosdisk.S index f54e23efccc..574d51fea9a 100644 --- a/sys/arch/i386/stand/libsa/biosdisk.S +++ b/sys/arch/i386/stand/libsa/biosdisk.S @@ -1,4 +1,4 @@ -/* $OpenBSD: biosdisk.S,v 1.3 1997/03/31 23:06:27 mickey Exp $ */ +/* $OpenBSD: biosdisk.S,v 1.4 1997/04/05 23:49:07 mickey Exp $ */ /* * Ported to boot 386BSD by Julian Elischer (julian@tfs.com) Sept 1992 @@ -142,11 +142,11 @@ ENTRY(biosdinfo) * documentation, although we only need head and sector counts. */ xorl %bx, %bx # %bh = 0 - incw %bx; incw %bx # %bl bits 0-3 = drive type, 2 = 1.2M + incl %bx; incl %bx # %bl bits 0-3 = drive type, 2 = 1.2M movb $79, %ch # max track movb $15, %cl # max sector xorl %dx, %dx - incw %dx # floppy drives installed + incl %dx # floppy drives installed movb %dl, %dh # max head # es:di = parameter table # carry = 0