Mail Archives: djgpp/1997/03/15/15:04:52
From: | Shawn Hargreaves <Shawn AT talula DOT demon DOT co DOT uk>
|
Newsgroups: | comp.os.msdos.djgpp
|
Subject: | Re: programming s3 trio 64v+
|
Date: | Sat, 15 Mar 1997 14:59:59 +0000
|
Organization: | None
|
Distribution: | world
|
Message-ID: | <5FMdmAAvlrKzEwzV@talula.demon.co.uk>
|
References: | <01bc306c$df487440$3350c5a3 AT pni>
|
NNTP-Posting-Host: | talula.demon.co.uk
|
MIME-Version: | 1.0
|
Lines: | 24
|
To: | djgpp AT delorie DOT com
|
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp
|
> need to get info to develop bitblit/ screen scroll functions in
> 800x600 / 1024x768 256 color modes for this chipset can any one help?
If you are happy using a library, Allegro provides blitting and
scrolling functions, and supports the S3 chipset both directly and via
VESA.
If you want to do it yourself, you need to decide whether you are going
to write hardware-specific code or use the VESA interface. Personally
I'd recommend VESA because, assuming you have a VBE 2.0 implementation
like UniVBE, it is just as fast as any native code but will work on any
hardware. You can get the VBE 2.0 spec, along with some sample code for
accessing linear framebuffers, from http://www.rt66.com/brennan/~djgpp/.
Should you prefer to write direct-to-the-metal, hardware specific code,
get a copy of VGADOC from x2ftp.oulu.fi (can't remember the exact path,
it's in something like /pub/msdos/programming/docs). It might also be
worth taking a look at the S3 driver I wrote for Allegro.
/*
* Shawn Hargreaves - shawn AT talula DOT demon DOT co DOT uk - http://www.talula.demon.co.uk/
* Beauty is a French phonetic corruption of a short cloth neck ornament.
*/
- Raw text -