KnowledgeBase Archive

An Archive of Early Microsoft KnowledgeBase Articles

View on GitHub

Q38154: Graphic Routines Fail to Use Active Card when Two are Present

Article: Q38154
Product(s): See article
Version(s): 1.00 1.10
Operating System(s): MS-DOS
Keyword(s): ENDUSER | s_c | mspl13_c
Last Modified: 17-NOV-1988

On machines with two graphics cards, the graphics package shipped
with QuickC and the C Versions 5.00 and 5.10 optimizing compiler will
use only the higher-resolution card for graphic output, regardless of
which is the active card. The only solution is to remove the second
card. However, this is a particular problem with machines such as the
PS/2 model 30, which has a built-in MCGA card.

QuickC will recognize an add-on VGA card, which has higher resolution
than MCGA; however, it will not recognize an add-on EGA card, which,
although it provides lower resolution than the MCGA, is considered by
many to be a superior card for graphic output. If an attempt is made
to use _setvideomode to set the system into an EGA mode, _setvideomode
will return an error.

The graphics routines do not rely solely on the bios. Issuing a bios
call (Int 10, Function 0FH - Get Video Mode) to determine whether or
not the bios recognizes the EGA as the active card will return the
value for an EGA-only mode. However, the graphics routines will
continue to use the MCGA card.

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.