Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!know!sdd.hp.com!news.cs.indiana.edu!iuvax!bobmon From: bobmon@iuvax.cs.indiana.edu (RAMontante) Newsgroups: comp.binaries.ibm.pc.d Subject: Re: v09i049: anaclock, analogue clock prog (part 01/02) Message-ID: <76687@iuvax.cs.indiana.edu> Date: 6 Dec 90 02:19:32 GMT References: <2470@sixhub.UUCP> <1990Dec5.183751.2851@uwasa.fi> Organization: 'twixt Dali and Dada Lines: 32 me: | > Source and executable for a program that displays an analog clock | >face on a CGA display. Might work on EGA & VGA (I'll try it Real Soon | >Now). I've included Turbo C cga.bgi and egavga.bgi files, at least one | >of which is needed for the program to run. The .bgi file may be in the | >same directory as the program, or in the current directory, or in a | : | ts@uwasa.fi (Timo Salmi) <1990Dec5.183751.2851@uwasa.fi> : | A comment for the would-be programmers. Borland's graphics drivers | can be included in the program code, and the user can (and should) | be saved the hassle of needing the separate .bgi files. The | inclusion is unfortunately not very easy to do for the first time, | but it certainly adds a bit of professionalism to publicly | distributed programs (and many bits of code :-). True, I could have linked the driver in, at a cost of making the executable bigger. No big deal if this is the only program running that uses it; but if one already has (or will have) some other program around that needs the driver, then it is purely redundant%. Also, which driver do you want me to link in? CGA, since that's the only one that I've tested or have any use for? EGAVGA, because perhaps it makes a more lovely display on systems that can support it? Both? If that's possible I missed the fact in the documentation. I dunno. I went with flexibility. % It might be a tad faster to have the driver linked in... but I wrote this thing to make use of an otherwise idle pc screen. I should worry about shaving milliseconds?