![]() |
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 01:35 |
47,812 topics / 349,917 posts / today 0 new / 48,268 members |
| DOS开发编程 & 发展交流 (开发室) » How to display Chinese characters in DEBUG? |
| Printable Version 2,134 / 12 |
| Floor1 qzxcl | Posted 2002-11-06 00:00 |
| 初级用户 Posts 8 Credits 136 | |
| Floor2 ko20010214 | Posted 2002-11-06 00:00 |
| 版主 Posts 1,628 Credits 7,296 | |
|
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.
|
|
| Floor3 qzxcl | Posted 2002-11-07 00:00 |
| 初级用户 Posts 8 Credits 136 | |
|
ko20010214, may I ask for your email address?
Thanks. My email is qzxcl@yahoo.com.cn |
|
| Floor4 随风顺 | Posted 2002-11-07 00:00 |
| 初级用户 Posts 35 Credits 196 | |
|
Just change the "7E" at offset 1262H in Debug.exe to "FF"
You can give it a try |
|
| Floor5 ko20010214 | Posted 2002-11-07 00:00 |
| 版主 Posts 1,628 Credits 7,296 | |
|
My email is ko20010214@sina.com
|
|
| Floor6 yzf320 | Posted 2002-11-09 00:00 |
| 初级用户 Posts 1 Credits 103 | |
|
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. |
|
| Floor7 gha | Posted 2002-11-09 00:00 |
| 初级用户 Posts 13 Credits 137 | |
|
Hehe! The poster above is quite right!
Must be an expert! |
|
| Floor8 qzxcl | Posted 2002-11-11 00:00 |
| 初级用户 Posts 8 Credits 136 | |
|
Hello, Mr. Suifengshun. Is your email address incorrect?
|
|
| Floor9 柳飘逸 | Posted 2002-12-14 00:00 |
| 初级用户 Posts 11 Credits 119 | |
|
-debug
-e 1262 0af2:1262 b8 This is what it shows on my machine, ?? Why is mine B8 |
|
| Floor10 Roy | Posted 2002-12-14 00:00 |
| 管理员 Posts 1,633 Credits 4,869 | |
|
C:\WINDOWS>debug
-e 1262 0EA3:1262 05. This is what it shows on my machine, ?? Why is mine 05 |
|
| Floor11 sunfangyu123 | Posted 2003-05-10 00:00 |
| 初级用户 Posts 2 Credits 106 | |
|
Why does my computer show an error message?
|
|
| Floor12 linxipiao | Posted 2003-07-17 00:00 |
| 初级用户 Posts 4 Credits 114 | |
|
This is bad, nobody’s continuing this anymore
|
|
| Floor13 LanE | Posted 2003-07-18 00:00 |
| 银牌会员 Posts 648 Credits 1,835 | |
|
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. |
|
|
[ Contact the Union admin team -
中国DOS联盟 -
Standard version ] Sponsored by ifanr Inc | © 2001–2023 |