TIP: Click on subject to list as thread! ANSI
echo: c_plusplus
to: BORIS TERZIC
from: KURT KUZBA
date: 1997-07-15 00:52:00
subject: Palette in textmode?

BT> JN>   I was told that textmode (80x25 / 80x50) work same way...
BT>   It's the same palette that is used and hence the same
BT>   code as for mode 13h, keep in mind though that in
BT>   textmode only the first 16 colors are used.
   It seems that the text modes do not use the VGA palette.
   They use the EGA palette, in which the order of the colors
   is slightly different. Try using these values:
      Dark Black        0         Bright Black     56
      Dark Blue         1         Bright Blue      57
      Dark Green        2         Bright Green     58
      Dark Cyan         3         Bright Cyan      59
      Dark Red          4         Bright Red       60
      Dark Magenta      5         Bright Magenta   61
      Dark Brown       20         Bright Brown     62
      Dark White        7         Bright White     63
   These should work for changing your colors in the available
   standard text modes.
> ] What do you mean, "There is more to life than computers."?..
---
---------------
* Origin: *YOPS ]I[* 3.1 GIG * RA/FD/FE RADist * Milwaukee, WI (1:154/750)

SOURCE: echomail via exec-pc

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.