From: votava Newsgroups: comp.os.msdos.djgpp Subject: Re: programming s3 trio 64v+ Date: Thu, 20 Mar 1997 10:53:15 +0100 Organization: SCT / Worldnet - Internet Provider & Information Exchange - Paris, France Lines: 28 Message-ID: <3331090B.4B9E@worldnet.fr> References: <01bc306c$df487440$3350c5a3 AT pni> <5FMdmAAvlrKzEwzV AT talula DOT demon DOT co DOT uk> NNTP-Posting-Host: 194.206.163.201 Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp 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.