Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uwm.edu!ux1.cso.uiuc.edu!news.iastate.edu!cs442a07 From: cs442a07@cs.iastate.edu (Sunny G) Newsgroups: comp.lang.pascal Subject: Why not generic BGI driver? Keywords: BGI Pascal Message-ID: Date: 2 Feb 91 03:30:24 GMT Sender: news@news.iastate.edu (USENET News System) Organization: Iowa State University, Ames IA Lines: 40 I have been seeing all these wanted notices like "I need a xxx BGI driver" etc etc. Would it be possible to write a generic driver which is configured using a seperate EXE file? ie, you get two files, GENERIC.BGI and GENINST.EXE. You run GENINST, and it asks you for: * Name of resultant BGI * Mode number * Horizontal pixels * Vertical pixels * Number of colors (or maybe bits/color) GENINST then copies GENERIC.BGI to ______.BGI (as entered above) and replaces certain constants with what you entered. Of course, the resultant BGI would not be extremely fast... I suppose it would be easiest to do it by mapping calls to BIOS, and that is *SLOW*, but hey, you cant have everything. If anyone is interested in this, please please go ahead and write it, or else post to the newsgroup and you might find someone else who would help you. Think of the social factor, the fame factor (==Babes) (just kidding). Or, if someone would care to forward this to BORLAND, maybe they can make it themselves, and market it... I would try and make it myself, but I have never done complex ASM programming. Thank you for your ears (eyes), they look good on me, heres them back now. Sunjeev "Sunny" Gulati cs442a07@zippy.cs.iastate.edu TAA65@ccvax.iastate.edu XDD16@ccvax.iastate.edu (515)-296-9537