Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sdd.hp.com!zaphod.mps.ohio-state.edu!rpi!uupsi!sunic!news.funet.fi!uwasa.fi!ts From: ts@uwasa.fi (Timo Salmi) Newsgroups: comp.os.msdos.programmer Subject: Re: How to -graphic resolution Message-ID: <1991Mar17.204836.28689@uwasa.fi> Date: 17 Mar 91 20:48:36 GMT References: <91075.192419AARIE@BGUVM.BITNET> Organization: University of Vaasa Lines: 21 In article <91075.192419AARIE@BGUVM.BITNET> AARIE@BGUVM.BITNET writes: > > I'm writing a function plotting program and I'd like to take >advantage of the largest graphic possible. Just for general information. There are many function plotting programs already in existence including /pc/graphics/plot61.zip and /pc/ts/tsfunc13.arc available from garbo.uwasa.fi archives. > Is there a way to detect the current addapter(Hercules,EGA,VGA,etc.) >and set the mode to the maximum screen size(mono is just fine) ? Sure. For example Turbo Pascal and Turbo C have inbuilt routines for the task. There are also separate programs for this task to be found e.g. in /pc/sysinfo/infop145.zip and /pc/ts/util31.arc. ................................................................... Prof. Timo Salmi Moderating at garbo.uwasa.fi anonymous ftp archives 128.214.12.37 School of Business Studies, University of Vaasa, SF-65101, Finland Internet: ts@chyde.uwasa.fi Funet: gado::salmi Bitnet: salmi@finfun