Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 04 Oct 2001 14:37:25 -0700
From:      Mike Smith <msmith@freebsd.org>
To:        Jonathan Belson <jon@witchspace.com>
Cc:        freebsd-hackers@freebsd.org
Subject:   Re: [Q] Information on fb/vesa mode programming 
Message-ID:  <200110042137.f94LbPE02749@mass.dis.org>
In-Reply-To: Message from Jonathan Belson <jon@witchspace.com>  of "Thu, 04 Oct 2001 21:11:52 BST." <3BBCC288.DE8CD20B@witchspace.com> 

next in thread | previous in thread | raw e-mail | index | archive | help
> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200110042137.f94LbPE02749>