delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1993/11/04/13:17:12

Date: Thu, 4 Nov 1993 12:30:35 -0500 (EST)
From: Edwin L Phillips Jr <flaregun AT strauss DOT udel DOT edu>
Subject: Re: S3 driver
To: Steven Webb <webbs AT cs DOT colostate DOT edu>,
DJGPP mailing list <djgpp AT sun DOT soe DOT clarkson DOT edu>

On Wed, 3 Nov 1993, Steven Webb wrote:

> >   Does any have a driver that will work with this card?  I have even 
> > tried modifying stealth.grn (the mode number is not right for 
> > 640x480x256), but that didn't work.
> 
> I have been using the vesa driver that comes extra with djgpp, and it works
> for 24-bit on my Orchid Fahrenheit with an S3.  I don't know how well it
> works with the S3-specific commands, because the vesa library doesn't have any
> line or box commands.  Hey, do you know how to write to the video memory
> directly?  What address does it start at?

	It's at 0xD0000000 to 0xD0100000  (1 Meg).  Go for it...

  memcpy(0xD0000000, buf, bufsize);     (hehehe)

	I'm gonna have to try that with my Cirrus 5422/24-bit!

  I'll try the VESA driver with djgpp.  Initially I didn't have much luck 
with that... but I didn't try TOO hard.

  Ed

/***************************************************************************/
/* Ed Phillips  flaregun AT brahms DOT udel DOT edu       University of Delaware      */
/* Jr Systems Programmer  (302) 831-6082       NSS/Software Systems        */
/***************************************************************************/



- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019