Hi there,
I was wondering why VESA_800x600 refreshes to 80x25 and figured out,
that
size[0] = 80; /* columns */
size[1] = 25; /* rows */
for mode SW_VESA_800x600 (line 319 of src/usr.sbin/vidcontrol.c).
A screen resolution of 800x600 would make
size[0] = 100; /* columns */
size[1] = 37; /* rows */
Is there any reason why SW_VESA_800x600 is nothing else than 80x25
at this time? I've attached a diff for patching vidcontrol.c to this
mail.
Best wishes,
Dominik.
--
/* Dominik Rothert | [EMAIL PROTECTED] *
* A S T O R I T | http://www.astorit.com/ *
* Hohenzollernring 52 | fon +49-221-251440 *
* 50672 Cologne, Germany | fax +49-221-251443 */:wq!
--- vidcontrol.c.orig Fri Dec 15 19:03:02 2000
+++ vidcontrol.c Fri Dec 15 18:49:29 2000
@@ -317,8 +317,8 @@
if (ioctl(0, mode, NULL) < 0)
warn("cannot set videomode");
if (mode == SW_VESA_800x600) {
- size[0] = 80; /* columns */
- size[1] = 25; /* rows */
+ size[0] = 100; /* columns */
+ size[1] = 37; /* rows */
size[2] = 16; /* font size */
if (ioctl(0, KDRASTER, size)) {
ioerr = errno;