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-31 20:45
中国DOS联盟论坛 » DOS开发编程 & 发展交流 (开发室) » Memory Issues under DOS View 1,429 Replies 4
Original Poster Posted 2003-04-05 00:00 ·  中国 广东 深圳 电信
初级用户
Credits 113
Posts 3
Joined 2003-03-25 00:00
23-year member
UID 1256
Gender Male
Status Offline
I wrote a graphical menu program under DOS (it displays a lot of bmp images), but when running other programs, it gives an out of memory error:
Reconfigure yoursystem to have at least 335kb free memory

I'm asking the DOS experts here how to solve the thorny problem above
Floor 2 Posted 2003-04-05 00:00 ·  中国 香港 有线宽频用户
管理员
★★★★
專業島民
Credits 4,869
Posts 1,633
Joined 2002-12-10 00:00
23-year member
UID 465
Gender Male
Status Offline
Change it to use XMS to display bmp images
我的網站:http://mw16.2ya.com/ 我的網誌: http://scrappedblog.blogspot.com/
~
我的Winamp正在播放的歌曲:
Floor 3 Posted 2003-04-05 00:00 ·  中国 广东 深圳 电信
初级用户
Credits 113
Posts 3
Joined 2003-03-25 00:00
23-year member
UID 1256
Gender Male
Status Offline
I haven't worked with XMS.
I just checked with the mem command and found that the system function called inside tc uses the most memory. If I remove the system function from the program, it works normally. I used system in order to run a .bat file. Is there any other way to run a .bat file?
Floor 4 Posted 2003-04-05 00:00 ·  中国 安徽 合肥 电信
中级用户
Credits 272
Posts 43
Joined 2003-04-04 00:00
23-year member
UID 1392
Gender Male
Status Offline
What kind of memory is XMS!
Floor 5 Posted 2003-04-05 00:00 ·  加拿大 安大略省 多伦多
系统支持
★★★★★★
“新DOS时代”站长
Credits 27,736
Posts 10,521
Joined 2002-10-09 12:00
23-year member
UID 9
Status Offline
XMS is extended memory.
Wengier - 新DOS时代

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

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

Forum Jump: