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-07-24 02:25
中国DOS联盟论坛 » DOS启动盘 & LOGO技术 (启动盘室) » Why does a DOS program's GUI get garbled? Does anyone know what's going on? View 1,675 Replies 9
Original Poster Posted 2003-11-15 00:00 ·  中国 天津 宝坻区 联通
初级用户
爱的使者
Credits 195
Posts 32
Joined 2003-07-20 00:00
23-year member
UID 7213
Gender Male
From Amway
Status Offline

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?
http://sikro.spaces.live.com/
Floor 2 Posted 2003-11-15 00:00 ·  中国 湖北 武汉 联通
银牌会员
★★★
Credits 1,681
Posts 512
Joined 2003-08-02 00:00
22-year member
UID 7953
Gender Male
Status Offline
Obviously, the fonts and the font interpreter program don't match.
Somehow somewhere I've got to choose.
No matter if it is win or lose.
Floor 3 Posted 2003-11-15 00:00 ·  中国 天津 联通
初级用户
爱的使者
Credits 195
Posts 32
Joined 2003-07-20 00:00
23-year member
UID 7213
Gender Male
From Amway
Status Offline
How do I fix it?
http://sikro.spaces.live.com/
Floor 4 Posted 2003-12-22 00:00 ·  中国 广东 湛江 电信
初级用户
Credits 170
Posts 23
Joined 2003-12-21 00:00
22-year member
UID 14299
Gender Male
Status Offline
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
Floor 5 Posted 2004-02-09 00:00 ·  中国 河北 石家庄 联通
中级用户
Credits 205
Posts 32
Joined 2004-02-06 00:00
22-year member
UID 16828
Gender Female
Status Offline
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!!!
Floor 6 Posted 2004-02-09 00:00 ·  中国 广东 江门 电信
初级用户
Credits 187
Posts 25
Joined 2003-06-27 00:00
23-year member
UID 6039
Gender Female
Status Offline
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
Floor 7 Posted 2004-02-10 00:00 ·  中国 广东 深圳 南山区 电信
初级用户
Credits 166
Posts 20
Joined 2004-01-02 00:00
22-year member
UID 14773
Gender Male
Status Offline
Mine has the same problem too!!!!!!!!!
Floor 8 Posted 2004-02-10 00:00 ·  中国 广西 梧州 联通
初级用户
Credits 120
Posts 7
Joined 2004-02-09 00:00
22-year member
UID 17055
Gender Male
Status Offline
Me too
Floor 9 Posted 2004-02-12 00:00 ·  中国 辽宁 沈阳 联通
铂金会员
★★★★
痴迷DOS者
Credits 5,798
Posts 1,924
Joined 2003-06-20 00:00
23-year member
UID 5583
Gender Male
From 金獅電腦軟體工作室
Status Offline
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!
熟能生巧,巧能生精,一艺不精,终生无成,精亦求精,始有所成,臻于完美,永无止境!
金狮電腦軟體工作室愿竭诚为您服务!
QQ群:8393170(定期清理不发言者)
个人网站:http://www.520269.cn
电子邮件:doujiehui@vip.qq.com
微信公众号: doujiehui
Floor 10 Posted 2004-02-12 00:00 ·  中国 湖北 荆州 电信
初级用户
Credits 137
Posts 8
Joined 2003-08-31 00:00
22-year member
UID 9221
Gender Male
Status Offline
I have this problem too, and I've never been able to solve it.
Forum Jump: