Originally posted by zihan at 2006-12-26 04:10:
『楼 主』: 请教 本是 VTMagic 的一些问题,望指教
1\生成的EXE文件在CONFIG中调用时是否支持路径如:DEVICE=a:\sys\CONFIG.EXE
这是处理CONFIG.SYS的io.sys本身就有的功能。
Originally posted by zihan at 2006-12-26 04:10:
2\同屏显示最多64个汉字,那CONFIG中总汉字数量超过,如有100个不重复的汉字,但CONFIG的主菜单(就是启动后的第一屏幕显示的菜单)没有超过64个,......
应该这样说:运行xxxx.exe装入字模后,替换了内码为80h到0FFh之间的ASCII码的西文字模为汉字字模数据,在用户层面上看到的只是字形的改变。0FF-80h=80h=128=64*2,这就是64个汉字的来由。所以最好讲:一次替换后最多可以显示64个汉字----同屏或多屏。
知道了原理,再说.exe的作用。1)它只是载入替换汉字字模,叫什么名字都行。只要DOS允许就行。甚至1.exe、2.exe、a.exe、z.exe、`.exe......。2)要改变字形,只要改变也就是载入一个新的.exe文件就可以了。这其中还有细节,看你问得到问不到。
Originally posted by zihan at 2006-12-26 04:10:
3\有的汉字生成出了看不见的字符,我将一些汉字存在ABC文本文件中生成了ABC.NEW文件,NEW文件中出现了这样的字形:“飕憝町锆鸢癖虿蟪舸醯龆鞣 ”
对!原来就是这样。.exe载入新字模前它们只是ASCII字符,不作汉字理解。载入.exe后显示的字形,只是那些ASCII字符的新字模,又不能作ASCII字符看。
Originally posted by zihan at 2006-12-26 04:10:
4\有时候我感觉好像某些特殊的汉字夹杂在其中时会出现生成了.EXE文件但NEW文件为0字节的情况(无重复汉字也不超过64个)
1)原来的文本文件中汉字数量不能太多,不要超过64个不同汉字。
2)不要在WINDOWS中输入汉字,除非能保证不输入GBK超出GB码的汉字。细节请允许略去不谈。
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.