From owner-p4-projects@FreeBSD.ORG Fri May 13 20:18:17 2005 Return-Path: Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id D943616A4D0; Fri, 13 May 2005 20:18:16 +0000 (GMT) Delivered-To: perforce@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AFD4E16A4D0 for ; Fri, 13 May 2005 20:18:16 +0000 (GMT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7C05C43D88 for ; Fri, 13 May 2005 20:18:16 +0000 (GMT) (envelope-from marcel@freebsd.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.1/8.13.1) with ESMTP id j4DKIGKl002761 for ; Fri, 13 May 2005 20:18:16 GMT (envelope-from marcel@freebsd.org) Received: (from perforce@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id j4DKIGn6002758 for perforce@freebsd.org; Fri, 13 May 2005 20:18:16 GMT (envelope-from marcel@freebsd.org) Date: Fri, 13 May 2005 20:18:16 GMT Message-Id: <200505132018.j4DKIGn6002758@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: perforce set sender to marcel@freebsd.org using -f From: Marcel Moolenaar To: Perforce Change Reviews Subject: PERFORCE change 76937 for review X-BeenThere: p4-projects@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: p4 projects tree changes List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 13 May 2005 20:18:17 -0000 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; } }