Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 13 May 2005 20:18:16 GMT
From:      Marcel Moolenaar <marcel@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 76937 for review
Message-ID:  <200505132018.j4DKIGn6002758@repoman.freebsd.org>

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

Change 76937 by marcel@marcel_nfs on 2005/05/13 20:18:05

	o  Fix a typo. The character height for the single character that
	   we can display is 19 bits.
	o  the BitBlt in vga(4) is implemented far enough that we see a
	   nice line of X characters (the one bitmap we have for now) and
	   see the screen scrolling when we reach the bottom. Don't start at
	   the top of the screen after reaching the bottom.
	
	Time to add a real font. There's a 8x16 in syscons(4) that we can
	probably use without any problems.

Affected files ...

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

Differences ...

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

@@ -103,7 +103,7 @@
 		break;
 	default:
 		vc->vtc_con_bitblt(vc, BITBLT_H1TOFB, (uintptr_t)bitmap,
-		    vc->vtc_con_width * row * 10 + col * 8, 8, 19, 0, 7);
+		    vc->vtc_con_width * row * 19 + col * 8, 8, 19, 0, 7);
 		col++;
 		break;
 	}
@@ -116,7 +116,7 @@
 		    0, vc->vtc_con_width, 23 * 19);
 		vc->vtc_con_bitblt(vc, BITBLT_CLRTOFB, 0, 23 * 19,
 		    vc->vtc_con_width, 19);
-		row = 0;
+		row = 23;
 	}
 }
 



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