Message-ID: <8D53104ECD0CD211AF4000A0C9D60AE30137AAE0@probe-2.acclaim-euro.net> From: Shawn Hargreaves To: djgpp AT delorie DOT com Subject: Re: graphics cards Date: Fri, 7 May 1999 14:01:57 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.0.1460.8) Content-Type: text/plain Reply-To: djgpp AT delorie DOT com Radu Georgescu aka skoola writes: >> Most of those are in the FreeBE/AF. Get it from >> http://www.talula.demon.co.uk/freebe/index.html >> and download the source. Don't think it has the sis, but >> apart from that it has supported cards from all the >> manufacturers you wanted. > > I've already done that but the code for ati is so > complicated i couldn't handle it ant i thought thre > is someone who has a more simple routine... VBE/AF is one of the most sane graphics driver designs that I have ever seen, so if this is too complicated for you, I'm afraid you may be out of luck. There is after all a minimum level of complexity below which it just isn't possible to do anything interesting... One of the main reasons for having a standard driver interface like VBE/AF is that you can use those drivers without having to understand all the code inside them. That still isn't trivial (see the vbeaf.c file from Allegro for details), but you only have to write this code once in order to get your program running on any machine that has a VBE/AF driver. If all this is still too much for you, why don't you just use an existing library like Allegro or GRX? Shawn Hargreaves.