KnowledgeBase Archive

An Archive of Early Microsoft KnowledgeBase Articles

View on GitHub

Q38312: Attributes in Hercules Graphics Mode

Article: Q38312
Product(s): See article
Version(s): 5.10
Operating System(s): MS-DOS
Keyword(s): ENDUSER | s_quickc | mspl13_c
Last Modified: 19-DEC-1988

Problem:

I'm using a Hercules graphics adapter in graphics mode and I would
like to do high-intensity "bold" graphics, but I can't seem to get it
to work correctly.

Response:

Using the Hercules graphics adapter in graphics mode, each pixel maps
to only 1 bit in memory. Because there is only 1 bit, that pixel can
only be on or off. In Hercules graphics mode, there is no facility for
attributes such as high-intensity, blinking, reverse, or underline.

In Hercules graphics mode, the only way to get blinking, reverse, and
underline is for your program to manipulate or turn on and off each
pixel. High-intensity will not be possible.

If you put the adapter into Text mode, you can use all of these
attributes freely.

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.