![]() |
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-08-26 13:53 |
47,812 topics / 349,910 posts / today 0 new / 48,264 members |
| DOS汉化世界 & 中文系统 (中文化室) » Asking for advice on the issue of displaying Chinese characters in QBASIC |
| Printable Version 3,693 / 9 |
| Floor1 chinaren12 | Posted 2005-12-27 10:13 |
| 中级用户 Posts 77 Credits 312 | |
|
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!!!!!!!!!! |
|
| Floor2 本是 | Posted 2005-12-27 13:06 |
| 银牌会员 Posts 790 Credits 2,227 | |
Originally posted by chinaren12 at 2005-12-27 10:13: 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 ] |
|
| Floor3 chinaren12 | Posted 2005-12-27 16:45 |
| 中级用户 Posts 77 Credits 312 | |
|
Okay, thanks. I'm looking for a way to display Chinese characters without using a Chinese character system. Thanks.
|
|
| Floor4 ywzhuss | Posted 2005-12-30 15:29 |
| 中级用户 Posts 108 Credits 396 | |
|
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 |
|
| Floor5 chinaren12 | Posted 2006-01-08 20:45 |
| 中级用户 Posts 77 Credits 312 | |
|
What the brother on the fourth floor said, how to implement it? Please teach the specific method, thank you.
|
|
| Floor6 本是 | Posted 2006-01-08 22:02 |
| 银牌会员 Posts 790 Credits 2,227 | |
| Floor7 chinaren12 | Posted 2006-01-10 19:14 |
| 中级用户 Posts 77 Credits 312 | |
|
If it's qbwin, then it's a different matter from what I was talking about
|
|
| Floor8 happybasic | Posted 2007-03-06 01:46 |
| 中级用户 Posts 118 Credits 298 | |
| Floor9 ddctczy | Posted 2007-03-18 13:05 |
| 中级用户 Posts 43 Credits 245 | |
|
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!! |
|
| Floor10 sgzhou6688 | Posted 2010-06-03 11:44 |
| 中级用户 Posts 110 Credits 231 From 中国大陆 | |
Originally posted by ywzhuss at 2005-12-30 03:29 PM: Agree>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> |
|
|
[ Contact the Union admin team -
中国DOS联盟 -
Standard version ] Sponsored by ifanr Inc | © 2001–2023 |