From owner-freebsd-stable Sun Jan 6 10:42:51 2002 Delivered-To: freebsd-stable@freebsd.org Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by hub.freebsd.org (Postfix) with SMTP id C413037BA1C for ; Sun, 6 Jan 2002 10:40:05 -0800 (PST) Received: (qmail 21335 invoked by uid 0); 6 Jan 2002 18:33:24 -0000 Received: from tk212017108240.univie.teleweb.at (HELO Deadcell.ANT) (212.17.108.240) by mail.gmx.net (mp012-rz3) with SMTP; 6 Jan 2002 18:33:24 -0000 Received: (from ant@localhost) by Deadcell.ANT (8.11.6/8.11.6) id g06Ggmi43581; Sun, 6 Jan 2002 17:42:48 +0100 (CET) (envelope-from ant) Date: Sun, 6 Jan 2002 17:42:48 +0100 From: Andreas Ntaflos To: Nuno Teixeira Cc: freebsd-stable@freebsd.org Subject: Re: Is VESA_800x600 hardcoded to 80x25? Message-ID: <20020106174248.A42857@Deadcell.ANT> Mail-Followup-To: Nuno Teixeira , freebsd-stable@freebsd.org References: <20020106154230.GD1141@gw.tex.bogus> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-md5; protocol="application/pgp-signature"; boundary="AhhlLboLdkugWU4S" Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20020106154230.GD1141@gw.tex.bogus>; from nunotex@pt-quorum.com on Sun, Jan 06, 2002 at 03:42:30PM +0000 Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --AhhlLboLdkugWU4S Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Jan 06, 2002 at 03:42:30PM +0000, Nuno Teixeira wrote: >=20 > Hello to all, > =20 > For the first time I configured VESA and SC_PIXEL_MODE in kernel to rea= ch=20 > VESA_800x600 (100x37). > =20 > When I used vidcontrol to do this I noted that I only can get a smaller= =20 > "window" in the middle of the screen (80x25). > [snip]=20 > -----------------------------------------------------------------------= ---- =20 > Message: > >... knowing that 800x600 / 8x16 =3D 100x37.5 I should be able to do be= tter. =20 > >I switched to VESA_800x600, but instead of getting 100x37 I just get 8= 0x25=20 > >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? > =20 > 1) Yes, VESA_800x600 is hardcoded to 80x25 in vidcontrol.c, but it is e= asy=20 > to fix. Just make the following change and recompile: > =20 > if (mode =3D=3D SW_VESA_800x600) { > [snip] In order to have VESA_800x600 use the full screen of the virtual console, run the following: # vidcontrol -g 100x37 VESA_800x600 -f whatever_font_you_want This will resize it to the said geometry of 100x37 chars at a resolution=20 of 800x600. The rc.conf entries look like this on my box: allscreens_flags=3D"-g 100x37 VESA_800x600" font8x16=3D"/usr/share/syscons/fonts/iso15-8x16.fnt" This should work just fine and fill up the whole available screen. I just don't like the low refresh rate of 60Hz, after some time, it blinds my head :) Does anyone know how to increase the vert. refresh at 800x600? regards --=20 Andreas "ant" Ntaflos=09 ntaflos.andreas@gmx.net Vienna, AUSTRIA --AhhlLboLdkugWU4S Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: PGPfreeware 5.0i for non-commercial use MessageID: 0ddY6bAsO6ANfVRQSpsfakq7txfpWVwy iQA/AwUBPDh+hCghDxt/ED0NEQLq4gCgqia8ADF97wYrdU9wa7AgrjKkoegAni3+ YjuOIXLosOLP0gpmkKtDXJLZ =7Tew -----END PGP SIGNATURE----- --AhhlLboLdkugWU4S-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message