🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.msdos.programmer
Article #5311

Re: How to -graphic resolution

#5311
From: Joe Huffman
Date: Tue, 19 Mar 1991 21:03
30 lines
1529 bytes
AARIE@BGUVM.BITNET writes:


>  I'm writing a function plotting program and I'd like to take
>advantage of the largest graphic possible.

>  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) ?

Yes.  The Flash Graphics library (which I wrote) that comes with 
Zortech C/C++ does just that.  fg_init() will detect which graphics
board is available and initialize it with the highest resolution possible.
There is an environment variable override for those cases where the
alogorithm fails (rare but it does happen) -- or if you want something
less than the max resolution with more colors.


---
Zortech mailing list: send email to 'ztc-list-request@uunet.uu.net' with:
Add: your-user-name@your-machine-name
In the body of the message.
---
Send Zortech bug reports to 'zortech-bugs@zortech.com'
Send requests for educational discounts to 'zortech-ed@zortech.com'
---
Zortech is my major source of income.  Statements about them or their 
competitors cannot be totally without bias.  

-- 
joe@proto.com
Technical Details
Message-ID: <1991Mar19.210342.10116@proto.com>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!swrinde!cs.utexas.edu!uunet!proto!joe
References: <91075.192419AARIE@BGUVM.BITNET>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!swrinde!cs.utexas.edu!uunet!proto!joe
From: joe@proto.com (Joe Huffman)
Newsgroups: comp.os.msdos.programmer
Subject: Re: How to -graphic resolution
Message-ID: <1991Mar19.210342.10116@proto.com>
Date: 19 Mar 91 21:03:42 GMT
References: <91075.192419AARIE@BGUVM.BITNET>
Organization: Prototronics @ Sandpoint, Idaho
Lines: 30