www.delorie.com/djgpp/doc/libc/libc_490.html   search  
libc.a reference

[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

intensevideo

Syntax

 
#include <conio.h>

void intensevideo(void);

Description

Bit 7 (`MSB') of the character attribute byte has two possible effects on EGA and VGA displays: it can either make the character blink or change the background color to bright (thus allowing for 16 background colors as opposed to the usual 8). This function sets that bit to display bright background colors. After a call to this function, every character written to the screen with bit 7 of the attribute byte set, will have a bright background color. The companion function blinkvideo (see section blinkvideo) has the opposite effect.

Note that there is no BIOS function to get the current status of this bit, but bit 5 of the byte at 0040h:0065h in the BIOS area indicates the current state: if it's 1 (the default), blinking characters will be displayed.

Portability

ANSI/ISO C No
POSIX No


  webmaster     delorie software   privacy  
  Copyright © 2004     Updated Apr 2004