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-25 03:40
中国DOS联盟论坛 » DOS汉化世界 & 中文系统 (中文化室) » Ask about some issues of VTMagic, hope for your advice View 1,556 Replies 3
Original Poster Posted 2006-12-26 04:10 ·  中国 四川 成都 电信
初级用户
Credits 66
Posts 24
Joined 2006-12-14 01:18
19-year member
UID 73443
Gender Male
Status Offline
1\ Does the generated EXE file support paths like DEVICE=a:\sys\CONFIG.EXE when called in CONFIG?

2\ The maximum number of Chinese characters displayed on the same screen is 64. Then, if the total number of Chinese characters in CONFIG exceeds, for example, 100 non - repeating Chinese characters, but the main menu of CONFIG (that is, the first screen menu after startup) does not exceed 64, and the remaining Chinese characters are in different sub - menus (that is, the subordinate menus entered after selecting the main menu). Is this the same screen? How should such a CONFIG be made with VTMagic?
My idea: Make CONFIG1.EXE\CONFIG1.NEW and CONFIG2.EXE\CONFIG2.NEW in two batches for these 100 Chinese characters, then copy the corresponding character shapes in 1.NEW and 2.NEW to CONFIG.SYS, and then call the EXE files in CONFIG.SYS. But there are two CONFIG.EXE files. Should I call them simultaneously or what should I do?

3\ Some Chinese characters generate invisible characters. I stored some Chinese characters in an ABC text file and generated an ABC.NEW file. In the NEW file, such character shapes appear: "飕憝町锆鸢癖虿蟪舸醯龆鞣 "

4\ Sometimes I feel that when some special Chinese characters are mixed in, there will be a situation where the.EXE file is generated but the NEW file is 0 bytes (no repeated Chinese characters and not exceeding 64).
Floor 2 Posted 2006-12-26 06:40 ·  中国 江苏 苏州 电信
银牌会员
★★★
Credits 2,227
Posts 790
Joined 2005-01-27 00:00
21-year member
UID 35703
Gender Male
Status Offline
Originally posted by zihan at 2006-12-26 04:10:
The "L楼 主" asks for some questions about VTMagic, hoping for advice

1\ When calling the generated EXE file in CONFIG, does it support paths such as: DEVICE=a:\sys\CONFIG.EXE


This is a function inherent in io.sys that handles CONFIG.SYS.


Originally posted by zihan at 2006-12-26 04:10:
2\ The maximum number of Chinese characters displayed on the same screen is 64. Then if the total number of Chinese characters in CONFIG exceeds, for example, there are 100 non - repeating Chinese characters, but the main menu of CONFIG (the first screen display menu after startup) does not exceed 64,......


It should be said like this: After running xxxx.exe to load the font pattern, the Western font pattern with the internal code between 80h and 0FFh is replaced with Chinese character font pattern data. What is seen at the user level is just the change of the shape. 0FF - 80h = 80h = 128 = 64 * 2, which is the origin of 64 Chinese characters. So it is better to say: After one replacement, a maximum of 64 Chinese characters can be displayed ---- on the same screen or multiple screens.

Knowing the principle, let's talk about the function of.exe. 1) It just loads and replaces the Chinese character font pattern, and it can be called any name. As long as DOS allows it. Even 1.exe, 2.exe, a.exe, z.exe, `.exe......。2) To change the shape, just load a new.exe file. There are still details in this, depending on whether you can ask or not.


Originally posted by zihan at 2006-12-26 04:10:
3\ Some Chinese characters generate invisible characters. I stored some Chinese characters in the ABC text file and generated the ABC.NEW file. In the NEW file, such shapes appear: "飕憝町锆鸢癖虿蟪舸醯龆鞣 "


Right! Originally, they were just ASCII characters before the.exe loaded the new font pattern, and were not understood as Chinese characters. After loading.exe, the shapes displayed are just the new font patterns of those ASCII characters, and they cannot be seen as ASCII characters.


Originally posted by zihan at 2006-12-26 04:10:
4\ Sometimes I feel that when some special Chinese characters are mixed in, there will be a situation where the.EXE file is generated but the NEW file is 0 bytes (no repeating Chinese characters and not exceeding 64)


1) The number of Chinese characters in the original text file should not be too many, do not exceed 64 different Chinese characters.
2) Do not input Chinese characters in WINDOWS, unless it can be guaranteed that GBK characters exceeding GB code are not input. Details please allow to be omitted.
my major is english----my love is dos----my teacher is the buddha----my friends--how about U
Floor 3 Posted 2006-12-28 00:16 ·  中国 四川 成都 电信
初级用户
Credits 66
Posts 24
Joined 2006-12-14 01:18
19-year member
UID 73443
Gender Male
Status Offline
Thank you for your answer.

Your answer is concise and clear, which shows your competence.

The third question on the top floor, I meant that it generated the following string of "spaces". But this problem is not important anymore, it should be a BGK code issue, and it has been solved!

I made the KaiTi Chinese startup interface last night, thank you again for providing such a good tool
Floor 4 Posted 2006-12-28 02:36 ·  中国 江苏 苏州 电信
银牌会员
★★★
Credits 2,227
Posts 790
Joined 2005-01-27 00:00
21-year member
UID 35703
Gender Male
Status Offline
Originally posted by zihan at 2006-12-28 00:16:
The third question on the top floor generated the following string of "spaces"...


Thanks for the compliment!
This space is a GB code Chinese character, but the HZK16's 88--94 areas generally have no Chinese character font data. If you create your own characters, you can store them here. I have published a general character creation software in this section, you can give it a try.
my major is english----my love is dos----my teacher is the buddha----my friends--how about U
Forum Jump: