From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (from weis@localhost) by pauillac.inria.fr (8.6.10/8.6.6) id LAA25151 for caml-redistribution; Wed, 9 Oct 1996 11:49:05 +0200 Received: from concorde.inria.fr (concorde.inria.fr [192.93.2.39]) by pauillac.inria.fr (8.6.10/8.6.6) with ESMTP id LAA24997 for ; Wed, 9 Oct 1996 11:44:09 +0200 Received: from pauillac.inria.fr (pauillac.inria.fr [128.93.11.35]) by concorde.inria.fr (8.7.6/8.7.1) with ESMTP id LAA03151; Wed, 9 Oct 1996 11:44:08 +0200 (MET DST) Received: (from xleroy@localhost) by pauillac.inria.fr (8.6.10/8.6.6) id LAA24992; Wed, 9 Oct 1996 11:44:08 +0200 From: Xavier Leroy Message-Id: <199610090944.LAA24992@pauillac.inria.fr> Subject: Re: camllight graphics and video card S3 trio 64V+, etc. To: jcfillia@ens-lyon.fr (Jean-Christophe Filliatre) Date: Wed, 9 Oct 1996 11:44:08 +0200 (MET DST) Cc: caml-list@inria.fr In-Reply-To: <325B5052.667@lip.ens-lyon.fr> from "Jean-Christophe Filliatre" at Oct 9, 96 09:12:18 am MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: weis > 1. I have a video card "S3 trio 64 V+ PCI" and there seems to be no > driver for this > card in order to use the graphics library of camllight 0.71 under DOS. > Is it possible to get it somewhere ? Or is there any "standard" SVGA > driver which can be used with this card ? You're probably talking about release 0.7 or earlier. You should try VESA_S3.GRN first, which seems to be a "generic" S3 driver. If this fails, try other drivers for cards that have S3 chips in them, such as STEALTH.GRN and F1280.GRN This said, graphics under MSDOS are a mess, and you're strongly encouraged to do graphics under the Windows version of Caml Light 0.71. At least, Windows takes care of the graphics drivers. > 2. Is the 256 colors limitation of the graphics library inherent to > this library, or is it possible to find drivers for more than 256 > colors (for 24 bits video cards for instance) ? The graphics code for 0.7 was built on top of the CBGRX library for DJGPP version 1, and I don't think this library can handle more than 256 colors. (This is code I wrote almost five years ago, so I can be wrong.) For 0.71, Caml Light will happily let you access all colors that Windows provides. - Xavier Leroy