KnowledgeBase Archive

An Archive of Early Microsoft KnowledgeBase Articles

View on GitHub

Q40573: Problems with Using the Digital Output of a VGA Adapter

Article: Q40573
Product(s): See article
Version(s): 5.00 5.10
Operating System(s): MS-DOS
Keyword(s): ENDUSER | S_QUICKC | mspl13_c
Last Modified: 16-MAY-1989

Problem:

When I run programs, such as GRDEMO, that call the graphics function
_setvideomode, a border is displayed around my monitor. Also, the
functions _remappalette and _remapallpalette do not seem to work
correctly.

Response:

Some VGA display adapters have analog- and digital-output
capabilities. The above behavior occurs when the digital output of a
VGA display adapter is connected to the monitor.

When the digital output is connected to an ECD (EGA monitor), a green
border is observed. When the digital output is connected to a
multisync class monitor, a gray border is observed. In either case,
remapping the palette does not function. When the analog output is
connected to a multisync or VGA monitor, the correct behavior is
observed.

The problem is that the graphics adapter is rightfully determined to
be VGA class -- although for practical purposes it is really EGA
class. At this point, the C graphics library treats the display
incorrectly as VGA. Connecting a digital monitor to the digital output
of a VGA adapter is a non-standard hardware configuration (the digital
output of a VGA graphics adapter is non-standard). The behavior of a
non-standard hardware configuration is unpredictable.

THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Copyright Microsoft Corporation 1986-2002.