Dec 242017
Indentifies type of video card being used in a system.
File VIDEOID.ZIP from The Programmer’s Corner in
Category Display Utilities
Indentifies type of video card being used in a system.
File Name File Size Zip Size Zip Type
README 1319 726 deflated
VIDEOID.ASM 8429 1633 deflated
VIDEOID.EXE 8137 5159 deflated
VIDEOID.OBJ 683 539 deflated
VIDEOIDC.C 1633 550 deflated
VIDEOIDC.OBJ 1705 860 deflated

Download File VIDEOID.ZIP Here

Contents of the README file

Videoid will identify the type of graphics card and it's display in a PC.
It is taken from:

Programmers Guide to PC & PS/2 Video Systems.
R. Wilton, Microsoft Press, Redmond, WA. 1987

From my tests it correctly identifies MDA, CGA, EGA, Herc, Herc+ &
Herc In Color cards. While it claims to identify VGA and MCGA cards, and
it includes the ASM code to to so, in practice I found that it identifies
them as EGA and CGA cards respectively. I'm not sure why it doesn't properly
identify VGA or MCGA cards. The ASM code looks to be calling the correct
interupt and function, but then I'm no expert in ASM. Source is included.
The C code calls the ASM code. OBJ files compiled with MASM4 and MSC 5.0
(AltMath - Small library) are included. Info is in the ASM file on the
changes to be made if you want to compile it in a large memory model.

Note that if you have a graphics card such as an ATI EGA Wonder which supports
both EGA and Hercules, these routines will identify it only as an (monochrome)
EGA system. You could probably modify it to also test for Herc after
identifying another mode.

Aside from the incorrect ID of VGA/MCGA, the routines seem to work OK. However
there is no warranty and I will accept no liability related to their use.

Chamaign, IL

 December 24, 2017  Add comments

 Leave a Reply

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>