PERFORCE change 76937 for review
Marcel Moolenaar
marcel at FreeBSD.org
Fri May 13 13:18:17 PDT 2005
http://perforce.freebsd.org/chv.cgi?CH=76937
Change 76937 by marcel at 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;
}
}
More information about the p4-projects
mailing list