Dec 052017
 
Simple program that will determine type of monitor (VGA, EGA, etc) and return the result as an errorcode. C source included.
File VMODE.ZIP from The Programmer’s Corner in
Category Batch Files
Simple program that will determine type of monitor (VGA, EGA, etc) and return the result as an errorcode. C source included.
File Name File Size Zip Size Zip Type
VMODE.C 9298 2138 deflated
VMODE.COM 7518 4853 deflated
VMODE.TXT 722 448 deflated

Download File VMODE.ZIP Here

Contents of the VMODE.TXT file


VMode.C

VMode is an attempt to be as global as possible in detecting monitor types.
The C source code is provided to explain how to detect color and Hercules
graphic cards. While there are monitors on the market not listed in
my code, I have never actually seen anyone use them and hence do not have
a way to test code. If you enhance this code (feel free) and add
additional monitor detection, please let me know so that I can keep VMode
up-to-date.

VMode was compiled with TURBO-C using the Tiny model. Exe2Bin was used to
convert it to a Com file.

Brett Platko
20607 Pruitt Ct.
Gaithersburg, MD, 20879

DARWIN BBS (301) 251-9206
CompuServe, 70441,622



 December 5, 2017  Add comments

Leave a Reply