Mail Archives: djgpp/1997/03/20/14:47:32
Shawn Hargreaves wrote:
>
> > 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.
> */
at http://www.s3.com you can find a vbe2.0 driver for s3 trio .
It is free and you can use it for vesa applications.
- Raw text -