Computer Chess Club Archives


Search

Terms

Messages

Subject: VT100 codes didn't work

Author: Geoff

Date: 16:33:33 12/13/03

Go up one level in this thread


Hi

I wasn't sure that Vt100 codes would work in a standard DOS screen so I have
just tried it and confirmed that it doesn't work.
To achieve colored text it looks like I would need to start using BIOS calls amd
poking values into video attribute memory?
Any of the programming gurus here have some example code for this that would
compile in Visual Studio C ?
Many thanks

          Geoff




On December 13, 2003 at 11:27:37, Geoff wrote:

>Hi
>
>I noticed using Chispa that it's DOS screen text output prints in colored text
>also with coloured background squares for the board representation.
>I suspect this can be done from printf output using ESC sequences ? Can anyone
>give me any tips on how to do this, and maybe a link to a colour code table
>please ?
>I have got bored looking at my programs boring black and white output, I think I
>will make it bit snazzier for Xmas :-)
>
> Thanks   Geoff



This page took 0 seconds to execute

Last modified: Thu, 15 Apr 21 08:11:13 -0700

Current Computer Chess Club Forums at Talkchess. This site by Sean Mintz.