![]() |
China DOS Union-- Unite DOS · Advance DOS · Grow DOS --Union site: www.cn-dos.net Forum site: www.cn-dos.net/forum |
| Guest | Log in | Register | Members | Search | China DOS Union |
|
中国DOS联盟论坛 The time now is 2026-09-15 07:44 |
47,812 topics / 349,917 posts / today 0 new / 48,268 members |
| DOS软件下载 & 游戏分享 (下载室) » How to set colors under DOS? |
| Printable Version 2,510 / 7 |
| Floor1 yjf2006 | Posted 2006-09-15 11:42 |
| 初级用户 Posts 30 Credits 84 | |
|
Recently I saw a few codes and learned that color 2f sets the background to green, color 0c sets the font to red. How to set other colors? Thanks in advance to all the masters for teaching!
|
|
| Floor2 electronixtar | Posted 2006-09-15 21:21 |
| 铂金会员 Posts 2,672 Credits 7,493 | |
|
color /?
Can only display 16 colors, right |
|
| Floor3 yjf2006 | Posted 2006-09-17 12:27 |
| 初级用户 Posts 30 Credits 84 | |
|
Tried it out, and sure enough. Thanks, electronixtar
|
|
| Floor4 gd742 | Posted 2006-12-12 03:30 |
| 新手上路 Posts 3 Credits 8 | |
|
Is there any software for full - screen testing the screen under DOS?
|
|
| Floor5 tonypioneer | Posted 2007-02-05 04:17 |
| 新手上路 Posts 3 Credits 8 | |
|
Format: color ab
Description: a is the background color, b is the font color. Both a and b are values from 0 to f, using hexadecimal, and each digit represents a color. |
|
| Floor6 tonypioneer | Posted 2007-02-05 04:18 |
| 新手上路 Posts 3 Credits 8 | |
|
Note that the values of a and b cannot be the same, that is, the background and font color cannot be the same.
|
|
| Floor7 wsqooo | Posted 2007-02-16 06:35 |
| 新手上路 Posts 7 Credits 14 | |
|
In the application, you can program with VBE to get rich colors.
|
|
| Floor8 gne3 | Posted 2007-02-17 02:27 |
| 高级用户 Posts 252 Credits 526 | |
|
Bump
|
|
|
[ Contact the Union admin team -
中国DOS联盟 -
Standard version ] Sponsored by ifanr Inc | © 2001–2023 |