From owner-freebsd-hackers Tue Oct 9 1: 2: 4 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from smtp.alcove.fr (smtp.alcove.fr [212.155.209.139]) by hub.freebsd.org (Postfix) with ESMTP id D668937B406 for ; Tue, 9 Oct 2001 01:01:59 -0700 (PDT) Received: from cedar.alcove-fr ([10.16.10.12]) by smtp.alcove.fr with esmtp (Exim 3.12 #1 (Debian)) id 15qrhr-0000xR-00; Tue, 09 Oct 2001 09:53:39 +0200 Received: from nsouch by cedar.alcove-fr with local (Exim 3.12 #1 (Debian)) id 15qrhr-0004Zj-00; Tue, 09 Oct 2001 09:53:39 +0200 Date: Tue, 9 Oct 2001 09:53:39 +0200 From: Nicolas Souchu To: Jonathan Belson Cc: freebsd-hackers@freebsd.org Subject: Re: [Q] Information on fb/vesa mode programming Message-ID: <20011009095339.D16896@cedar.alcove-fr> References: <3BBCC288.DE8CD20B@witchspace.com> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <3BBCC288.DE8CD20B@witchspace.com> User-Agent: Mutt/1.3.20i Organization: =?iso-8859-1?Q?Alc=F4ve?= =?iso-8859-1?Q?=2C?= http://www.alcove.com Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Thu, Oct 04, 2001 at 09:11:52PM +0100, Jonathan Belson wrote: > Hiya > > > I've been trying to find out some information on programming the > fb/vesa interface, eg. set_video_mode() and friends. > > >From the few examples I've seen, it appears that you have to > muck about with banks rather than use a pointer to linear > frame buffer (logo_saver.c, splash.c). Is there no way to > access the fb linearly? In the GGI project (http://www.ggi-project.org), there's the vgl backend which is able to access the video fb when available throw libvgl. The S3 module in -current provide linear fb for most S3 cards even if they support only VESA1.2. You have: http://www.pegacity.it/Informatica/Case/1845/arch_eng.htm http://www.talula.demon.co.uk/freebe/index.html Enjoy! > Does anyone know of any resources giving more information > on fb programming? libvgl handles bank switching automagically if you use it's drawing routines. Nicolas -- Alcôve Technical Manager - Nicolas.Souchu@fr.alcove.com - http://www.alcove.com FreeBSD Developer - nsouch@freebsd.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message