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汉化世界 & 中文系统 (中文化室) » Asking for advice on the issue of displaying Chinese characters in QBASIC View 3,459 Replies 9
Original Poster Posted 2005-12-27 10:13 ·  中国 湖南 娄底 电信
中级用户
★★
Credits 312
Posts 77
Joined 2004-02-09 00:00
22-year member
UID 17031
Gender Male
Status Offline
Originally, your program is written very well, and I have also read it.

Here I want to ask an example:

I have now written a program that automatically partitions with gdisk. The Chinese characters used in the program are input after loading ucdos.

Now I have generated an exe file from the program. May I ask,

If I don't load ucdos, how should I use your program to display the Chinese characters in my program?

Assuming that the number of Chinese characters displayed simultaneously in my program does not exceed 64.

Please give an example of how to use your program in this case????

Finally, I extend the most sincere thanks!!!!!!!!!!
Floor 2 Posted 2005-12-27 13:06 ·  中国 江苏 苏州 电信
银牌会员
★★★
Credits 2,227
Posts 790
Joined 2005-01-27 00:00
21-year member
UID 35703
Gender Male
Status Offline
Originally posted by chinaren12 at 2005-12-27 10:13:
I have now written a program that automatically partitions using gdisk. The Chinese characters used in the program are input after loading ucdos....


  The issue of displaying Chinese characters in QBasic was already resolved in BT.EXE and BTE.COM - predecessors of VTHZMK.COM (although not designed by the same person). Let's say a few words here.
  The.EXE program generated by VTHZMK is a Chinese character font loading module that replaces the font data of the VGA character set, and it is not responsible for display. But after a successful replacement, Chinese character shapes can be displayed using all character display methods, such as DOS/BIOS function calls, directly writing to the video buffer, etc., as long as it is in the non-Chinese display state on the text screen. So using ECHO in batch processing, PRINT in QBasic, ECHO.SYS in CONFIG.SYS, etc., are the most direct and simple display methods.
  The most direct way to load the font is to run.EXE under DOS, DEVICE=xxxx.EXE in CONFIG.SYS for device loading, SHELL "xxxx.EXE" in QBasic, etc. If you know the principle of the program, you can directly load the font using QBasic functions and statements. Actually, it's not difficult.

  In summary:
Loading font in QBasic -
SHELL "xxxx.EXE"
Displaying font in QBasic -
PRINT "Assume this is the corresponding new internal code Chinese character string automatically generated in.NEW, and it must not be edited under WINDOWS!!!"

Please state the role of VTHZMK.COM in the software you make. OK?

[ Last edited by 本是 on 2005-12-27 at 13:10 ]
my major is english----my love is dos----my teacher is the buddha----my friends--how about U
Floor 3 Posted 2005-12-27 16:45 ·  中国 湖南 娄底 电信
中级用户
★★
Credits 312
Posts 77
Joined 2004-02-09 00:00
22-year member
UID 17031
Gender Male
Status Offline
Okay, thanks. I'm looking for a way to display Chinese characters without using a Chinese character system. Thanks.
Floor 4 Posted 2005-12-30 15:29 ·  中国 浙江 金华 义乌市 电信
中级用户
★★
Credits 396
Posts 108
Joined 2005-03-11 00:00
21-year member
UID 36914
Gender Male
Status Offline
QB itself supports Chinese without the need for a Chinese character system. You just need to put a Chinese font in the same directory. And it also supports direct Chinese input (Wubi and Pinyin). The currently popular one - key system recovery software on the Internet is based on this principle.
ywzhuss@163.com
Floor 5 Posted 2006-01-08 20:45 ·  中国 湖南 娄底 电信
中级用户
★★
Credits 312
Posts 77
Joined 2004-02-09 00:00
22-year member
UID 17031
Gender Male
Status Offline
What the brother on the fourth floor said, how to implement it? Please teach the specific method, thank you.
Floor 6 Posted 2006-01-08 22:02 ·  中国 江苏 苏州 电信
银牌会员
★★★
Credits 2,227
Posts 790
Joined 2005-01-27 00:00
21-year member
UID 35703
Gender Male
Status Offline
my major is english----my love is dos----my teacher is the buddha----my friends--how about U
Floor 7 Posted 2006-01-10 19:14 ·  中国 湖南 娄底 电信
中级用户
★★
Credits 312
Posts 77
Joined 2004-02-09 00:00
22-year member
UID 17031
Gender Male
Status Offline
If it's qbwin, then it's a different matter from what I was talking about
Floor 8 Posted 2007-03-06 01:46 ·  中国 江苏 苏州 联通
中级用户
★★
Credits 298
Posts 118
Joined 2006-03-01 13:30
20-year member
UID 51161
Status Offline
Try the QBCH library, it's also okay

http://yxbasic.51.net/library/qbch.htm
欢迎光临happyBASIC小站:http://yxbasic.51.net
Floor 9 Posted 2007-03-18 13:05 ·  中国 河南 洛阳 联通
中级用户
Credits 245
Posts 43
Joined 2003-08-05 00:00
22-year member
UID 8139
Gender Male
Status Offline
Are there any experts using TB??
I think TB is much stronger than QB, but very few people use it, and there is only version 2.0!!
Floor 10 Posted 2010-06-03 11:44 ·  中国 山东 烟台 联通
中级用户
★★
Credits 231
Posts 110
Joined 2008-03-24 16:22
18-year member
UID 113876
Gender Male
From 中国大陆
Status Offline
Originally posted by ywzhuss at 2005-12-30 03:29 PM:
QB itself supports Chinese without the need for a Chinese character system. You just need to place a Chinese font in the same directory. And it also directly supports Chinese input (Wubi and Pinyin). The one-click recovery system software popular online now is based on this principle哦.
ywzhuss@163.com

Agree>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
Forum Jump: