From owner-freebsd-hackers Thu Oct 4 14:27:24 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from mass.dis.org (mass.dis.org [216.240.45.41]) by hub.freebsd.org (Postfix) with ESMTP id ACD5537B401 for ; Thu, 4 Oct 2001 14:27:22 -0700 (PDT) Received: from mass.dis.org (localhost [127.0.0.1]) by mass.dis.org (8.11.6/8.11.3) with ESMTP id f94LbPE02749; Thu, 4 Oct 2001 14:37:25 -0700 (PDT) (envelope-from msmith@mass.dis.org) Message-Id: <200110042137.f94LbPE02749@mass.dis.org> To: Jonathan Belson Cc: freebsd-hackers@freebsd.org Subject: Re: [Q] Information on fb/vesa mode programming In-Reply-To: Message from Jonathan Belson of "Thu, 04 Oct 2001 21:11:52 BST." <3BBCC288.DE8CD20B@witchspace.com> Date: Thu, 04 Oct 2001 14:37:25 -0700 From: Mike Smith 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 > I've been trying to find out some information on programming the > fb/vesa interface, eg. set_video_mode() and friends. Try the Vesa 3.0 document (google is your friend). > 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? The video memory organisation varies from mode to mode. The splash code tries to work with several different organisations, including the lowest-common-denominator banked/interleaved modes. > Does anyone know of any resources giving more information > on fb programming? Most DOS games/graphics books should at least try to discuss the use of VESA video modes. Regards, Mike To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message