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-06-29 15:34
中国DOS联盟论坛 » DOS疑难解答 & 问题讨论 (解答室) » [Solved] Solutions for insufficient memory under DOS View 5,501 Replies 19
Original Poster Posted 2005-12-04 11:21 ·  中国 安徽 芜湖 电信
高级用户
★★★
Credits 866
Posts 415
Joined 2005-12-04 11:19
20-year member
UID 46459
Status Offline
The specific running situation is like this: There is a dual system of DOS 7.0 and XP. After entering pure DOS, run UCDOS to load the Chinese character font, and then run a financial software under DOS. But after opening it, it always prompts that there is not enough memory and it cannot run. If the UCDOS Chinese character font is not loaded, it can run. I have seen many methods on major forums about configuring the CONFIG.SYS file under DOS to obtain more memory to solve the problem, but it seems not very ideal. Either it freezes or the program cannot be exited after running. This computer could originally run, but the XP system was not very stable, so it was formatted and reinstalled, but I didn't expect to get this result. Is there any expert, master, or hacker who can help solve it? I am very grateful. Urgently waiting online.

[ Last edited by htysm on 2005-12-10 at 12:55 ]
Floor 2 Posted 2005-12-04 11:40 ·  中国 山东 济南 移动
钻石会员
★★★★★
Credits 10,046
Posts 3,039
Joined 2002-11-11 00:00
23-year member
UID 223
Gender Male
Status Offline
Have you ever tried the MSDOS 7.1 boot disk, with free base memory 630K. It's okay to post your mem /c output, preferably also config.sys and autoexec.bat
简单就是美
Floor 3 Posted 2005-12-04 11:55 ·  中国 安徽 芜湖 电信
高级用户
★★★
Credits 866
Posts 415
Joined 2005-12-04 11:19
20-year member
UID 46459
Status Offline
There is a bootable disk tried and it doesn't work. I downloaded a memory management software UMBPCI. After checking with MEM, the basic memory reaches up to 638KB, the upper memory reaches 96KB, and after running UCDOS, there are still about 600KB of free memory. UCODS runs in the upper memory. The autoexec.bat is all cleared, and the config.sys file configuration is as follows:
device=c:\himem.sys
DEVICE=C:\UMBPCI\UMBPCI.SYS /I=D800-EFFF
DEVICEhigh=C:\WINDOWS\EMM386.EXE X=D800-EFFF X=B800-C7FF I=C800-D7FF I=B000-B7FF
dos=high,umb
files=30
buffers=20
stacks=9,256
Floor 4 Posted 2005-12-04 14:45 ·  中国 安徽 芜湖 电信
高级用户
★★★
Credits 866
Posts 415
Joined 2005-12-04 11:19
20-year member
UID 46459
Status Offline
Moderator, come on!
Floor 5 Posted 2005-12-04 15:54 ·  中国 广东 广州 教育网
铂金会员
★★★★
C++启程者
Credits 5,154
Posts 1,827
Joined 2003-07-18 00:00
22-year member
UID 7105
Gender Male
Status Offline
There is a question:
Does the financial software under DOS itself not have Chinese display (is there an operation instruction)?

If not, try to load a small Chinese display program (such as Tianhui). In this way, the memory must not be a problem

UCDOS plus that financial software under DOS will definitely not be enough!
Floor 6 Posted 2005-12-04 15:56 ·  中国 山东 济南 移动
钻石会员
★★★★★
Credits 10,046
Posts 3,039
Joined 2002-11-11 00:00
23-year member
UID 223
Gender Male
Status Offline
I don't know, why do you load umbpci and emm386 at the same time?
简单就是美
Floor 7 Posted 2005-12-04 16:52 ·  中国 安徽 芜湖 电信
高级用户
★★★
Credits 866
Posts 415
Joined 2005-12-04 11:19
20-year member
UID 46459
Status Offline
The problem is that before re - installing without formatting, the computer could run these several software. At that time, I didn't pay attention, otherwise I would have backed up the previous configuration files. This financial software itself doesn't bring Chinese character libraries. If UCDOS is not run, all software can be run, but all are garbled. Also, if UMBPCI is not used, UCDOS will run in conventional memory, and the financial software runs even slower, and sometimes it can't run at all. There is one financial software that can run, but it freezes when exiting. I really don't know how the bird person who wrote this financial software wrote this bird software. There is no instruction manual. It seems that only the person who wrote this software can use it.
I want to ask how to capture screenshots in DOS. I have captured screenshots and come up to ask the experts to help solve it. Thanks!
Floor 8 Posted 2005-12-04 19:12 ·  中国 江西 抚州 电信
高级用户
★★★
中國DOS聯盟常任參議员
Credits 686
Posts 318
Joined 2005-11-04 13:00
20-year member
UID 77577
Gender Male
Status Offline
The person upstairs,, don't use it if you don't know how to use it
Also scold人家that the software is written badly,,, uncultured
Floor 9 Posted 2005-12-04 20:11 ·  中国 广东 广州 教育网
铂金会员
★★★★
C++启程者
Credits 5,154
Posts 1,827
Joined 2003-07-18 00:00
22-year member
UID 7105
Gender Male
Status Offline
Give it a try, just load EMM386.EXE..
DEVICE=EMM386.EXE RAM
Floor 10 Posted 2005-12-05 09:48 ·  中国 安徽 芜湖 电信
高级用户
★★★
Credits 866
Posts 415
Joined 2005-12-04 11:19
20-year member
UID 46459
Status Offline
On the 8th floor, do you know why there are so many rogue software nowadays? It's because there are too many scoundrels. If you use rogue software, it will make you want to die. It will make your computer run neither fast nor slow. Today it gives you this error, tomorrow it pops up that error. One moment this can't run, the next moment that can't run. After all the trouble, you even lose interest in going online.
If you only load EMM386.EXE, there is a financial software that can't exit. Once you exit it, the computer freezes. It's estimated that this software can only run in conventional memory.
Floor 11 Posted 2005-12-05 11:21 ·  中国 安徽 芜湖 电信
高级用户
★★★
Credits 866
Posts 415
Joined 2005-12-04 11:19
20-year member
UID 46459
Status Offline
The first CONFIG.SYS configuration:
device=c:\himem.sys
DEVICE=C:\UMBPCI\UMBPCI.SYS /I=D800-EFFF
DEVICEhigh=C:\WINDOWS\EMM386.EXE X=D800-EFFF X=B800-C7FF I=C800-D7FF I=B000-B7FF
dos=high,umb
files=30
buffers=20
stacks=9,256
All three financial software can run, but one software crashes when exiting.

The second CONFIG.SYS configuration:
device=c:\himem.sys
DEVICEhigh=C:\UMBPCI\UMBPCI.SYS /I=D800-EFFF
dos=high,umb
files=30
buffers=20
stacks=9,512
Two of the three financial software can run, and one prompts insufficient memory and exits automatically.

The results of MEM/C and MEM:
Attachments
mem&c.jpg
mem.jpg
Floor 12 Posted 2005-12-05 11:24 ·  中国 安徽 芜湖 电信
高级用户
★★★
Credits 866
Posts 415
Joined 2005-12-04 11:19
20-year member
UID 46459
Status Offline
The two pictures above are the situations of MEM/C and MEM without loading CONFIG.SYS and AUTOEXEC.BAT. Hope that some expert can solve the doubt.
Floor 13 Posted 2005-12-05 14:48 ·  中国 山西 太原 中移铁通
元老会员
★★★★
Batchinger
Credits 4,432
Posts 1,512
Joined 2002-10-18 00:00
23-year member
UID 19
Gender Male
Status Offline
Re htysm:

For some early relatively large DOS programs, they do have relatively strict requirements for the memory environment. They may not only require sufficient free base memory, but also may require sufficient UMB/EM/XM, and many programs also require sufficient stack/file/buffer. Therefore, the balanced use of memory is relatively difficult to master, and a multi-mode startup environment has thus become a need.

For your application program, I am not sure whether the program that crashes when exiting and the program that prompts insufficient memory are the same. At present, the only advice I can give is: disable umbpci, use only the ram parameter for emm386, and appropriately adjust the values of stack/file/buffer. If they are too small, they will not be sufficient for the program to use, and if they are too large, they will occupy too much memory space.
※ Batchinger 致 Bat Fans:请访问 批处理编程的异类 ,欢迎交流与共享批处理编程心得!
Floor 14 Posted 2005-12-05 15:35 ·  中国 安徽 芜湖 电信
高级用户
★★★
Credits 866
Posts 415
Joined 2005-12-04 11:19
20-year member
UID 46459
Status Offline
The moderator finally showed up, thank you very much ^O^ ^O^

The program that freezes when exiting and the program that prompts for insufficient memory are not the same program. Because we need to take into account that all three programs can run. If there were only one program, this problem wouldn't exist.

Also, I modified the values of stack/file/buffer and tried it no less than a hundred times. I also disabled UMBPCI and only used EMM386, and almost tried all the subsequent parameters. But one of the software freezes when exiting, and the other two software run well. It is estimated that this software cannot run in the expanded memory.

Can I upload these three DOS software? Can the moderator help me test them?
Floor 15 Posted 2005-12-05 18:44 ·  中国 山西 临汾 中移铁通
元老会员
★★★★
Batchinger
Credits 4,432
Posts 1,512
Joined 2002-10-18 00:00
23-year member
UID 19
Gender Male
Status Offline
Re htysm:

Of course, you can upload. Click "Reply" below the post to upload an attachment. However, depending on your level, the allowed attachment size may be insufficient. You can also send it to my email, which can be found in the "Email" button below my post. Also, I probably won't have time tonight, and I will start analyzing your program tomorrow morning.
※ Batchinger 致 Bat Fans:请访问 批处理编程的异类 ,欢迎交流与共享批处理编程心得!
Forum Jump: