Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 10 Jun 2005 03:46:26 GMT
From:      Marcel Moolenaar <marcel@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 78307 for review
Message-ID:  <200506100346.j5A3kQlY002624@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=78307

Change 78307 by marcel@marcel_nfs on 2005/06/10 03:46:01

	Restore the bit mask when we're done with the 16-color
	bitblt. None of the other bitblt variants reset it (as
	they don't use it). This fixes the garbled getty(8)
	output on ttyV0 when vtc(4) is not the console (a 16-
	color beastie is displayed in that case).
	
	Time to get keyboards hooked up so that I can login...

Affected files ...

.. //depot/projects/tty/sys/dev/vtc/hw/vga/vga.c#4 edit

Differences ...

==== //depot/projects/tty/sys/dev/vtc/hw/vga/vga.c#4 (text+ko) ====

@@ -413,6 +413,9 @@
 		dstini += 80;
 		height--;
 	}
+
+	REG_WRITE(sc, VGA_GC_ADDRESS, VGA_GC_BIT_MASK);
+	REG_WRITE(sc, VGA_GC_DATA, 0xff);
 	return (0);
 }
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200506100346.j5A3kQlY002624>