China DOS Union

-- Unite DOS · Advance DOS · Grow DOS --

Union site: www.cn-dos.net Forum site: www.cn-dos.net/forum
DOS stands for freedom, openness and progress. Let us work hard, learn from the openness and GNU spirit of FreeDOS and Linux, and together build and grow a free GNU GPL world!

中国DOS联盟论坛
The time now is 2026-08-12 09:21
中国DOS联盟论坛 » DOS学习入门 & 精彩文章 (教学室) » Smart Use of "DEBUG" to Select a Well-Performing Monitor [Repost] DigestI View 7,221 Replies 11
Original Poster Posted 2002-11-06 00:00 ·  中国 江西 吉安 电信
版主
★★★★
Credits 7,296
Posts 1,628
Joined 2002-10-16 12:00
23-year member
UID 10
Gender Male
Status Offline
Smart Use of "DEBUG" to Select a Well-Performing Monitor

--------------------------------------------------------------------------------

http://www.sina.com.cn 2002/10/09 13:29 CCID Net - China Computer Education News

  By Li Bei

  Many DIY users focus their attention on the components of the main unit when assembling a computer, such as the CPU, graphics card... but neglect an important peripheral device - the monitor. Now there are a wide variety of monitor brands, and the display effects of different cathode ray tubes (CRTs) have their own merits, making it confusing for buyers. But how to intuitively test whether the colors of the monitor are pure, whether the black and white are balanced, and whether the convergence is accurate? Although we can use the help of some software, such as Nokia Monitor Test 1.0a. However, when purchasing, few people will carry it with them, and then only rely on the user's keen eyesight for visual inspection.


  In fact, the operating system itself comes with a convenient tool, which is DEBUG under DOS. Now I will introduce to you how to use it.

  After booting up, enter the DOS mode (it is recommended to be in the real DOS mode, without loading any other systems and software, but it can also pass in the DOS window mode of Windows 9X; if the user is using Windows Me or Windows XP, you can click the "Start" on the taskbar, select "Run", type "DEBUG", and then click "OK", type DEBUG and press Enter. When the DEBUG horizontal line prompt appears, we can use the "F" command to directly operate on the display buffer to make the monitor display the "graphics" we need. The specific operation commands are as shown in the chart.

DEBUG Operation Command List
Serial number
Command
Graphics

1
-f b800:00 f9f 20 70
Full screen white raster

2
-f b800:00 f9f 20 40
Full screen red raster

3
-f b800:00 f9f 20 20
Full screen green raster

4
-f b800:00 f9f 20 10
Full screen blue raster

5
-f b800:00 f9f c5 07 c4 07
Full screen white cross

6
-f b800:00 f9f c5 04 c4 04
Full screen red cross

7
-f b800:00 f9f c5 02 c4 02
Full screen green cross

8
-f b800:00 f9f c5 01 c4 01
Full screen blue cross

9
-f b800:00 f9f c5 05 c4 05
Full screen purple cross

10
-f b800:00 f9f c4 07
Full screen white horizontal line

11
-f b800:00 f9f b3 07 20 07
Full screen white vertical line

12
-f b800:00 f9f 20 70 20 70 20 70 20 70 20 70 20 70 20 70 20 70 20 70
Full screen black and white alternating


  How about, have you all seen it? It is purer, more complete, and more intuitive than the signals provided by the color TV signal generator. Everyone can test the monitor they like, try to find its "defects", and be as critical as possible, so that they can master more "bargaining chips" when bargaining with the merchant.

  The function of the above method is to cooperate with the adjustable components such as the deflection coil, color purity magnetic ring, six-stage magnetic ring of the CRT, to help the user adjust and repair the red, green, blue static convergence, dynamic convergence, white and dark balance, color purity and other "surface" errors of the CRT, so that our color monitor can always show its "true" color.

  After all, the monitor is one of the components that serve the longest time in the entire computer, so carefully selecting a good monitor is a key point in buying a computer.
Recent Ratings for This Post ( 1 in total) Click for details
RaterScoreTime
shifengl +1 2009-05-23 23:19
ko20010214
=================================
大功告成,打个Kiss!
ko20010214@MSN.com
神州优雅Q300C
Intel CeleronM 370处理器 | 256MbDDR内存
40G硬盘 | USB2.0 | IEEE 1394
13.3 ' WXGA 宽屏(16:10) | COMBO光驱
10/100M网卡 | 四合一读卡器
Floor 2 Posted 2002-11-06 00:00 ·  中国 广东 佛山 三水区 电信
元老会员
★★★★
Credits 5,170
Posts 1,637
Joined 2002-10-16 00:00
23-year member
UID 8
Gender Male
From 广东佛山
Status Offline
Excellent, collected it.
我的网志
http://hzmys.blog.163.com/
我的网盘
firststep.qjwm.com
fsmys.ys168.com
ssmys.ys168.com
www.brsbox.com/fsmys
www.brsbox.com/ssmys
www.brsbox.com/ccdos
Floor 3 Posted 2002-11-10 00:00 ·  中国 广东 广州 电信
初级用户
Credits 102
Posts 1
Joined 2002-11-10 00:00
23-year member
UID 212
Gender Male
Status Offline
This is directly operating on the hardware. There might be a risk of damaging the monitor, right??
我爱dos
Floor 4 Posted 2002-11-10 00:00 ·  中国 江西 吉安 电信
版主
★★★★
Credits 7,296
Posts 1,628
Joined 2002-10-16 12:00
23-year member
UID 10
Gender Male
Status Offline
Software cannot damage hardware. If it could, then viruses that damage hardware could be created.
The so-called CIH that was said to damage the motherboard only damages a section of program code in the BIOS and cannot damage the BIOS. It is like damaging files (programs) in the hard disk but not the hard disk itself. Damage refers to physical, irrecoverable damage!!!
ko20010214
=================================
大功告成,打个Kiss!
ko20010214@MSN.com
神州优雅Q300C
Intel CeleronM 370处理器 | 256MbDDR内存
40G硬盘 | USB2.0 | IEEE 1394
13.3 ' WXGA 宽屏(16:10) | COMBO光驱
10/100M网卡 | 四合一读卡器
Floor 5 Posted 2002-12-14 00:00 ·  中国 江西 南昌 电信
初级用户
Credits 119
Posts 11
Joined 2002-12-14 00:00
23-year member
UID 508
Gender Male
Status Offline
Classic.
ぁ拒签ぁ!!!!!!!!!!!!!
Floor 6 Posted 2003-02-21 00:00 ·  中国 北京 海淀区 教育网
初级用户
wolfwood
Credits 158
Posts 14
Joined 2003-02-14 00:00
23-year member
UID 919
Gender Male
Status Offline
Not bad

The technology of direct screen writing is applied. Many Chinese systems use this technology, and there was also PCTools back then. When I once wrote a program without using INT10 but using direct screen writing, I didn't obviously feel much faster, but the source code became extremely long (after macro replacement).
我不能偷也不能搶
Floor 7 Posted 2003-03-26 00:00 ·  中国 江苏 南京 电信
初级用户
Credits 148
Posts 20
Joined 2003-03-24 00:00
23-year member
UID 1248
Gender Male
Status Offline
Good stuff, but if you use this to test the monitor, the boss will be scared!!
=================================
爱dos,难道需要理由吗?
=================================
我不是高手,希望与大家成为朋友。QQ:33408659
Floor 8 Posted 2003-03-29 00:00 ·  中国 台湾 远传电信
元老会员
★★★★★
Credits 8,312
Posts 3,551
Joined 2003-03-22 00:00
23-year member
UID 1225
Gender Male
Status Offline
Okay, worth collecting
MSN:tiqit2@hotmail.com
Floor 9 Posted 2005-01-01 00:00 ·  中国 山东 济宁 电信
中级用户
★★★
痴迷DOS者
Credits 456
Posts 570
Joined 2004-10-09 00:00
21-year member
UID 32281
Gender Male
Status Offline
```asm
mov al,ff
out 21,ah
mov ah,12h
mov bl,36h
mov al,1
int 10
mov ah,12h
mov bl,36h
mov al,0
int 10
.............................
mov al,00
out 21h,al
g
q

```
DOS不是万能的,没有DOS是万万不能的
自古系统谁无死?留取胆清照汗青!uploadImages/20035317345478982.png
Floor 10 Posted 2005-01-01 00:00 ·  中国 山东 济宁 电信
中级用户
★★★
痴迷DOS者
Credits 456
Posts 570
Joined 2004-10-09 00:00
21-year member
UID 32281
Gender Male
Status Offline
For damaged monitor:

f b800:00 f9f 20 70
mov al,ff
out 21,ah
mov ah,12h
mov bl,36h
mov al,1
int 10
mov ah,12h
mov bl,36h
mov al,0
int 10
.............................
mov al,00
out 21h,al
g
q
DOS不是万能的,没有DOS是万万不能的
自古系统谁无死?留取胆清照汗青!uploadImages/20035317345478982.png
Floor 11 Posted 2005-01-06 00:00 ·  中国 贵州 贵阳 电信
初级用户
Credits 198
Posts 43
Joined 2004-11-02 00:00
21-year member
UID 33193
Gender Male
Status Offline
Good stuff, but using this to test the monitor, the boss will be scared to death : )

我爱电脑,更爱软件,最爱的是我的父母和老婆!
Floor 12 Posted 2010-09-09 21:49 ·  中国 四川 成都 温江区 电信
中级用户
★★
Credits 274
Posts 192
Joined 2009-01-07 21:09
17-year member
UID 136069
Gender Male
Status Offline
It's just that it will be bad if it's broken.
Forum Jump: