delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2003/04/07/12:45:13

From: Hans-Bernhard Broeker <broeker AT physik DOT rwth-aachen DOT de>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Blinking characters
Date: 7 Apr 2003 16:40:52 GMT
Organization: Aachen University of Technology (RWTH)
Lines: 21
Message-ID: <b6s9mk$c32$1@nets3.rz.RWTH-Aachen.DE>
References: <b6s6u9$bhn$1 AT saphir DOT jouy DOT inra DOT fr>
NNTP-Posting-Host: acp3bf.physik.rwth-aachen.de
X-Trace: nets3.rz.RWTH-Aachen.DE 1049733652 12386 137.226.32.75 (7 Apr 2003 16:40:52 GMT)
X-Complaints-To: abuse AT rwth-aachen DOT de
NNTP-Posting-Date: 7 Apr 2003 16:40:52 GMT
Originator: broeker@
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Eric Wajnberg <wajnberg AT antibes DOT inra DOT fr> wrote:

> With textcolor(), textbackgound() (and functions like cprintf()), I can play
> with different colors. This is ok.

> However, I just can't make the printed text to blink. The help on-line on
> textattr() (in conio.h) is not really explicit..

Whether or not the "blink" attribute actually causes characters to
blink or rather displays the background in brighter colour is
controlled by a configuration flag set in the CRT controller chip.
IIRC, windows won't let you set this bit to 'blinking' at all unless
you're running the DOS box in full-screen mode.  This is needed
because blinking would be enormously CPU-intensive in windowed mode.

Anyway, blinking is usually off in full-screen mode, too.  More
colours are generally considered more important than blinking.

-- 
Hans-Bernhard Broeker (broeker AT physik DOT rwth-aachen DOT de)
Even if all the snow were burnt, ashes would remain.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019