From owner-svn-src-stable-7@FreeBSD.ORG Tue Dec 29 04:29:39 2009 Return-Path: Delivered-To: svn-src-stable-7@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 413031065672; Tue, 29 Dec 2009 04:29:39 +0000 (UTC) (envelope-from nyan@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 2C8E68FC13; Tue, 29 Dec 2009 04:29:39 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id nBT4Tdha010630; Tue, 29 Dec 2009 04:29:39 GMT (envelope-from nyan@svn.freebsd.org) Received: (from nyan@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id nBT4Tdlo010628; Tue, 29 Dec 2009 04:29:39 GMT (envelope-from nyan@svn.freebsd.org) Message-Id: <200912290429.nBT4Tdlo010628@svn.freebsd.org> From: Takahashi Yoshihiro Date: Tue, 29 Dec 2009 04:29:39 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-7@freebsd.org X-SVN-Group: stable-7 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r201153 - stable/7/sys/boot/pc98/kgzldr X-BeenThere: svn-src-stable-7@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for only the 7-stable src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 Dec 2009 04:29:39 -0000 Author: nyan Date: Tue Dec 29 04:29:38 2009 New Revision: 201153 URL: http://svn.freebsd.org/changeset/base/201153 Log: MFC: revision 200776 Move cursor position after putting a character. Modified: stable/7/sys/boot/pc98/kgzldr/crt.s Directory Properties: stable/7/sys/ (props changed) stable/7/sys/cddl/contrib/opensolaris/ (props changed) stable/7/sys/contrib/dev/acpica/ (props changed) stable/7/sys/contrib/pf/ (props changed) Modified: stable/7/sys/boot/pc98/kgzldr/crt.s ============================================================================== --- stable/7/sys/boot/pc98/kgzldr/crt.s Tue Dec 29 04:23:46 2009 (r201152) +++ stable/7/sys/boot/pc98/kgzldr/crt.s Tue Dec 29 04:29:38 2009 (r201153) @@ -75,5 +75,15 @@ crt_putchr.3: cmpw $SCR_ROW*SCR_COL*2,%d stosw # line movw $(SCR_ROW-1)*SCR_COL*2,%dx crt_putchr.4: movw %dx,(%ebx) # Update position + shrw $1,%dx +crt_putchr.5: inb $0x60,%al # Move cursor + testb $0x04,%al + jz crt_putchr.5 + movb $0x49,%al + outb %al,$0x62 + movb %dl,%al + outb %al,$0x60 + movb %dh,%al + outb %al,$0x60 popa # Restore ret # To caller