![]() |
China DOS Union-- Unite DOS · Advance DOS · Grow DOS --Union site: www.cn-dos.net Forum site: www.cn-dos.net/forum |
| Guest | Log in | Register | Members | Search | China DOS Union |
|
中国DOS联盟论坛 The time now is 2026-09-20 20:26 |
47,812 topics / 349,917 posts / today 0 new / 48,270 members |
| DOS汉化世界 & 中文系统 (中文化室) » VTGBK v2.00--GBK code & 110 characters (+FNT.COM=220 characters) |
| Printable Version 13,722 / 48 |
| Floor16 本是 | Posted 2007-04-17 01:38 |
| 银牌会员 Posts 790 Credits 2,227 | |
|
RE download:
It should work. Because of the hardware restrictions on dynamic loading of character fonts, usually from the starting loaded character code (preferably 0), the number loaded at one time (preferably 256 full sets), and the setting of character 8/9 dot width (preferably not set, directly use the system default value, but it's a pity that there are gaps between Chinese characters). In order to better compatibility, so this time the loading core adopts the setting of maximum compatibility. In addition, in order to reduce the loading core, the non - repeated Chinese character list, the new code list, and other unused data are also omitted, not to make it difficult for VTEDIT. It can completely open the original text file, edit it, and then save it as.TXT,.NEW,.EXE, because there will be changes after loading the core.EXE. VTGBK will soon have a command - line version with parameters, and at the same time, a small software package supporting the display of double character sets on the same screen will be released. In a few days! |
|
| Floor17 download | Posted 2007-04-17 03:36 |
| 初级用户 Posts 101 Credits 199 | |
|
I took a look. Because: 110 < 256/2, so there's not much change. I'll have to wait until you support 128+64 before I upgrade VTEDIT.
|
|
| Floor18 本是 | Posted 2007-04-17 04:55 |
| 银牌会员 Posts 790 Credits 2,227 | |
Originally posted by download at 2007-4-17 03:36: I have tested 256/2. For programming use, it's okay, but as a universal character font, calling control codes <= ' ' (especially 0Dh, 0Ah, 07, 08, 03) is very inconvenient for ECHO and string display of other programs. Even ' ' and "\" are also not considered because they usually have functional definitions in the command line, so I decided to support 110 Chinese characters. It's not because it can't be done, but because it shouldn't be done. It's helpless: the VTF80.COM I did earlier (available on this forum, very awkward, not easy to use ECHO directly under DOS) can also be said to be a preliminary test product. Moreover, the double character set software package I'm developing already supports 110+110 Chinese characters on the same screen! It will be available for everyone to test in a few days. [ Last edited by 本是 on 2007-4-17 at 04:59 AM ] |
|
| Floor19 yaya | Posted 2007-04-17 05:43 |
| 银牌会员 Posts 353 Credits 1,009 | |
|
That's great, the scope of use is wider.
|
|
| Floor20 download | Posted 2007-04-17 12:44 |
| 初级用户 Posts 101 Credits 199 | |
Originally posted by 本是 at 03:55 PM: Consider control code 07H, which makes a beep |
|
| Floor21 hjch65655166 | Posted 2007-04-17 12:47 |
| 新手上路 Posts 10 Credits 19 | |
|
It's not easy to grab the 21st floor. First occupy it and supplement later. This person is really a strong one. He didn't sleep at 5 o'clock at night either.
[ Last edited by hjch65655166 on 2007-4-17 at 12:49 PM ] |
|
| Floor22 bhdc | Posted 2007-04-18 01:20 |
| 初级用户 Posts 23 Credits 48 | |
|
Heheh, that's very good...
|
|
| Floor23 cchessbd | Posted 2007-04-18 08:06 |
| 高级用户 Posts 222 Credits 525 | |
|
New version test: Chinese characters can be displayed normally! There are indeed cases of garbled characters.
I don't know when the command - line version will be released. |
|
| Floor24 本是 | Posted 2007-04-18 09:27 |
| 银牌会员 Posts 790 Credits 2,227 | |
Originally posted by cchessbd at 2007-4-18 08:06: If the file to be converted contains GBK Chinese characters, and there is no GBK16 font library in C:\ (root directory of C drive) or. \ (current directory), then the corresponding place in the generated file will inherit the previous Chinese character font pattern when automatically generated, that is, GBK Chinese characters will be replaced with the previous GB Chinese characters. This is what I have encountered. I don't know what kind of garbled characters you are referring to? Can you attach the original text file? Also, please report the directory where the GBK16 font library is located. Originally posted by cchessbd at 2007-4-18 08:06: I am considering the scheme of loading the core with.EXE, and testing the display of 110+110 Chinese characters on the same screen with double character sets. Please wait... |
|
| Floor25 zts59 | Posted 2007-04-19 11:19 |
| 中级用户 Posts 104 Credits 387 | |
|
It would be best to be applicable in CONFIG, heh heh
|
|
| Floor26 bhdc | Posted 2007-04-20 06:38 |
| 初级用户 Posts 23 Credits 48 | |
|
Hehe, updated, hurry up and try...
|
|
| Floor27 本是 | Posted 2007-04-20 09:28 |
| 银牌会员 Posts 790 Credits 2,227 | |
|
2007.4.19 V2.00 Modify the new internal code format, command line seam type, and character set # settings, add the FNT.COM toolbox, and fully release the potential of displaying 220 Chinese characters on the same screen with dual character sets.
VT Font Toolbox - FNT.COM With the FNT.COM toolbox, You can fully release the potential of displaying 220 Chinese characters on the same screen with dual character sets! Enjoy playing VT font games to the fullest! Use the *.TXT files in the 1st floor DEMO.RAR. Suppose you have the GBK16 font in the root directory of drive C or the current directory. Example 1: ::Generate.exe and.new VTGBK /0 64.txt VTGBK /1 110gbk.txt ::Load fonts 64 110gbk ::Activate 0,1 FNT act=0,1 ::Display effect FNT two TYPE 64.new TYPE 110gbk.new Example 2: ::Suppose there are already 64.exe and 110gbk.exe. ::If there are already.FNT files, there is no need for VTGBK to generate again. ::dump is to save fonts to file 64 FNT dump=64.fnt 110gbk FNT dump=110gbk.fnt ::Clear fonts FNT def ::Load fonts FNT load=64.fnt,5 FNT load=110gbk.fnt,3 ::Activate 3,5 FNT act=3,5 ::Display effect FNT two TYPE 64.new TYPE 110gbk.new ::Thoroughly restore font seams, etc. FNT clr FNT ver 1.0 (c) 2007..12 Luo MingAn(aka Born2be) Syntax: FNT load=file,x FNT act=x,y FNT eco=x,"a colored string with ring in quotes" FNT 098=x FNT two FNT clr FNT def FNT dump=file,x FNT b2n=file,x,mm,nn x,y are character set numbers, any numbers from 0 to 7; x = first character set number, y = second character set number file is a 4096-byte.FNT font file z is color, 0,1,2,3,4,5,6,7,8,9,A,B,C,D,E,F, 0-7 are display colors for the first character set, 8 and later are display colors for the second character set (for dual character set on-screen display) 1. Load font file into the character set space labeled x FNT load=file,x 2. Activate character sets labeled x and y (default value: 0,0) FNT act=x,y 3. ECHO with color z, "string to display", use Ctrl N to display double quotes, ; is carriage return without line feed, # is the end mark for multi-color display of multiple strings FNT eco=z,"a colored string with ring in quotes" 4. Seam type: 9 is with seam, 8 is without seam (LCD monitors may be best not to set 8,9 to avoid errors) FNT 098=x 5. Display the respective dual character set effects of ASCII code and VT new internal code FNT two 6. Reset video mode, clear screen, clear fonts, with seam, flashing FNT clr 7. Only clear fonts to system default fonts FNT def 8. Save the font of character set labeled x to file with 4096 bytes FNT dump=file,x 9. Only load fonts from mm to nn in file file into character set x (h after number is hexadecimal, without h is decimal) FNT b2n=file,x,mm,nn The following 3 pictures are respectively the English state, 64x2 Chinese character state, and 110x2 Chinese character state of the dual character set on-screen display effect. [ Last edited by 本是 on 2007-4-20 at 12:42 PM ] Attachments 2fntEn.bmp (253.87 KiB) 2fnt64.bmp (249.8 KiB) 2fnt110.bmp (251.05 KiB) |
|
| Floor28 download | Posted 2007-04-20 12:10 |
| 初级用户 Posts 101 Credits 199 | |
|
@echo "How to use here??"
|
|
| Floor29 本是 | Posted 2007-04-20 12:36 |
| 银牌会员 Posts 790 Credits 2,227 | |
Originally posted by download at 2007-4-20 12:10: Normally, the echo command can only display the content of the first character set. The content of the second character set needs the help of the ECO command of FNT.COM. The format is as follows (to display the " character, enter Ctrl N under DOS): FNT eco 2,"New internal code string 1 green first character set (no line break)"; a"Another string highlighted green second character set (line break)" Before this, you need to load 2 font files into different character sets first (if there is only 1 font file, the first and second character sets will display the same glyphs) and activate them. [ Last edited by 本是 on 2007-4-20 at 12:37 PM ] |
|
| Floor30 bhdc | Posted 2007-04-21 01:43 |
| 初级用户 Posts 23 Credits 48 | |
|
Tried it under XP, and sometimes a → appears at the end of the new file generated by VTGBK. Not sure if it has any impact.
|
|
| Prev 1 2 3 4 Next |
|
[ Contact the Union admin team -
中国DOS联盟 -
Standard version ] Sponsored by ifanr Inc | © 2001–2023 |