Path: utzoo!attcan!lsuc!maccs!cs4g6ag From: cs4g6ag@maccs.dcss.mcmaster.ca (Stephen M. Dunn) Newsgroups: comp.lang.pascal Subject: Re: Turbo 3.0 - Monochrome/CGA support Message-ID: <2521A610.17207@maccs.dcss.mcmaster.ca> Date: 28 Sep 89 05:03:12 GMT References: <1794@draken.nada.kth.se> Reply-To: cs4g6ag@maccs.dcss.mcmaster.ca (Stephen M. Dunn) Organization: McMaster University, Hamilton, Ontario Lines: 38 Rickard Jonsson writes: $ I am having a problem with getting my program to work on both $monochrome systems AND color system. The way it is now, it only works $properly on color systems. $ I have gotten the suggestion that I may not have the compiler set up $to work for both kind of systems. My question is - does setting up the $compiler with TINST affect the way my program is executed on different $machines? The only thing the setup with TINST affects is the initial video mode your program starts up in (and, of course, the mode that TURBO itself runs in, but we're not discussing problems getting the compiler itself to run). If you set it to the "default" mode, it should work on any system; if you set it to one of the other modes, it will clear the screen before running, and it may well not run on colour systems if you specify the monochrome option and vice versa (I'm not sure, never having tried it). $ Another suggestion I have received is that I may be using different $DOS versions and this could cause the difference - could this be justified? No, the version of DOS you're using shouldn't matter, as it doesn't handle the screen functions itself (they end up being handled by the machine's BIOS). $ I do not use direct access to video memory, and the problem which appears on $the mono systems is that my windowing with Window() does not work at all, $although some text comes out right. I've never had this problem. I've written a fair number of programs in Turbo that use windowing and other such nifty stuff, without writing direct video access stuff (although I've done that on some other programs), and they all work fine on Hercules, CGA, EGA and VGA machines. -- Stephen M. Dunn cs4g6ag@maccs.dcss.mcmaster.ca **********************************************************************= "\nI'm only an undergraduate!!!\n"; "VM is like an orgasm: the less you have to fake, the better." - S.C.