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-08-01 05:44
中国DOS联盟论坛 » DOS开发编程 & 发展交流 (开发室) » [Urgent] Need a solution badly, thanks to all the experts in DOS environment programming View 767 Replies 7
Original Poster Posted 2004-01-08 00:00 ·  中国 上海 浦东新区 电信
初级用户
Credits 110
Posts 3
Joined 2004-01-08 00:00
22-year member
UID 15165
Gender Male
Status Offline
My company is doing a project that uses a DOS program developed in 1993. It has its own GUI. Judging from several accompanying files that came with the program, it was developed with BC3.0, and the graphics interface file is EGAVGA.bgi, which means it only supports up to VGA mode.

The problem is that on many machines with integrated graphics, all characters of a certain font get completely distorted. For example, this happens on Intel 845GL/815/852G/855G machines, but on a Sis 650 motherboard everything is ok.

Also, if the program is run directly under win98, it immediately reports that the system does not have an EMS Driver installed. That probably means emm386 is not loaded. But if it is run directly under dos, there is no need to run emm386. If emm386 is loaded in config.sys under the win98 environment, then on any machine with an intel 852/855GM chipset, emm386 cannot load because part of the memory used by the integrated graphics falls exactly in the same address range as emm386....... It's really tmd frustrating. Originally I thought the windows graphics driver for Intel integrated motherboards provided better VBE support, so maybe character support for the program could be achieved in the win98 simulated dos environment, but in the end the program can't even run!!

I hope you experts can help me out. How can I get this nasty program to run on motherboards with Intel integrated graphics, and also display characters normally.. Thanks
Floor 2 Posted 2004-01-08 00:00 ·  中国 上海 浦东新区 电信
初级用户
Credits 110
Posts 3
Joined 2004-01-08 00:00
22-year member
UID 15165
Gender Male
Status Offline
Additional note: the program's GUI contains both English and Chinese. I don't know whether it is done with fonts or with a dot-matrix method.
Floor 3 Posted 2004-01-12 00:00 ·  加拿大 安大略省 多伦多
系统支持
★★★★★★
“新DOS时代”站长
Credits 27,736
Posts 10,521
Joined 2002-10-09 12:00
23-year member
UID 9
Status Offline
Download some MS-DOS 7.10 boot disks from the forum and give them a try.
Wengier - 新DOS时代

欢迎大家来到我的“新DOS时代”网站,里面有各类DOS软件和资料,地址:
http://wendos.mycool.net/

E-Mail & MSN: wengierwu AT hotmail.com (最近比较忙,有事请联系DOSroot和雨露,谢谢!)

Floor 4 Posted 2004-01-15 00:00 ·  中国 北京 联通
初级用户
Credits 152
Posts 19
Joined 2003-05-22 00:00
23-year member
UID 2324
Gender Male
Status Offline
It seems emm386 can set the swap area address to avoid address conflicts
Floor 5 Posted 2004-01-23 00:00 ·  中国 浙江 杭州 电信
初级用户
Credits 117
Posts 5
Joined 2004-01-23 00:00
22-year member
UID 15964
Gender Male
Status Offline
Draw it, treat the characters as graphics and paste them on.
my email:lyz6118@sina.com
Floor 6 Posted 2004-01-25 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
Could you upload that 93-era program you're using, so everyone can study it?
熟能生巧,巧能生精,一艺不精,终生无成,精亦求精,始有所成,臻于完美,永无止境!
金狮電腦軟體工作室愿竭诚为您服务!
QQ群:8393170(定期清理不发言者)
个人网站:http://www.520269.cn
电子邮件:doujiehui@vip.qq.com
微信公众号: doujiehui
Floor 7 Posted 2004-02-04 00:00 ·  中国 江苏 南京 联通
初级用户
Credits 140
Posts 18
Joined 2004-02-03 00:00
22-year member
UID 16630
Gender Male
Status Offline
Useless. The program was developed with bc3.0, and in order to use memory above 640, it uses EMS page calls. That is, it opens a memory swap area above 640. If you want to run this program on a machine where shared memory is used as video memory, there will definitely be a conflict. If my guess is correct, that program is the same as the one I wrote: it puts the dot-matrix fonts in high memory. If you want to solve it:
1, use bc4.51 to change the source program to 16-bit protected mode
2, use DJGPP or WC to change the program to 32-bit protected mode.
3, simplest of all, don't put the fonts into memory; only read the font files when needed. Just enable SMARTDRV before running the program. But don't use this for a diskless DOS system.
Floor 8 Posted 2004-02-04 00:00 ·  中国 河北 唐山 联通
版主
★★★
操作系统爱好者
Credits 1,113
Posts 392
Joined 2002-11-11 00:00
23-year member
UID 228
Gender Male
Status Offline
What they said is a bit messy, listen to me:
Modify CONFIG.SYS, and try the following cases one by one
1, do not load it
2, DEVICE=EMM386.EXE NOEMS
3, DEVICE=EMM386.EXE RAM
4, DEVICE=EMM386.EXE
5, DEVICE=UMBPCI.SYS

When using any of the above lines, the line before it must include DEVICE=HEMEM.SYS
DOS之家 http://doshome.com 站长 葛明阳
Forum Jump: