home *** CD-ROM | disk | FTP | other *** search
/ Power-Programmierung / CD2.mdf / c / library / dos / grafik / video_id / readme next >
Encoding:
Text File  |  1988-10-12  |  1.3 KB  |  27 lines

  1. Videoid will identify the type of graphics card and it's display in a PC.
  2. It is taken from:
  3.  
  4.          Programmers Guide to PC & PS/2 Video Systems.
  5.          R. Wilton, Microsoft Press, Redmond, WA.  1987
  6.  
  7. From my tests it correctly identifies MDA, CGA, EGA, Herc, Herc+ &
  8. Herc In Color cards.  While it claims to identify VGA and MCGA cards, and
  9. it includes the ASM code to to so, in practice I found that it identifies
  10. them as EGA and CGA cards respectively.   I'm not sure why it doesn't properly
  11. identify VGA or MCGA cards.  The ASM code looks to be calling the correct
  12. interupt and function, but then I'm no expert in ASM.  Source is included.
  13. The C code calls the ASM code.  OBJ files compiled with MASM4 and MSC 5.0
  14. (AltMath - Small library) are included.  Info is in the ASM file on the
  15. changes to be made if you want to compile it in a large memory model.
  16.  
  17. Note that if you have a graphics card such as an ATI EGA Wonder which supports
  18. both EGA and Hercules, these routines will identify it only as an (monochrome)
  19. EGA system.  You could probably modify it to also test for Herc after
  20. identifying another mode.
  21.  
  22. Aside from the incorrect ID of VGA/MCGA, the routines seem to work OK.  However
  23. there is no warranty and I will accept no liability related to their use.
  24.  
  25. J.G.
  26. Chamaign, IL
  27.