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-24 16:31
中国DOS联盟论坛 » DOS汉化世界 & 中文系统 (中文化室) » A VB small program to display HZK16 dot matrix Chinese character information View 47,006 Replies 111
Original Poster Posted 2006-01-08 19:34 ·  中国 湖北 武汉 联通
高级用户
★★★
Credits 587
Posts 302
Joined 2005-07-25 17:31
20-year member
UID 41046
Gender Male
Status Offline
Some time ago, I downloaded a VB small program on the forum that displays HZK16 dot matrix Chinese character information. The function is too single. Considering that everyone is still debugging the Chinese character system in a virtual machine under WIN, I wrote one myself with VB and uploaded it.

This file needs to be in the same directory as the original HZK16 of UCDOS (the one with 267, 161, others HZK16 haven't been tried) or HZK16.GBK of UCWIN GOLD1.0 (this file is already included in the char.rar file). If both of these two files are in this directory, then HZK16.GBK will be used.

Users of WIN98SE need to download the VB RUNTIME DLL file. This file is compressed and has more than 600K. Due to the attachment size limit, it can't be uploaded. Here is a link to the msvbvm60.dll file. Those who need it can download it here. Users of 2000/XP don't need this file because the system has it itself.

http://www.dll-files.com/dllindex/pop.php?msvbvm60

All missing OCX files can be downloaded from the following website. Please register the components according to the introduction method.

http://www.ascentive.com/support/new/support_dll.phtml?dllname=MSCOMCTL.OCX

---
It has been tested on NT/2000/XP. A few small problems were fixed on 2000. The program picture is in floor 4

[ Last edited by fdsiuha on 2006-4-20 at 00:47 ]
Recent Ratings for This Post ( 1 in total) Click for details
RaterScoreTime
xiaoguizi00 +1 2008-11-15 10:32
Attachments
char.rar (429.61 KiB, Credits to download 1 pts, Downloads: 1024)
欢迎造访DOS的小屋!
http://risky.ik8.com
Floor 2 Posted 2006-01-11 21:35 ·  中国 湖北 武汉 联通
高级用户
★★★
Credits 587
Posts 302
Joined 2005-07-25 17:31
20-year member
UID 41046
Gender Male
Status Offline
The improved program supports the 16×16 GBK font HZK16.GBK of UCWIN GOLD 1.0. Since HZK16.GBK has good compatibility, the HZK16.GBK file is used by default. The next improvement is to be able to generate corresponding small font library files according to the given string, and support 12, 14, 32 dot matrix font libraries of UCDOS and other most commonly used Chinese character systems, as well as add the function of font library browsing (almost like the character map in WIN). Due to many things, it is estimated that the update can be made again by the 20th.

[ Last edited by fdsiuha on 2006-1-21 at 13:45 ]
欢迎造访DOS的小屋!
http://risky.ik8.com
Floor 3 Posted 2006-01-15 20:04 ·  中国 天津 南开区 联通
高级用户
★★
Credits 687
Posts 222
Joined 2005-08-21 22:37
20-year member
UID 41842
Status Offline
Interesting small program, support.
Floor 4 Posted 2006-01-17 17:05 ·  中国 湖北 武汉 联通
高级用户
★★★
Credits 587
Posts 302
Joined 2005-07-25 17:31
20-year member
UID 41046
Gender Male
Status Offline
Update again, as shown in the picture, the file is republished on the first floor.

After browsing the HZK16 and HZK16.GBK files with this updated program, it is found that it is indeed not exactly the same as the character map in WIN. Among them, the characters in the 0xA2 area of HZK16 and HZK16.GBK are not exactly the same as those under WIN.

[ Last edited by fdsiuha on 2006-4-20 at 00:50 ]
Attachments
char.png
char1.png
欢迎造访DOS的小屋!
http://risky.ik8.com
Floor 5 Posted 2006-01-18 02:01 ·  中国 北京 怀柔区 联通
高级用户
★★★
文盲
Credits 833
Posts 349
Joined 2004-01-26 00:00
22-year member
UID 16118
Gender Male
Status Offline
Floor 6 Posted 2006-01-21 13:36 ·  中国 湖北 武汉 联通
高级用户
★★★
Credits 587
Posts 302
Joined 2005-07-25 17:31
20-year member
UID 41046
Gender Male
Status Offline
Tested under Windows 2000, and fixed two bugs. Optimized the part for displaying the font library list. (If anyone knows how to convert multiplication into bit shifting in VB, please let me know. There are a large number of multiplication, division, and modulo operations + control method calls in this segment of the program within the 4x loop, and the running speed is too slow.) Added color display for different regions of the font library. The updated file has been uploaded again, but the screenshot is not updated for the time being because there is no tool to convert it to gif or jpg.

[ Last edited by fdsiuha on 2006-1-21 at 22:35 ]
欢迎造访DOS的小屋!
http://risky.ik8.com
Floor 7 Posted 2006-03-07 15:34 ·  中国 广东 东莞 电信
初级用户
★★
Credits 201
Posts 92
Joined 2005-12-28 17:44
20-year member
UID 48072
Status Offline
Floor 8 Posted 2006-03-23 15:14 ·  中国 河北 石家庄 联通
新手上路
Credits 2
Posts 1
Joined 2006-03-23 14:57
20-year member
UID 52655
Status Offline
Nice
Floor 9 Posted 2006-03-30 14:05 ·  中国 湖北 武汉 联通
高级用户
★★★
Credits 587
Posts 302
Joined 2005-07-25 17:31
20-year member
UID 41046
Gender Male
Status Offline
Originally posted by secowu at 2006-3-7 15:34:
Don't know how to use

Dizzy hey...

Because the computer has been broken for a while, so now there is no way to add more functions, can only wait for a while to see.
Corrected a few bugs again, the new file has been uploaded, please download it to the first floor. The program's pictures have also been updated.

In addition, note that if you choose to open the file yourself, it can only support HZK16 GB2312 instead of HZK16.GBK, even if the opened file is HZK16. To use GBK, please put the HZK16.GBK file in the same folder and reopen the program.

PS: Found that a lot of LJ characters were added in the F8 and F9 areas of the files HZK16 and HZK16.GBK... These characters look really bad... Also, the characters in the last area are the same LJ, and there are corresponding characters under WIN...Crazy dizzy..

[ Last edited by fdsiuha on 2006-3-30 at 14:25 ]
欢迎造访DOS的小屋!
http://risky.ik8.com
Floor 10 Posted 2006-06-04 04:30 ·  中国 广东 深圳 宝安区 电信
初级用户
Credits 128
Posts 47
Joined 2005-11-19 17:17
20-year member
UID 45555
Status Offline
Support, hope to support higher dot matrix font display.~~~Looking forward to the building owner's update~~~

[ Last edited by ppshow on 2006-6-4 at 19:24 ]
Floor 11 Posted 2006-06-21 23:19 ·  中国 湖北 武汉 联通
高级用户
★★★
Credits 587
Posts 302
Joined 2005-07-25 17:31
20-year member
UID 41046
Gender Male
Status Offline
In fact, all font formats are basically the same, and they can be regarded as "format-less" files (there is no need to compress dot-matrix fonts. Of course, this also poses a bit of a problem for identifying whether a file is actually a font file). For example, a 12-point font or simply the bootfont.bin file can be opened and viewed with this software - of course, there will be some display issues - to see the content inside. I haven't had time to modify it recently. Actually, this program only needs a little data modification. But due to the above-mentioned difficulty in identifying the file format, it will bring a little trouble to practical applications. However, I'm considering whether not to automatically identify it but rely on the user of the program to choose?

Is there anyone who has a good way to judge the dot-matrix size format of fonts? Please let me know~
欢迎造访DOS的小屋!
http://risky.ik8.com
Floor 12 Posted 2006-06-26 22:14 ·  中国 四川 成都 电信
初级用户
Credits 42
Posts 22
Joined 2005-10-16 12:31
20-year member
UID 43580
Status Offline
Floor 13 Posted 2006-06-28 22:28 ·  中国 湖北 武汉 联通
高级用户
★★★
Credits 587
Posts 302
Joined 2005-07-25 17:31
20-year member
UID 41046
Gender Male
Status Offline
That's for VB2005, and I'm still using VB6.0
欢迎造访DOS的小屋!
http://risky.ik8.com
Floor 14 Posted 2006-06-29 00:58 ·  中国 四川 成都 电信
初级用户
Credits 42
Posts 22
Joined 2005-10-16 12:31
20-year member
UID 43580
Status Offline
C++ has it, but VB6.0 doesn't at all. You can only write one yourself using the byte type along with AND and OR. Have a rest.
Floor 15 Posted 2006-06-29 14:10 ·  中国 湖南 长沙 电信
中级用户
★★
Credits 282
Posts 126
Joined 2006-05-17 22:29
20-year member
UID 55724
Status Offline
When selecting the advanced optimized compilation of EXE in VB5 and VB6, operations like "* 2" and "\ 2" on integers will be compiled into shifts, which is very fast. Code like "mod 2" can be replaced with "and" to avoid division. For example, "x mod 256" (hexadecimal: x mod &H100) can be transformed into "x and 255" (hexadecimal: x and &HFF).

I once promised someone to write an article about VB bit operations, but I was lazy. Here is the VB bit operation module I wrote before, take your time to understand:
http://blog.csdn.net/zyl910/archive/2006/05/24/752113.aspx

In fact, if the program is optimized well, VB programs won't be slow. Even in fields like GIF, JPEG encoding that require a lot of bit operations:
http://blog.csdn.net/zyl910/archive/2006/05/29/762401.aspx
人类存在的目的就是试图理解人类为何存在
1 2 3 8 Next ›
Forum Jump: