中国DOS联盟论坛

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-10-27 05:11
47,815 topics / 349,928 posts / today 0 new / 48,289 members
DOS启动盘 & LOGO技术 (启动盘室) » Why does a DOS program's GUI get garbled? Does anyone know what's going on?
Printable Version  1,875 / 9
Floor1 sikro Posted 2003-11-15 00:00
初级用户 Posts 32 Credits 195 From Amway

I've already linked the graphics library and fonts, but after compiling it turns out like this, and the program also seems to be 5K smaller than the original. Does anyone know what's going on?
Floor2 iceboy Posted 2003-11-15 00:00
银牌会员 Posts 512 Credits 1,681
Obviously, the fonts and the font interpreter program don't match.
Floor3 sikro Posted 2003-11-15 00:00
初级用户 Posts 32 Credits 195 From Amway
How do I fix it?
Floor4 DOS888 Posted 2003-12-22 00:00
初级用户 Posts 23 Credits 170
The fonts not matching the font interpreter program is only one of the reasons

On my machine, if it doesn't move then there's no problem; once it moves it gets blurry, but on my friend's machine there is no problem

The biggest difference between my machine and my friend's is the graphics card

This kind of problem has something to do with the graphics card. Who told us to use Chinese characters, hehe
Floor5 hellen Posted 2004-02-09 00:00
中级用户 Posts 32 Credits 205
One Wuyou boot disk I bought is also like this?
If it doesn't move I can read it, but once it moves it gets blurry, with streaks all over, impossible to read. Please help!!!
Floor6 zhanghuiwen Posted 2004-02-09 00:00
初级用户 Posts 25 Credits 187
Go to Wuyou and download a free 3.1. The MENUSTAR inside has no problem, it has already been modified by WWWFOX.
http://www.wuyou.com/bootcd/iso0000000/wuyou31.rar
Floor7 SunSpring Posted 2004-02-10 00:00
初级用户 Posts 20 Credits 166
Mine has the same problem too!!!!!!!!!
Floor8 xieliuyun Posted 2004-02-10 00:00
初级用户 Posts 7 Credits 120
Me too
Floor9 Kinglion Posted 2004-02-12 00:00
铂金会员 Posts 1,924 Credits 5,798 From 金獅電腦軟體工作室
I think the following possible causes should be considered for this problem: 1. Just as iceboy said, the font-reading program you wrote does not match the fonts, causing the Chinese characters to display incorrectly; 2. As for the problem of writing Chinese characters to the screen, this problem is directly related to the graphics card you are using. I guess you are programming in C. How did you initialize the EGAVGA.BGI file when writing the program? The following function is only for reference.
void gmode()
{
int gd=VGA,gm=VGAHI;
registerbgidriver(EGAVGA_driver);
initgraph(&gd,&gm,"C:\\bc5\\bgi";
}
If there is anything inappropriate, please correct me. Thank you!
Floor10 szycq Posted 2004-02-12 00:00
初级用户 Posts 8 Credits 137
I have this problem too, and I've never been able to solve it.
[ Contact the Union admin team - 中国DOS联盟 - Standard version ]
Sponsored by ifanr Inc | © 2001–2023