Date: Tue, 29 Dec 2009 04:23:46 +0000 (UTC) From: Takahashi Yoshihiro <nyan@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-8@freebsd.org Subject: svn commit: r201152 - stable/8/sys/boot/pc98/kgzldr Message-ID: <200912290423.nBT4NkxT010461@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: nyan Date: Tue Dec 29 04:23:46 2009 New Revision: 201152 URL: http://svn.freebsd.org/changeset/base/201152 Log: MFC: revision 200776 Move cursor position after putting a character. Modified: stable/8/sys/boot/pc98/kgzldr/crt.s Directory Properties: stable/8/sys/ (props changed) stable/8/sys/amd64/include/xen/ (props changed) stable/8/sys/cddl/contrib/opensolaris/ (props changed) stable/8/sys/contrib/dev/acpica/ (props changed) stable/8/sys/contrib/pf/ (props changed) stable/8/sys/dev/xen/xenpci/ (props changed) Modified: stable/8/sys/boot/pc98/kgzldr/crt.s ============================================================================== --- stable/8/sys/boot/pc98/kgzldr/crt.s Tue Dec 29 02:35:50 2009 (r201151) +++ stable/8/sys/boot/pc98/kgzldr/crt.s Tue Dec 29 04:23:46 2009 (r201152) @@ -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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200912290423.nBT4NkxT010461>