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 11:20
中国DOS联盟论坛 » DOS汉化世界 & 中文系统 (中文化室) » Let non-Chinese character systems display Chinese characters! Version 5.20 New Edition DigestI View 81,446 Replies 373
Floor 46 Posted 2005-12-05 19:37 ·  中国 浙江 衢州 电信
银牌会员
★★★
Credits 1,270
Posts 548
Joined 2004-05-31 00:00
22-year member
UID 25754
Gender Male
Status Offline
Admirable dedication!
Floor 47 Posted 2005-12-05 23:03 ·  中国 江苏 苏州 电信
银牌会员
★★★
Credits 2,227
Posts 790
Joined 2005-01-27 00:00
21-year member
UID 35703
Gender Male
Status Offline
Welcome everyone to point out BUGs!

[ Last edited by Ben Shi on 2005-12-6 at 16:43 ]
my major is english----my love is dos----my teacher is the buddha----my friends--how about U
Floor 48 Posted 2005-12-06 10:07 ·  中国 山西 大同 中移铁通
元老会员
★★★★
Batchinger
Credits 4,432
Posts 1,512
Joined 2002-10-18 00:00
23-year member
UID 19
Gender Male
Status Offline
Re By Ben Shi:

This is indeed a version worthy of collection!

As for the BUG, another one was found. When using vthzmk /i, after entering Chinese characters and pressing Enter to confirm, only a carriage return is output, and there is no line feed, resulting in the correct replacement result or error message covering the original input prompt and content.

Another problem is not certain. After a correct replacement is completed, when using vthzmk /i and pressing Enter without entering Chinese characters, it may not display an error message, but display the result of the last correct replacement. This problem disappears after I restart.

The above results were all obtained by testing on a real machine restarted to pure DOS. In the virtual machine, it can normally generate all files, but as soon as it reaches the font replacement part, the screen has no display, and mode co80 can be used to restore.

In addition, why is it necessary to press Enter twice after the Q command in the debug modification method mentioned in the above text?

[ Last edited by willsort on 2005-12-6 at 15:41 ]
※ Batchinger 致 Bat Fans:请访问 批处理编程的异类 ,欢迎交流与共享批处理编程心得!
Floor 49 Posted 2005-12-06 16:54 ·  中国 江苏 苏州 电信
银牌会员
★★★
Credits 2,227
Posts 790
Joined 2005-01-27 00:00
21-year member
UID 35703
Gender Male
Status Offline
VTHZMK.COM Further Improvements--

1. Fix discovered BUGS;
2. Add generation of .SYS (for CONFIG.SYS to load Chinese character patterns!);
3. Add /9/8/0/3 commands: /9 sets seamed Chinese characters, /8 sets seamless Chinese characters, /0 resets video mode with original display mode, /3 sets video mode with VGA text mode 3. /9/8 do not clear character patterns, /0/3 clear and replace character patterns, restore original system character patterns.
4. Smartly recognize Chinese and English screen modes, help screen information always displays Chinese characters!

Welcome everyone to point out BUGS! ! !

[ Last edited by 本是 on 2005-12-7 at 01:54 ]
Attachments
vthzmk.GIF
VTHZMK.RAR (4.59 KiB, Credits to download 1 pts, Downloads: 98)
my major is english----my love is dos----my teacher is the buddha----my friends--how about U
Floor 50 Posted 2005-12-07 01:52 ·  中国 江苏 苏州 电信
银牌会员
★★★
Credits 2,227
Posts 790
Joined 2005-01-27 00:00
21-year member
UID 35703
Gender Male
Status Offline
BUGS:
  1. The "number of Chinese characters" in the help prompt should be "number of characters"
  2. The command line test of the /9/8/0/3 command is incorrect
Corrected and updated the download attachment on floor 49.

Welcome to test and report!!!

Also:
  The attachment on floor 49 is the generated.COM.SYS separate version, ;D Tomorrow will release the driver and execution integrated version that generates.EXE! - The楼主 who is cold and sleepy.

[ Last edited by 本是 on 2005-12-7 at 02:00 ]
my major is english----my love is dos----my teacher is the buddha----my friends--how about U
Floor 51 Posted 2005-12-07 15:41 ·  中国 江苏 苏州 电信
银牌会员
★★★
Credits 2,227
Posts 790
Joined 2005-01-27 00:00
21-year member
UID 35703
Gender Male
Status Offline
Originally posted by Benshi at 2005-12-7 01:52:Tomorrow, the driver and execution integrated version that generates .EXE will be released! ...

  The following is the version that generates the .EXE with both program execution and device driver dual functions (instead of generating, it is synthesizing .COM and .SYS)!!!
That is ==
The usage of xxx.EXE at the DOS command line is the same as xxx.COM --
  xxx]
The usage of xxx.EXE in CONFIG.SYS is the same as xxx.SYS --
  DEVICE=xxx.EXE]


Welcome to test! Welcome to test and return the results!
Attachments
VTHZMK.RAR (4.62 KiB, Credits to download 1 pts, Downloads: 105)
my major is english----my love is dos----my teacher is the buddha----my friends--how about U
Floor 52 Posted 2005-12-07 16:10 ·  中国 江苏 苏州 电信
银牌会员
★★★
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-6 10:07: Information coverage...

  Caused by no line breaks and returns added in the original program, which has been corrected.

Originally posted by willsort at 2005-12-6 10:07: May not display error messages...

  Is it a situation of font overlay? If the font is replaced multiple times without restoring it and the number of replaced characters is different, there will definitely be overlay, just like the persistence of vision of the human eye.
  Therefore, the new version adds the /9/8/0/3 commands.

Originally posted by willsort at 2005-12-6 10:07: The screen has no display...

  I didn't encounter this situation in VPC experiments. Environment = XP sp2 + VPC (MSDOS: UMBPCI.SYS)

[ Last edited by 本是 on 2005-12-7 at 16:12 ]
my major is english----my love is dos----my teacher is the buddha----my friends--how about U
Floor 53 Posted 2005-12-07 16:28 ·  中国 山西 临汾 中移铁通
元老会员
★★★★
Batchinger
Credits 4,432
Posts 1,512
Joined 2002-10-18 00:00
23-year member
UID 19
Gender Male
Status Offline
Re Ben Shi:

First of all, I would like to make an off-topic suggestion. I hope your program can reflect version changes in the version number. I have downloaded multiple versions of your programs one after another, and sometimes I get confused myself.

The new version of the program has not been fully tested, waiting for your notification that the program has completed all functions. Also, after the third version of vthzmk was released, after learning that it supports "help screen information always displays Chinese", I then guessed how the program handles the problem of displaying help after restoring the font. As a result, I naturally discovered the switch problem of /9 /8 /0 /3.

The fifth version of vthzmk seems very good. The test found that after using vthzmk /0 to restore the font, it no longer displays help, and once help is displayed, the font is modified again. This is of course not wrong, but I am worried that some novice users do not want to change some system configurations just by viewing the command line help, and then find problems in subsequent applications.

My idea on this is that it is best to separate the Chinese and English help information of the program, and control the display of Chinese through a separate switch parameter, and Chinese is best not the default choice. In this way, users can learn about the Chinese help switch through vthzmk, and obtain their own help information through the Chinese help switch. At the same time, the amount of information that can be displayed in one screen is also increased.

Finally, report a bug. The prompt of the /i switch of the program and some error message Chinese characters are still in the original encoding, resulting in unrecognizable half-characters being displayed in many cases. It is suggested to handle it together with the Chinese characters of the help information.

[ Last edited by willsort on 2005-12-7 at 16:32 ]
※ Batchinger 致 Bat Fans:请访问 批处理编程的异类 ,欢迎交流与共享批处理编程心得!
Floor 54 Posted 2005-12-09 16:52 ·  中国 广西 桂林 电信
初级用户
★★
Credits 176
Posts 74
Joined 2005-11-07 16:51
20-year member
UID 44761
Status Offline
It has been used, very good, but there is a little bit of not understanding:
I want to display the Chinese menu in CONFIG (like your example), but how to input the ASCII code of Chinese characters in config.sys?
I looked at the code of your example, which is garbled (is this the input ASCII code?)
Floor 55 Posted 2005-12-09 23:13 ·  中国 江苏 苏州 电信
银牌会员
★★★
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-9 16:52:
Used it, very good, but a little confused:
I want to display Chinese menu in CONFIG (like your example), but how to input the ASCII code of Chinese characters in config.sys?
I saw that the code in your example is garbled (this reflects...


That is generated by the VTHZMK program automatically replacing. For example, if you want to generate CONFIG.SYS that can see Chinese character shapes without starting a Chinese character system,
First, edit a CONFIG.SYS that uses ordinary Chinese character internal codes.
Then, VTHZMK /f CONFIG.SYS, you will get two new files CONFIG.EXE and CONFIG.NEW; CONFIG.EXE is the execution/driver program for loading font patterns. It can be run directly in DOS to display Chinese character shapes. In CONFIG.SYS, you need to use DEVICE=CONFIG.EXE to load it. CONFIG.NEW is the Chinese character file using the new internal code, which has a one-to-one correspondence with the content of the original CONFIG.SYS. In DOS, first run CONFIG.EXE, then you can use an editor to view the content of the CONFIG.SYS file. Backup the original CONFIG.SYS, then rename CONFIG.NEW to CONFIG.SYS.
Finally, restart and enter DOS guided by CONFIG.SYS using the new internal code, and during the startup process, you can see Chinese character information!
my major is english----my love is dos----my teacher is the buddha----my friends--how about U
Floor 56 Posted 2005-12-10 10:04 ·  中国 广西 桂林 电信
初级用户
★★
Credits 176
Posts 74
Joined 2005-11-07 16:51
20-year member
UID 44761
Status Offline
Finally understood, thanks to the great expert for the detailed explanation. (I was still checking how to input ASCII codes in Notepad last night...), I'm too stupid, heh heh, didn't understand the principle of VTHZMK at first, thought VTHZMK just generates the character pattern, and I had to input the corresponding Chinese character ASCII codes myself in CONFIG.SYS....... Now it's good, CONFIG.SYS has been generated accordingly, heh heh, amazing.
Floor 57 Posted 2005-12-10 11:27 ·  中国 广西 桂林 电信
初级用户
★★
Credits 176
Posts 74
Joined 2005-11-07 16:51
20-year member
UID 44761
Status Offline
The problem is solved. It turns out I didn't even have the most basic Chinese character dot matrix font... Sweat. I will learn more from you all in the future.

Running the command VTHZMK /f CONFIG.SYS under DOS prompts that there is an error opening HZK16, etc.

I carefully read the instructions again. "The default font is C:\HZK16" but there is no HZK16 file on my C drive. What should I do? Where can I download it?

My CONFIG.SYS configuration:
DEVICE=WRAPPER.SYS CONFIG.exe
DEVICE=BOOTCON.SYS
break=on

REM BC =








REM BC =








I changed the Chinese characters to English, and it said it couldn't find Chinese characters.

Does Chinese characters also come in several types? I was using Smart ABC to type them in.

[ Last edited by coolboy163 on 2005-12-10 at 17:54 ]
Floor 58 Posted 2005-12-10 22:27 ·  中国 广西 桂林 电信
初级用户
★★
Credits 176
Posts 74
Joined 2005-11-07 16:51
20-year member
UID 44761
Status Offline
There are new problems again. Now I can run VTHZMK /F CONFIG.SYS, and corresponding programs config.exe and config.new are generated. But when I change CONFIG.NEW to CONFIG.SYS and put it and the generated CONFIG.EXE into the image, the menu is garbled! (The English parts are normal!)
Under DOS, I first run CONFIG.EXE, then TYPE CONFIG.SYS, and it also shows garbled!
I've tried several times, I don't know what the problem is!

Production process:
My ZHK16 font library was downloaded from the Internet. I edited CONFIG.SYS under WINDOWS (there are some Chinese characters in it, a total of 24 Chinese characters), then ran VTHZMK /F CONFIG.SYS under DOS to generate 4 files. It should be quite normal.
WHY?
Hope the expert can help solve it!
Floor 59 Posted 2005-12-11 00:21 ·  中国 江苏 苏州 电信
银牌会员
★★★
Credits 2,227
Posts 790
Joined 2005-01-27 00:00
21-year member
UID 35703
Gender Male
Status Offline
1. The *.EXE generated by VTHZMK can be directly loaded in CONFIG, using DEVICE=CONFIG.EXE to load! Not using WRAPPER anymore.
2. When entering Chinese characters, use GB code, not GBK, BIG5 or other internal codes.
3. The new internal code is automatically generated by VTHZMK, but do not edit and save in the WINDOWS editor, which will cause problems.
4. The path of HZK16 is first the current directory, and then C:\.
5. If there are still problems, please pack your relevant files (including the Chinese character library) and upload them, and I will take a look for you.

[ Last edited by 本是 on 2005-12-11 at 00:23 ]
my major is english----my love is dos----my teacher is the buddha----my friends--how about U
Floor 60 Posted 2005-12-11 11:08 ·  中国 山西 临汾 联通
初级用户
Credits 176
Posts 16
Joined 2004-10-02 00:00
21-year member
UID 32054
Gender Male
Status Offline
What a master! I don't understand, but this thing is really useful. And it's much better than BT.
Forum Jump: