From owner-freebsd-mobile Thu Sep 7 23:59:12 2000 Delivered-To: freebsd-mobile@freebsd.org Received: from hotmail.com (f79.law9.hotmail.com [64.4.9.79]) by hub.freebsd.org (Postfix) with ESMTP id 7EAF437B422 for ; Thu, 7 Sep 2000 23:59:10 -0700 (PDT) Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Thu, 7 Sep 2000 23:59:10 -0700 Received: from 63.195.114.87 by lw9fd.law9.hotmail.msn.com with HTTP; Fri, 08 Sep 2000 06:59:10 GMT X-Originating-IP: [63.195.114.87] From: "Greg Smith" To: freebsd-mobile@freebsd.org Subject: FYI: SVGA LCD and console and VESA_800x600 and 4.1-Release Date: Fri, 08 Sep 2000 06:59:10 GMT Mime-Version: 1.0 Content-Type: text/plain; format=flowed Message-ID: X-OriginalArrivalTime: 08 Sep 2000 06:59:10.0327 (UTC) FILETIME=[49DFD870:01C01962] Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org I asked: >I would like to get the most out of the console (yes, I have no X) by >taking full advantage of the 800x600 LCD display and 2MB of video memory >with the C&T 65550. >... knowing that 800x600 / 8x16 = 100x37.5 I should be able to do better. >I switched to VESA_800x600, but instead of getting 100x37 I just get 80x25 >in a smaller "window" in the middle of the screen. > >1) Is VESA ... hardcoded to 80x25? > >2) Is this combo hardcoded to 4-bit color? 1) Yes, VESA_800x600 is hardcoded to 80x25 in vidcontrol.c, but it is easy to fix. Just make the following change and recompile: if (mode == SW_VESA_800x600) { --> size[0] = 100; /* columns */ --> size[1] = 37; /* rows */ size[2] = 16; /* font size */ to get this automatically when you boot up just insert the following line into rc.conf: allscreens_flags="VESA_800x600" If you would prefer the thinner font, insert the following line instead: allscreens_flags="-f 8x16 iso-thin-8x16 VESA_800x600" 2) Yes, 4-bit color also seems to be hardcoded into vidcontrol.c and the other VGA logic. But that requires someone who knows C. 8) HTH someone else later. Greg _________________________________________________________________________ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. Share information about yourself, create your own public profile at http://profiles.msn.com. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message