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-06-20 12:55
中国DOS联盟论坛 » DOS汉化世界 & 中文系统 (中文化室) » Let non-Chinese character systems display Chinese characters! Version 5.20 New Edition DigestI View 81,472 Replies 373
Floor 91 Posted 2005-12-22 15:33 ·  中国 山西 运城 中移铁通
元老会员
★★★★
Batchinger
Credits 4,432
Posts 1,512
Joined 2002-10-18 00:00
23-year member
UID 19
Gender Male
Status Offline
Re 本是:

Regarding manually setting the display language, it is certainly not mandatory, but if set, it has the following effects:

1. If using this program in a relatively special Chinese display environment and automatic detection is not possible, you can manually force Chinese display;

2. If you want to display English help in a Chinese display environment but conditions do not allow exiting or switching environments, you can force English display;

3. If there is no Chinese display environment or conditions do not allow enabling the Chinese display environment, you can force VTHZ display;

Regarding the issue of the number of Chinese characters displayed on the screen, after testing, it is ineffective on a real machine; in a virtual machine, only during continuous "display processes" can all Chinese characters be completely displayed. Other "processes" such as pausing, exiting the program, switching windows (excluding delays) will cause the virtual machine to re-"refresh the screen", thereby updating to the "latest" sequence of Chinese character display.

Before this, I thought your program had completed the concept of displaying the complete text line by line as I initially mentioned. It seems I was misled.
※ Batchinger 致 Bat Fans:请访问 批处理编程的异类 ,欢迎交流与共享批处理编程心得!
Floor 92 Posted 2005-12-22 15:39 ·  中国 广东 珠海 电信
中级用户
★★
Credits 493
Posts 161
Joined 2002-10-29 00:00
23-year member
UID 94
Gender Male
From ZHCN
Status Offline
In the DOS console of XP (of course, Chinese characters can be entered), I ran on drive D:
d:\>VTHZMK 您好
There was no prompt, and then it became the English text state, and no VTHZ.COM and TXT files were generated. Oh no...
Floor 93 Posted 2005-12-22 15:47 ·  中国 江苏 苏州 电信
银牌会员
★★★
Credits 2,227
Posts 790
Joined 2005-01-27 00:00
21-year member
UID 35703
Gender Male
Status Offline
Originally posted by willsort at 2005-12-22 15:33:
I thought your program had completed the original concept I mentioned about displaying the complete main text line by line...

  In the current E/VGA hardware environment, without special settings, the text screen can display at most 256 Western characters, that is, 128 Chinese characters at the same time. This is limited by the hardware, and there is no way around it unless the hardware is redesigned. Therefore, people who have developed Chinese character systems have long understood this problem - it is impossible to display 25x80/2 Chinese characters on the same screen by modifying the character set with VGA hardware; only by modifying the hardware settings to display graphics and characters on the same screen can it be achieved - this is the case from the first Chinese character system of the Institute of Electronics to later Chinese character systems that support direct screen writing.
my major is english----my love is dos----my teacher is the buddha----my friends--how about U
Floor 94 Posted 2005-12-22 15:49 ·  中国 江苏 苏州 电信
银牌会员
★★★
Credits 2,227
Posts 790
Joined 2005-01-27 00:00
21-year member
UID 35703
Gender Male
Status Offline
Originally posted by LiveOnLove at 2005-12-22 15:39:
In the DOS console of XP (which can of course input Chinese characters), I ran on drive D:
d:\>VTHZMK 您好
No prompt appeared, then it became the English text state, and no VTHZ.COM and TXT files were generated. Oh ...

  Don't be confused -- your command line is wrong. The correct command line is as follows, you can try again:
VTHZMK /P 您好
my major is english----my love is dos----my teacher is the buddha----my friends--how about U
Floor 95 Posted 2005-12-22 15:50 ·  中国 广东 珠海 电信
中级用户
★★
Credits 493
Posts 161
Joined 2002-10-29 00:00
23-year member
UID 94
Gender Male
From ZHCN
Status Offline
Hehe. Then please, Brother Ben, modify the introduction on the first page. HOHO
Floor 96 Posted 2005-12-22 16:30 ·  中国 江苏 苏州 电信
银牌会员
★★★
Credits 2,227
Posts 790
Joined 2005-01-27 00:00
21-year member
UID 35703
Gender Male
Status Offline
Originally posted by LiveOnLove at 2005-12-22 15:50:
Hehe. Then please, Brother Ben, modify the introduction on the first page. HOHO

  Good suggestion, already modified. I wanted to give the text, but what I copied up is always in the wrong format, so I had to post a picture.
my major is english----my love is dos----my teacher is the buddha----my friends--how about U
Floor 97 Posted 2005-12-22 20:27 ·  中国 广东 珠海 电信
中级用户
★★
Credits 493
Posts 161
Joined 2002-10-29 00:00
23-year member
UID 94
Gender Male
From ZHCN
Status Offline
However, from my usage perspective (I'm sorry, according to what Brother Ben provided, it seems a bit like天书), I fumbled around, but instead I feel that if I say it like this, the basic usage is basically like this, and then I think it's easier to understand. HOHO
1. First use VTHZMK /p to enter the Chinese characters you need to display here
2. Automatically generate: VTHZ.EXE and VTHZ.TXT
3. Run VTHZ.EXE in a non-Chinese character system (of course, it can also be loaded with DEVICE=VTHZ.EXE in CONFIG.SYS)
4. Display: You can directly use the DOS command type VTHZ.TXT to display the Chinese characters you needed in the first step just now.

Feedback: The parameter /r80 still clears the screen >"< (DOS 7.0 under WIN)
Now I want to know how to use VTHZMK to generate a Chinese menu in CONFIG.SYS? (I hope there can be an explanation like mine above. HOHO)
Floor 98 Posted 2005-12-22 20:55 ·  中国 广东 珠海 电信
中级用户
★★
Credits 493
Posts 161
Joined 2002-10-29 00:00
23-year member
UID 94
Gender Male
From ZHCN
Status Offline
Quote from post #79:

device=himem.sys
device=wrapper.sys vgaHZfnt.com
dos=high,umb
[MENU]
menuitem=WIN98,Chinese version of Windows 98
menuitem=DOS71,English version of DOS 7.10
menucolor=15,0
menudefault=WIN98,6
[WIN98]
...
[DOS71]
Still need to use CONFIX.SYS??
Floor 99 Posted 2005-12-22 21:54 ·  中国 江苏 苏州 电信
银牌会员
★★★
Credits 2,227
Posts 790
Joined 2005-01-27 00:00
21-year member
UID 35703
Gender Male
Status Offline
MS-DOS 6.0 introduced a multi-boot menu, but it has significant limitations: Quoting the words of moderator willsort in post " Can Chinese characters be displayed without loading a Chinese character system?" (http://www.cn-dos.net/forum/viewthread.php?tid=6916&fpage=1&highlight=&page=6) "Post 81" (the content in parentheses was originally added), "From the source code of (interpretively executed) io(.SYS),... the block that comes first in the startup process is always executed first. Of course, this execution starts formally only after a mode (that is, a menu item) is selected in the menu (that is, )." That is, if there is in CONFIG.SYS, is always executed first, then , the selection, and then again. This has been verified in VPC.

To use the menu for booting in CONFIG.SYS, one must currently rely on BOOTCON.SYS (the version I have localized with table lines to remove double-ghost half-Chinese characters) or BOOT.SYS (the latter is more powerful and convenient to use). The usage of BOOTCON.SYS I have compiled in post 40 of the same thread. Here is a screenshot (http://www.cn-dos.net/forum/atta ... 152e&download=1)

There are also software and CONFIG downloads (http://www.cn-dos.net/forum/attachment.php?aid=164&checkid=f65b6&download=1)
Among them, CONFIG.COM is a VGA text Chinese character font loading program, so Chinese characters can be displayed without starting the Chinese character system. To generate such a loading program, use the generator for "Program to display Chinese characters without a Chinese character system" (http://www.cn-dos.net/forum/viewthread.php?tid=17591&fpage=1). The.EXE generated by VTHZMK does not need to be loaded with WRAPPER.SYS anymore; just use DEVICE=VTHZ.EXE. Moreover, VTHZMK can help you automatically generate the corresponding file.NEW using the new code page. The command is VTHZMK /t config.sys. The generated.NEW file should be renamed to CONFIG.SYS and copied to the root directory of the boot disk for use.

In fact, there are several posts in this section discussing the topic "How to display the Chinese character system boot menu in CONFIG.SYS?" Please refer to:
http://www.cn-dos.net/forum/viewthread.php?tid=6916&fpage=1
http://www.cn-dos.net/forum/viewthread.php?tid=17591&fpage=1
http://www.cn-dos.net/forum/viewthread.php?tid=17708&fpage=1
http://www.cn-dos.net/forum/viewthread.php?tid=17983&fpage=1
http://www.cn-dos.net/forum/viewthread.php?tid=7374&fpage=2
These posts are very rich in content and need to be read carefully.

I have studied different versions of BOOT.SYS, but I have been busy upgrading VTHZMK and haven't had time to extract it. I will share it with you later!
my major is english----my love is dos----my teacher is the buddha----my friends--how about U
Floor 100 Posted 2005-12-22 22:26 ·  中国 江苏 苏州 电信
银牌会员
★★★
Credits 2,227
Posts 790
Joined 2005-01-27 00:00
21-year member
UID 35703
Gender Male
Status Offline
Usage and Examples of BOOTCON:

1. Edit a CONFIG.SYS file. Suppose the content is as follows (note that the lowercase rem lines can be deleted; they are just for explaining the functions of each line):

rem This segment is the " before" block
DEVICE=HIMEM.SYS
DOS=HIGH,UMB
DEVICEHIGH=UMBPCI.SYS

rem Load Chinese character patterns
DEVICE=VTHZ.EXE
rem Enter the BOOTCON control range
DEVICE=BOOTCON.SYS

rem The first menu block, return A in the BOOTCON environment variable
rem The REM BC =



rem The above line is the block end flag

rem The second menu block, return B in the BOOTCON environment variable, and so on
REM BC =




rem This segment is the " after" block
LASTDRIVE=M

rem Below is the BOOTCON control end flag line
REM BC =

2. Generate the corresponding new code page file. The DOS command line is:
VTHZMK /t config.sys
This will generate the character pattern loading program CONFIG.EXE and the new code page text CONFIG.NEW. Please copy .NEW to the root directory of the boot disk and rename it to CONFIG.SYS for use.

  That's all about the content related to the Chinese startup menu. Other issues will not be啰嗦.

[ Last edited by 本是 on 2005-12-22 at 22:29 ]
my major is english----my love is dos----my teacher is the buddha----my friends--how about U
Floor 101 Posted 2005-12-23 08:34 ·  中国 广东 珠海 电信
中级用户
★★
Credits 493
Posts 161
Joined 2002-10-29 00:00
23-year member
UID 94
Gender Male
From ZHCN
Status Offline
CONFIG is in the VFD. Let's first add a virtual floppy drive to mention it for now.
Floor 102 Posted 2005-12-23 08:59 ·  中国 广西 玉林 电信
初级用户
★★
Credits 176
Posts 74
Joined 2005-11-07 16:51
20-year member
UID 44761
Status Offline
Busy with final exams recently, so I haven't been here for a while.

I read a few posts and have a suggestion: Could you place some important notices in the first post, like usage help, update content, download addresses, etc. Then just update the first post in the future. That way, next time everyone comes, they don't have to search around; just look at the first post and they'll know which version it is and what changes have been made in usage, etc. This would avoid a lot of unnecessary troubles. Otherwise, it's very tiring for you to explain and answer repeatedly.

Of course, this is just my habit as a visitor.

Finally, I wish this program of yours gets better and better.
Floor 103 Posted 2005-12-23 10:13 ·  中国 广东 珠海 电信
中级用户
★★
Credits 493
Posts 161
Joined 2002-10-29 00:00
23-year member
UID 94
Gender Male
From ZHCN
Status Offline
Yesterday when I went back, while checking and verifying files, the hard drive suddenly couldn't be found. After restarting, a 20G partition was all gone. I used RECOVER4ALL, Jiangmin Hard Drive Repair King and others but couldn't fix it (NTFS partition). The other partitions were all okay (it wasn't a hard drive problem, but I accidentally deleted the WPA registration item of XP. When I restarted, it froze for a moment, had a blue screen, and then when restarting again, this happened). It's a pity about those data (most were operating system images). Now I finally understand that some things you might never be able to use, so instead of keeping them, it's better to learn better things. For example here... Fortunately, there's an extra 20G space. By the way, I deleted all the things that might not be needed in the future. HOHO. It's a bit sad for a while, but then I feel completely relaxed... Still, learning is more valuable than keeping.
Floor 104 Posted 2005-12-23 11:18 ·  中国 江苏 苏州 电信
银牌会员
★★★
Credits 2,227
Posts 790
Joined 2005-01-27 00:00
21-year member
UID 35703
Gender Male
Status Offline
Originally posted by coolboy163 at 2005-12-23 08:59:
Busy with final exams, haven't been here for a while
Read a few posts, give a little suggestion:
Can you place some important notices in the first post, such as: usage help, update content, download address, etc., and then in the first ...


  First of all, thank you, coolboy163 (Cool Kid), for the suggestion. I know you are much more proficient in web development and utilization than I am. I will gradually test your proposal. Remember when I first came to this forum, my understanding of the internet was limited to sending emails and downloading software; I didn't know how to post or upload files. I really learned a lot here!
  In addition, I thought: If the first post can have the last post immediately following the first post, and then display the remaining posts in order, that should be a good idea!

Originally posted by LiveOnLove at 2005-12-23 10:13:
I went back yesterday, when checking and verifying the files, the hard drive suddenly couldn't be found. After restarting, a 20G partition was all gone. Using RECOVER4ALL, Jiangmin Hard Drive Repair King, etc., couldn't fix it (NTFS partition) its ...


  I feel very sympathetic to your plight!!! I have also suffered from N to the power of N computer disasters, from sudden power outages, lost files, lost partitions, to motherboard damage, hard drive damage,...... Fortunately, my wife didn't scold me, which is considered happiness! Only after taking many falls did I learn some experience. Now, except for hardware damage, I have lost hard drive partitions many times, and they are all quickly fixed. Suggestion: Do not store important personal data in the first partition except for the system!!! Also, I only use FAT32 and not NTFS (let it be unrestrained). The confidentiality is to the point where I can't do anything about it myself, and I don't need it!!!
my major is english----my love is dos----my teacher is the buddha----my friends--how about U
Floor 105 Posted 2005-12-23 11:48 ·  中国 广东 珠海 电信
中级用户
★★
Credits 493
Posts 161
Joined 2002-10-29 00:00
23-year member
UID 94
Gender Male
From ZHCN
Status Offline
Originally posted by Ben Shi at 2005-12-23 10:13 AM:
  I feel very sympathetic to your experience!!! I have also suffered countless computer disasters, from sudden power outages, lost files, lost partitions, to mainboard damage, hard drive damage,...... Fortunately, my wife didn't scold me, which is considered a blessing! Only after having many setbacks did I learn some experience. Now, besides hardware damage, I have lost hard drive partitions many times, and I have all fixed them quickly. Suggestion: Do not store important personal data in the first partition except for system storage!!! Also, I only use FAT32 not NTFS (let it be). I don't need confidentiality to the point where I can't do anything about it! ! !

I have divided a total of 5 partitions (all 80G is for storing data), and I have two hard drives connected. HOHO, the system hard drive has three partitions divided (the 30G system disk has no problem, but I deleted WPA DEL of the hard drive with the system, mainly because I wanted to test it. Oh my), after restarting the computer and getting a blue screen, I restarted it again and it was OK. Then when using that ISO disc verification program (SHA-1) to verify the last partition of the 80G, a problem occurred. Suddenly it said there was a data error, and then the hard drive couldn't be found in Windows. After restarting the computer (without unplugging the 80G IDE data cable and power cable), all partitions were found again, but only the last NTFS partition said the partition hadn't been formatted yet. I used those partition repair software (DISKGEN and Kingsoft's, both said MBR OK, of course it was OK, because it thought the partition hadn't been formatted) and don't even mention the data repair software. The partitions weren't formatted (in Windows, the unformatted partition was shown as 0 bytes. Oh my). How to recover the data. It seems I can't do it with what I have on hand. Forget it, don't think too much about it, just treat it as having 20G new space again. I have felt like I have learned a lot here these days.
You can know from my registration time that I used to come here often, I registered a long time ago, and then I didn't want to mess with DOS for a while, feeling it was very "simple", but now after coming back again, I feel it's not as I imagined. Whether it's DOS or WIN, there are still a lot of things we can learn...
‹ Prev 1 5 6 7 8 9 25 Next ›
Forum Jump: