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-14 04:07
中国DOS联盟论坛 » DOS学习入门 & 精彩文章 (教学室) » [Help] program too big to fix in memory, how to solve it View 1,221 Replies 12
Original Poster Posted 2005-11-14 16:09 ·  中国 广西 桂林 电信
初级用户
★★
Credits 176
Posts 74
Joined 2005-11-07 16:51
20-year member
UID 44761
Status Offline
[Help] program too big to fix in memory
When I run a somewhat larger program under DOS, this problem appears. How can I solve it?
I hope all the experts here can give me some advice1
Floor 2 Posted 2005-11-14 18:37 ·  中国 山东 济南 移动
钻石会员
★★★★★
Credits 10,056
Posts 3,041
Joined 2002-11-11 00:00
23-year member
UID 223
Gender Male
Status Offline
Not enough conventional memory.
As for the stuff in config.sys and autoexec.bat, don't load anything you don't have to. Anything that must be loaded should be put into UMB as much as possible.

[ Last edited by Michael on 2005-11-14 at 18:39 ]
简单就是美
Floor 3 Posted 2005-11-14 19:22 ·  中国 广东 广州 海珠区 电信
金牌会员
★★★★
D◎$ Fαп
Credits 4,562
Posts 1,883
Joined 2004-01-19 00:00
22-year member
UID 15812
Gender Male
From 广东广州
Status Offline
Boot DOS with the MSDOS 7.1 super boot disk, and conventional memory will be over 600KB. It should definitely be able to run that DOS program.
----====≡≡≡≡ 我的至爱,永远是MSDOS!≡≡≡≡====----
Floor 4 Posted 2005-11-14 19:59 ·  中国 广西 桂林 电信
初级用户
★★
Credits 176
Posts 74
Joined 2005-11-07 16:51
20-year member
UID 44761
Status Offline
Many thanks to the two posters above. Maybe I changed too much, hehe, added too many things,
but there's one thing I don't quite understand: with HIMEM loaded, memory should be enough, right?
Floor 5 Posted 2005-11-14 20:56 ·  中国 广东 广州 海珠区 电信
金牌会员
★★★★
D◎$ Fαп
Credits 4,562
Posts 1,883
Joined 2004-01-19 00:00
22-year member
UID 15812
Gender Male
From 广东广州
Status Offline
No, you should also add EMM386.exe to help, only then can you effectively free up conventional memory space.
----====≡≡≡≡ 我的至爱,永远是MSDOS!≡≡≡≡====----
Floor 6 Posted 2005-11-14 21:55 ·  中国 广西 桂林 电信
初级用户
★★
Credits 176
Posts 74
Joined 2005-11-07 16:51
20-year member
UID 44761
Status Offline
DEVICE=HIMEM.SYS /TESTMEM:OFF /Q
device=EMM386.EXE NOEMS

I added them, but it still doesn't work
Floor 7 Posted 2005-11-14 21:59 ·  中国 广西 桂林 电信
初级用户
★★
Credits 176
Posts 74
Joined 2005-11-07 16:51
20-year member
UID 44761
Status Offline
By the way, what I want to add is PQMAGICE 8.05 FOR DOS, but this prompt appears as soon as I run it
Floor 8 Posted 2005-11-15 18:23 ·  中国 山东 济南 移动
钻石会员
★★★★★
Credits 10,056
Posts 3,041
Joined 2002-11-11 00:00
23-year member
UID 223
Gender Male
Status Offline
Please post your autoexec.bat and config.sys, and also the output of mem /c.

Haha, that's the good thing about DOS, everything is clear at a glance.
简单就是美
Floor 9 Posted 2005-11-15 19:01 ·  中国 广西 桂林 电信
初级用户
★★
Credits 176
Posts 74
Joined 2005-11-07 16:51
20-year member
UID 44761
Status Offline
CONFIG.SYS:

DEVICE=HIMEM.SYS /TESTMEM:OFF /Q
device=EMM386.EXE NOEMS

device=umbpci.sys
DEVICE=LOWDMA.SYS
DEVICE=XDMA.SYS /L
SHELL=COMMAND.COM /P /E:1024
DOS=HIGH,UMB,AUTO
FCBSHIGH=8,0
FILESHIGH=40
BUFFERSHIGH=30,0
STACKSHIGH=9,256
LASTDRIVEHIGH=Z

There's nothing resident in AUTOEXEC.BAT.

MEM/C listing:
Floor 10 Posted 2005-11-15 19:05 ·  中国 广西 桂林 电信
初级用户
★★
Credits 176
Posts 74
Joined 2005-11-07 16:51
20-year member
UID 44761
Status Offline
Where's the image?
Hehe, forgot to upload it.
It says the largest program size executable is 590K,
but as soon as I run PQMAGIC (version 8.05), it won't work and gives that prompt!

[ Last edited by coolboy163 on 2005-11-15 at 19:08 ]
Attachments
dos.JPG
Floor 11 Posted 2005-11-15 19:32 ·  中国 广东 广州 海珠区 电信
金牌会员
★★★★
D◎$ Fαп
Credits 4,562
Posts 1,883
Joined 2004-01-19 00:00
22-year member
UID 15812
Gender Male
From 广东广州
Status Offline
Then don't load the Chinese character support system. That way you'll generally have over 600KB of conventional memory.
----====≡≡≡≡ 我的至爱,永远是MSDOS!≡≡≡≡====----
Floor 12 Posted 2005-11-15 20:09 ·  中国 山东 济南 移动
钻石会员
★★★★★
Credits 10,056
Posts 3,041
Joined 2002-11-11 00:00
23-year member
UID 223
Gender Male
Status Offline
I don't understand why the OP wants to load both emm386 and umbpci at the same time
简单就是美
Floor 13 Posted 2005-11-15 20:22 ·  中国 广西 桂林 电信
初级用户
★★
Credits 176
Posts 74
Joined 2005-11-07 16:51
20-year member
UID 44761
Status Offline
Post #12
Many thanks~~~
I thought adding both wouldn't cause any problem.
Okay, I'll remove it and give it a try
Forum Jump: