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 16:08
中国DOS联盟论坛 » DOS汉化世界 & 中文系统 (中文化室) » Let non-Chinese character systems display Chinese characters! VtMagiK.COM version 6.30 (supports BCDW) View 17,726 Replies 59
Original Poster Posted 2008-10-20 16:50 ·  中国 江苏 苏州 电信
银牌会员
★★★
Credits 2,227
Posts 790
Joined 2005-01-27 00:00
21-year member
UID 35703
Gender Male
Status Offline
Display Chinese Characters in Non-Chinese Systems!
Latest Version - VtMagiK.COM Version 6.30
- Added the abbreviation K.COM, supported BCDW Chinese submenus, modified help information, and added additional prompts
The post is on floor 19 http://www.cn-dos.net/forum/viewthread.php?tid=43866&fpage=1&highlight=&page=2,
Download http://www.cn-dos.net/forum/attachment.php?aid=4409&checkid=bcc09&download=1.


How can I make the menu in CONFIG.SYS display Chinese?
http://www.cn-dos.net/forum/viewthread.php?tid=23720&fpage=1

:
If you use the MSDOS series of DOS, it is impossible to display Chinese menus with MS's in CONFIG.SYS!

:
1. Edit your CONFIG.SYS .
2. vtmagic /t config.sys
3. ren config.sys *.old
ren config.new *.sys
4. Copy config.sys and config.exe to the root directory of your boot disk.
5. Restart, and the Chinese menu should be successful!

:
Thanks to the guidance of Ben Shi, I succeeded in running it in pure DOS, hehe! Thanks again!




Display Chinese Characters in Non-Chinese Systems! K.COM Version 6.30 (Restore Original + Support BCDW)

【New Terms】
Mother of Mode Loading: "Mode Loading" generation software
Mode Loading: VGA character pattern CG heavy loading
CG: Character generator
Device: Memory
New Code: ASCII single-byte code, range: 00~FF, total 256 ASCII code positions, theoretically equal to 128 Chinese character code positions, but to ensure normal English display, mode loading limits the use of 128 extended ASCII codes 80H--0FFH (64 Chinese characters)
Old Code: GBK double-byte code, range: 8140~FEFE (excluding xx7F), total 23940 code positions


【Brief Introduction】
Mother of Mode Loading K.COM (full name VtMagiK.COM) is a Chinese character pattern extraction and loading program, so as to display replaceable character sets in the text state of the VGA screen, and realize the display of specific glyphs (such as Chinese characters) by loading user-defined character patterns. It is the most mature member of the VT family, with rich error and help information, and comprehensive functions. As long as there is a Chinese character library such as GBK16 or HZK16, it can display Chinese characters without a Chinese character system; as long as there is a mode loading program, you can even be independent of the Chinese character library - because the library has been reduced and stored in the mode loading!

The dot matrix character set of EGA/VGA is stored in bit plane 2 (that is, display RAM) of the display card. Users can modify the dot matrix character set information through the interface provided by EGA/VGA to load (without changing the display information on the current screen) and use the font they like. Then, the new glyphs can be displayed in the text video mode. This is the "display Chinese characters in non-Chinese systems" technology, which is as fast as English and does not consume memory. It can be used to replace the Chinese character system under the DOS prompt to realize Chinese character glyph display, and even be used in CONFIG.SYS to help the DOS system realize the display of Chinese in the startup menu.

This can be said to be a very efficient technology, but the program that generates "the program for displaying Chinese characters in non-Chinese systems" is generally dependent on BT32.EXE, but it is large in size and troublesome to use - you need to input extended ASCII code characters according to the ASCII code table by yourself. Therefore, I made a small-sized (about 7.5K in the new version) generator K.COM, which can:

1. Automatically generate the font loading program.EXE (for command line/startup configuration CONFIG.SYS!)
2. Automatically generate the new code text.NEW (no longer need to input manually like BT32.EXE!)
Even:
3. Restore the original text.OLD (only if there are.NEW and.EXE files!)

Currently, to ensure normal English display, K.com is limited to replacing extended ASCII code characters, and at most 64 different Chinese characters can be displayed on the same screen; but the number of times of replacing character patterns is unlimited, that is, to display different contents, as long as different font patterns are loaded, 64 are limited on the same screen, but the total number is unlimited!

And this program can not only achieve "display Chinese characters in non-Chinese systems", but also make the Chinese characters display exactly the same as the Chinese characters displayed after starting the Chinese character system (that is, seamless - no intermediate breaks)! The new version can also automatically generate the new code file corresponding to the original string or text file, so you no longer need to input manually as troublesome as using BT32.EXE! Because BT32 is too large and troublesome to use, so I thought of rewriting the code in assembly, taking the character pattern from the Chinese character library instead of the screen, to realize the purpose of being independent of the Chinese character system and using multiple fonts, and under the suggestion of version master willsort, automatic replacement is realized.

More conveniently, you can also display related glyphs directly with Chinese characters on the command line of K, as long as there is a Chinese character library, you can display Chinese characters without a Chinese character system. Moreover, as long as K.COM and the character library are in the same directory, they can be called across directories in other directories!

The new version has supported simplified Chinese GBK code, which is convenient for inputting and editing text in WINDOWS - this is the old code, but the.NEW file of the new code can never be edited in the Windows environment! Because the Chinese WINDOWS system adopts double-byte encoding, it will regard the single-byte new code as garbled code and reconfigure it, resulting in the result that the system thinks it is normal but the user cannot interpret it.

Because the mode loading program.EXE file already contains the non-repeating Chinese character list, as long as there is the new code text.NEW generated from the same file and the.EXE containing the non-repeating Chinese character list of the old code, the old code text (that is, the original text) can be restored, which is the most intimate function in the VT series software!

Supported the support for the Chinese submenu of the BCDW's ChineseN.INI file, generated special.FNT and.NEW. Up to 32 Chinese characters can be replaced at a time. By giving different submenus, many Chinese characters can be used.


【Friendly Reminder】
The setting of seamless and seamless Chinese characters may cause errors such as "insufficient frequency width" or "refresh frequency over limit" on some LCD monitors, forming compatibility problems, so it is not recommended to use it in public boot disks. Use the -M0 parameter to cancel the seam setting for public boot disks.

The MS-DOS system menu cannot display Chinese menu items before selection! Therefore, please use third-party tools such as ConMenu.SYS or ConfigP.mnu or BOOT.SYS or BOOTCON.SYS, etc.

If the.EXE file generated by VtMagiK or VtMagiC is no longer modified, it is best to use VtSlim to compress the execution core, and use DIET -B xxxx.exe (for CONFIG.SYS) or UPX -9 xxxx.exe (used under DOS command line or pure DOS) to compress, so as to further reduce the volume.



【Version History】

0.00 05.12.01 VTF software package (MKHZ/NEWHZ/VTHZMK.COM), generates mode loading.com
1.00 05.12.07 Single-file integrated version VTHZMK.COM, generates mode loading.exe (used for both execution and driver),
Added commands 9/8/0/3 to set seamless Chinese characters, seamless Chinese characters, original video mode reset,
Video mode 3 reset, intelligent recognition of Chinese and English screen modes to display Chinese information
2.0a 05.12.16 VTHZMK.COM,-m/i/s/c/y seam mode/prompt language/start code/new code order
/字库风格; /f/i/s generates mode loading from file/input/command line text,
/y wait for key press,/r restore font pattern or video mode,/h select language to display help
2.0b-d 05.12.20 Detect Chinese display environment to automatically select Chinese and English prompt information, omit -i and/h, enrich
Help information, /? Write error and help information into the file, /+ merge multiple.EXE files
2.0e-f 06.01.05 VTHZMK.com renamed VTmagic.com only she can't cure, corrected bugs, in addition to the ones I found:
Corrected the error of command line detection. and- (thank you version master willsort for testing and pointing out),
Can't detect characters such as / at 81h position (thank you fdsiuha netizen for testing and pointing out),
/r8 command with or without 0 has wrong effect (thank you LiveOnLove testing netizen for pointing out);
/r command with 0 retains screen information, otherwise clears the screen (has continuous impact on DOS's CLS command)
3.0a-b 06.01.20 Character pattern word expansion command /^H horizontal H expansion Z vertical Z expansion K vertical K horizontal K expansion, display information can specify language:
Chinese/English/automatic language judgment
5.01 06.01.27 Optimized font loading core
5.10 06.10.20 -M0 is used to cancel 8/9 point setting on LCD LCD (to avoid error of insufficient frequency width)
/R0 restore default system font pattern (do not change screen width or screen content)
5.20 07.10.20 As long as VTmagic.com and hzk16 are in the same directory, they can be called in any directory,
Convenient for diskless startup, tool soft/light/USB disk, -Y space restore default HZK16 font library
6.00 08.10.20 GBK version, renamed VtMagiK.com, supported GBK Chinese, convenient for editing in WINDOWS operating system
Original text (.NEW no!); supported GBK16x series font library names, GBK16x, HZK16x coexist
When, GBK series takes precedence; if there is no GBK16 font library in the software directory, if there are GBK extended Chinese characters in the original text, then.NEW is normal, and the relevant font patterns in.EXE are cleared (display blank).
The original merge command is changed to M or m; the original expansion command is changed to K or k;
Corrected the display error of expanding characters with new code.
6.10 08.10.26 Supports Chinese character DOS screen font pattern extraction when there is no GBK16 and HZK16 in the software directory,
Modified help information and error information related to GBK and pixel to font pattern,
Added mention of relevant software and developer net names: YAYA of China DOS Union forum and
CONMENU.SYS/CONFIGP.MNU, Nongchao'er of Wuyou Boot Forum and VTEDIT
6.20 08.11.25 The Chinese name of VtMagiK.com is changed to Mother of Mode Loading - to be worthy of the name;
For the first time, the version history of VtMagiK.com was written;
Added /B command, restore old code text to file from.NEW and.EXE files (to screen when wrong); modified help information; added error information; canceled case distinction of P/I/T commands,
Changed /P/I/T to display command, /PP/II/TT to generate command, to reduce case switching during input.
6.30 08.11.27 Added the abbreviation K.com for VtMagiK.com to facilitate users to reduce typing burden during testing and use. Added /W command to realize support for BCDW's ChineseN.INI file Chinese menu,
Generate.NEW special.FNT and.NEW; correct the detection error of the starting replacement code setting for -C1; add prompt when the number of non-repeating Chinese characters exceeds the limit, make it more intuitive; modify and add help information in many places; add additional prompt for /? command,
Facilitate users to face special situations.

【Related Links】
Display Chinese Characters in Non-Chinese Systems! Mode Loading Workshop V.com Version 2.01
http://www.cn-dos.net/forum/viewthread.php?tid=44248&fpage=1
Display Chinese Characters in Non-Chinese Systems! K.COM Version 6.30 (Restore Original + Support BCDW)
http://www.cn-dos.net/forum/viewthread.php?tid=43866&fpage=1
1. New version VtMagiK.com V6.00 GBK version (VtGbk.com is also updated to version 3.00, the command line parameter format is rewritten, please check the help information), download http://www.cn-dos.net/forum/attachment.php?aid=4302&checkid=0b6b2&download=1.
2. New version 6.10 - supports Chinese character DOS screen font pattern extraction, the post is on floor 9, download http://www.cn-dos.net/forum/attachment.php?aid=4320&checkid=9d634&download=1.
3. New version 6.20 - intimate support for restoring original text from.NEW and.EXE files, the post is on floor 18, download http://www.cn-dos.net/forum/attachment.php?aid=4402&checkid=24a29&download=1.
4. Latest version 6.30 - added abbreviation K.COM, supported BCDW Chinese submenus, the post is on floor 19, download http://www.cn-dos.net/forum/attachment.php?aid=4409&checkid=bcc09&download=1.
Display Chinese Characters in Non-Chinese Systems! Version 5.20 New Version
http://www.cn-dos.net/forum/viewthread.php?tid=17591&fpage=2

【Related Tools】
ConMenu.sys: http://www.cn-dos.net/forum/attachment.php?aid=998&checkid=48584&download=1
ConfigP.mnu: http://www.cn-dos.net/forum/attachment.php?aid=1158&checkid=635f9&download=1

【Related Font Libraries】
HZK16 and GBK16 of different font styles generated under WINDOWS:
http://www.cn-dos.net/forum/viewthread.php?tid=18934&fpage=1
Song, Fang, Hei, Kai, You Yuan: http://www.cn-dos.net/forum/attachment.php?aid=895&checkid=42848&download=1
Thick, Thin,繁, Li: http://www.cn-dos.net/forum/attachment.php?aid=896&checkid=b5b6b&download=1 (X type XZL, L Li effect is poor; CXV is the original match of DOS Chinese character system)
GBK16SFHK.PART01.RAR: http://www.cn-dos.net/forum/attachment.php?aid=3283&checkid=1ded7&download=1
GBK16SFHK.PART02.RAR: http://www.cn-dos.net/forum/attachment.php?aid=3284&checkid=1ded7&download=1
GBK16SFHK.PART03.RAR: http://www.cn-dos.net/forum/attachment.php?aid=3285&checkid=1ded7&download=1
GBK16SFHK.PART04.RAR: http://www.cn-dos.net/forum/attachment.php?aid=3286&checkid=1ded7&download=1
GBK16SFHK.PART05.RAR: http://www.cn-dos.net/forum/attachment.php?aid=3287&checkid=1ded7&download=1




Please use vtCVT.com for compatibility (download http://www.cn-dos.net/forum/attachment.php?aid=4308&checkid=f69e5&download=1), the post content is on floor 8.

Question: If I use VtEdit to make a Chinese menu, do I still need to use hzk16 to hang the font?


Answer: VT New Code Editor VtEdit.exe for Win98/ME/NT/2000/XP (the post is seen http://bbs.wuyou.com/viewthread.php?tid=100870&extra=page%3D1) is a program written by Nongchao'er of Wuyou Boot, a software for editing new code text and generating related files under the window operating system, written in VB. The generated loading program is the core of VtMagic.com version 5.20, but due to a redundant byte causing the font pattern data to be misaligned, a pixel line is missing at the top of the displayed glyph, resulting in VtSlim.com not being able to compress its loading core to make the volume smaller. And VtMagic.com has many functions and is powerful, for details, please check the help information!!! VtEdit can be used conveniently under the window environment, can generate GBK16 Chinese character library (of course, other programs also have this function), can generate BCDW's font library. It is impossible to replace VtMagic, and the two can make use of their own advantages and be used together!
For detailed differences, please read http://www.cn-dos.net/forum/viewthread.php?tid=18934&page=12&fpage=1 (floor 172)

[ Last edited by 本是 on 2008-12-5 at 10:23 ]
Recent Ratings for This Post ( 2 in total) Click for details
RaterScoreTime
wangjf +4 2008-10-21 12:24
xiaoyunwang +4 2008-10-21 15:11
Attachments
VT系列软件包.rar (19.85 KiB, Credits to download 1 pts, Downloads: 295)
my major is english----my love is dos----my teacher is the buddha----my friends--how about U
Floor 2 Posted 2008-10-20 18:09 ·  中国 广东 中山 电信
高级用户
★★★
Credits 940
Posts 374
Joined 2007-10-17 21:51
18-year member
UID 100011
Gender Male
From 湖南张家界
Status Offline
Floor 3 Posted 2008-10-21 11:49 ·  中国 湖北 武汉 电信
初级用户
Credits 47
Posts 23
Joined 2007-08-16 10:19
18-year member
UID 95229
Gender Male
Status Offline
The master has a new version. Come and have a try, thank you.
人生在世最大的难题,就是不胡说八道而活着。
Floor 4 Posted 2008-10-21 12:24 ·  中国 河北 张家口 联通
中级用户
★★
Credits 254
Posts 63
Joined 2003-04-08 00:00
23-year member
UID 1430
Gender Male
Status Offline
Floor 5 Posted 2008-10-21 14:07 ·  中国 广东 揭阳 电信
高级用户
★★
Credits 774
Posts 293
Joined 2003-04-16 00:00
23-year member
UID 1579
Gender Male
From 湖北仙桃
Status Offline
If the thread starter can make a full - function version similar to vtedit, it would be very convenient to use.
下载
09年7月7日 更新
感谢网友 囧HQY 提供空间
Floor 6 Posted 2008-10-21 14:57 ·  中国 广东 中山 电信
高级用户
★★★
Credits 940
Posts 374
Joined 2007-10-17 21:51
18-year member
UID 100011
Gender Male
From 湖南张家界
Status Offline
I feel a sense of being cheated when using Vtedit
Floor 7 Posted 2008-10-21 15:26 ·  中国 江苏 苏州 电信
银牌会员
★★★
Credits 2,227
Posts 790
Joined 2005-01-27 00:00
21-year member
UID 35703
Gender Male
Status Offline
Originally posted by xiaoyunwang at 2008-10-21 14:57:
I feel a sense of being cheated when using Vtedit


To be fair, , for a novice who almost knows nothing about DOS environment and command line operations, the XP new code editor vtEdit is more convenient than vtMagi? It also doesn't need to consider details such as GBK16 and HZK16 Chinese character libraries, and related file name transformations, and even doesn't need to enter the DOS environment.
For users familiar with DOS command line operations, they will definitely not like the software version under the window. First of all, they are large in size, not easy to carry, and have various restrictions on the operating system environment. Even if I use XP, I often work and solve problems in the DOS mode of COMMAND.COM or even in the pure DOS of VPC.
my major is english----my love is dos----my teacher is the buddha----my friends--how about U
Floor 8 Posted 2008-10-21 22:08 ·  中国 江苏 苏州 电信
银牌会员
★★★
Credits 2,227
Posts 790
Joined 2005-01-27 00:00
21-year member
UID 35703
Gender Male
Status Offline
 There are the following problems when loading the font pattern generated by VtEdit into the core:
A byte with a value of 00 is added at the absolute address 1D0h of the file, and the starting address of the font pattern data in its loading program line is actually the same as that of the vtMagi? series! Therefore, there is a defect of a blank first pixel row in the displayed glyph.

This also causes incompatibility between such test.exe and vtMagi? and vtSlim, that is, the file cannot be merged with vtMagi? and the font pattern loading core of.EXE cannot be compressed with vtSlim. To solve this problem, I developed a small program to remove the redundant bytes.

vtCvt.com v1.00 Font Pattern Loading Core.EXE Converter
To facilitate the environment switching between vtMagi?/vtSlim and vtEdit
(C) 2008.10 Design: Born2be/Luo MingAn (Ben Shi/Luo MingAn)

Usage:

vtCvt test.exe
Make corresponding arrangements and regenerate according to whether the.EXE file comes from VtEdit

(Note: The attached file is the TEST.EXE file generated by VtEdit, and the feature is that the file size is a single value!
TEST.SYS is a.NEW - type new code page text)

[ Last edited by 本是 on 2008-10-22 at 01:16 ]
Attachments
VTCVT.RAR (1.41 KiB, Credits to download 1 pts, Downloads: 145)
my major is english----my love is dos----my teacher is the buddha----my friends--how about U
Floor 9 Posted 2008-10-26 20:04 ·  中国 江苏 苏州 电信
银牌会员
★★★
Credits 2,227
Posts 790
Joined 2005-01-27 00:00
21-year member
UID 35703
Gender Male
Status Offline
VtMagiK.com v6.10 supports directly obtaining glyphs from the Chinese character DOS screen without a Chinese character font library

1. VtMagiK.com can read the pixel points of Chinese character shapes from the screen of a direct-write Chinese character system and convert them into glyph data without GBK16/HZK16 (but executing the.EXE that loads Chinese character glyphs under the Chinese DOS screen is ineffective; you must press the Ctrl+F7 and other key combinations to switch to the English DOS screen and then execute)
>> That is: Generate the.EXE for reading points under the Chinese DOS screen, execute the.EXE under the English DOS screen, and vice versa is not possible!
2. Modify the help information and error messages related to GBK and pixel-to-glyph conversion
3. Add mentions of related software and developer nicknames: YAYA of the China DOS Union, Nong Chao Er of Wuyou Boot, VTEDIT
Attachments
VTMAGIK.RAR (6.31 KiB, Credits to download 1 pts, Downloads: 85)
my major is english----my love is dos----my teacher is the buddha----my friends--how about U
Floor 10 Posted 2008-10-26 20:21 ·  中国 山东 烟台 电信
新手上路
Credits 6
Posts 2
Joined 2008-10-26 19:41
17-year member
UID 129176
Gender Male
Status Offline
I've been troubled by this all the time. Today I finally found the group, thank you.
Floor 11 Posted 2008-10-26 23:13 ·  中国 江苏 苏州 电信
银牌会员
★★★
Credits 2,227
Posts 790
Joined 2005-01-27 00:00
21-year member
UID 35703
Gender Male
Status Offline
Under the full-screen DOS window of XP,
Successfully tested Chinese character systems: CCDOS97, YAYA streamlined ACIOS5.02 version, UCDOS98/7.0, Tianhui Pocket 3.2 version (234404 bytes), UCTG four-in-one UCDOS6.0/ACIOS4.0
Failed tested Chinese character systems: Pocket Dragon, UCTG four-in-one TWay3.0/GHos1.0

For the situations in other Chinese character systems, other Windows versions, and pure DOS (VPC, VFLOPPY, hard disk) environments, please everyone help test!
my major is english----my love is dos----my teacher is the buddha----my friends--how about U
Floor 12 Posted 2008-10-26 23:39 ·  中国 福建 福州 中移铁通
新手上路
Credits 2
Posts 1
Joined 2008-10-26 23:15
17-year member
UID 129189
Gender Male
Status Offline
Only today did I realize that DOS already has such a thorough solution for displaying Chinese characters. I really admire the楼主 very much!
I'm going to spend a few days learning it carefully.

Also, I want to know if this tool can be used under syslinux/pxelinux?
Floor 13 Posted 2008-11-01 15:27 ·  中国 上海 浦东新区 电信
初级用户
Credits 83
Posts 38
Joined 2007-01-17 04:38
19-year member
UID 76759
Gender Male
Status Offline
THANKS FOR YOUR SHARING
Floor 14 Posted 2008-11-02 00:02 ·  中国 福建 厦门 电信
新手上路
Credits 10
Posts 4
Joined 2007-11-09 19:41
18-year member
UID 102173
Gender Male
Status Offline
Floor 15 Posted 2008-11-06 00:01 ·  中国 广东 湛江 电信
新手上路
Credits 10
Posts 5
Joined 2007-09-19 08:14
18-year member
UID 97753
Gender Male
Status Offline
How to use it, give a tutorial ah, the trendy people's is simple. Your this is always incomplete, give a step ah!!
Forum Jump: