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-01 00:03
中国DOS联盟论坛 » DOS开发编程 & 发展交流 (开发室) » How to display Chinese characters in DEBUG? View 2,048 Replies 12
Original Poster Posted 2002-11-06 00:00 ·  中国 浙江 衢州 电信
初级用户
Credits 136
Posts 8
Joined 2002-10-23 00:00
23-year member
UID 46
Gender Male
Status Offline
Floor 2 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
I’ve seen the answer to this question on the forum before. I just couldn’t find it right away. Anyway, you just need to do a little surgery on debug so that it supports double-byte characters (Chinese characters are stored and displayed with double bytes), and that should be OK. I forget exactly what needs to be changed... Hehe, look carefully for it.
ko20010214
=================================
大功告成,打个Kiss!
ko20010214@MSN.com
神州优雅Q300C
Intel CeleronM 370处理器 | 256MbDDR内存
40G硬盘 | USB2.0 | IEEE 1394
13.3 ' WXGA 宽屏(16:10) | COMBO光驱
10/100M网卡 | 四合一读卡器
Floor 3 Posted 2002-11-07 00:00 ·  中国 浙江 衢州 电信
初级用户
Credits 136
Posts 8
Joined 2002-10-23 00:00
23-year member
UID 46
Gender Male
Status Offline
ko20010214, may I ask for your email address?
Thanks.
My email is qzxcl@yahoo.com.cn
Floor 4 Posted 2002-11-07 00:00 ·  中国 河南 郑州 教育网
初级用户
Credits 196
Posts 35
Joined 2002-10-14 00:00
23-year member
UID 5
Gender Male
Status Offline
Just change the "7E" at offset 1262H in Debug.exe to "FF"
You can give it a try
http://ie.zzu.edu.cn
Email:Jathenal@mail.edu.cn
QQ:26165434 希望能和大家做个朋友
Floor 5 Posted 2002-11-07 00:00 ·  中国 江西 吉安 电信
版主
★★★★
Credits 7,296
Posts 1,628
Joined 2002-10-16 12:00
23-year member
UID 10
Gender Male
Status Offline
My email is ko20010214@sina.com
ko20010214
=================================
大功告成,打个Kiss!
ko20010214@MSN.com
神州优雅Q300C
Intel CeleronM 370处理器 | 256MbDDR内存
40G硬盘 | USB2.0 | IEEE 1394
13.3 ' WXGA 宽屏(16:10) | COMBO光驱
10/100M网卡 | 四合一读卡器
Floor 6 Posted 2002-11-09 00:00 ·  中国 河南 新乡 教育网
初级用户
Credits 103
Posts 1
Joined 2002-10-31 00:00
23-year member
UID 111
Gender Male
Status Offline
I wanted to use debug to display Chinese characters. The method is like this.
-debug
-e 1262
1269:1262 7f.ff
-w
-q
That’s it, just like this.
Floor 7 Posted 2002-11-09 00:00 ·  中国 湖南 长沙 电信
初级用户
崇拜巴蒂
Credits 137
Posts 13
Joined 2002-10-20 00:00
23-year member
UID 32
Gender Male
Status Offline
Hehe! The poster above is quite right!
Must be an expert!
俺们那嘎都住艺术院``
俺们那嘎都住破房子''''
俺们那嘎都是忠实的网虫````
俺们那嘎都是大帅哥~~``~~~~
Floor 8 Posted 2002-11-11 00:00 ·  中国 浙江 衢州 电信
初级用户
Credits 136
Posts 8
Joined 2002-10-23 00:00
23-year member
UID 46
Gender Male
Status Offline
Hello, Mr. Suifengshun. Is your email address incorrect?
Floor 9 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
-debug
-e 1262
0af2:1262 b8
This is what it shows on my machine, ??
Why is mine B8
ぁ拒签ぁ!!!!!!!!!!!!!
Floor 10 Posted 2002-12-14 00:00 ·  中国 香港 香港教育大学
管理员
★★★★
專業島民
Credits 4,869
Posts 1,633
Joined 2002-12-10 00:00
23-year member
UID 465
Gender Male
Status Offline
C:\WINDOWS>debug
-e 1262
0EA3:1262 05.
This is what it shows on my machine, ??
Why is mine 05
我的網站:http://mw16.2ya.com/ 我的網誌: http://scrappedblog.blogspot.com/
~
我的Winamp正在播放的歌曲:
Floor 11 Posted 2003-05-10 00:00 ·  中国 安徽 阜阳 教育网
初级用户
Credits 106
Posts 2
Joined 2003-05-10 00:00
23-year member
UID 1981
Gender Male
Status Offline
Why does my computer show an error message?
Floor 12 Posted 2003-07-17 00:00 ·  中国 河北 邯郸 中移铁通
初级用户
Credits 114
Posts 4
Joined 2003-07-16 00:00
23-year member
UID 6985
Gender Male
Status Offline
This is bad, nobody’s continuing this anymore
Floor 13 Posted 2003-07-18 00:00 ·  中国 安徽 滁州 天长市 电信
银牌会员
★★★
Credits 1,835
Posts 648
Joined 2002-11-08 00:00
23-year member
UID 197
Gender Male
Status Offline
The procedure is as follows:
c:\>copy c:\windows\command\debug.exe d:\debug.dat (change the name, because debug does special handling for *.exe, so you need to change the extension; move it elsewhere because that's what I'm used to)
c:\>debug d:\debug.dat
-e 1262
XXXX:1262 7F.ff
-w
Writing 0504A bytes
-q
c:\>ren d:\debug.dat *.exe
Then there will be a Chinese-supporting debug.exe on d:\. If you're sure you don't want the original one anymore, just copy it to c:\windows\command and overwrite the original.
Forum Jump: