![]() |
China DOS Union-- Unite DOS · Advance DOS · Grow DOS --Union site: www.cn-dos.net Forum site: www.cn-dos.net/forum |
| Guest | Log in | Register | Members | Search | China DOS Union |
|
中国DOS联盟论坛 The time now is 2026-08-14 03:10 |
47,811 topics / 349,897 posts / today 0 new / 48,256 members |
| DOS学习入门 & 精彩文章 (教学室) » [Help] program too big to fix in memory, how to solve it |
| Printable Version 1,219 / 12 |
| Floor1 coolboy163 | Posted 2005-11-14 16:09 |
| 初级用户 Posts 74 Credits 176 | |
|
[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 |
|
| Floor2 Michael | Posted 2005-11-14 18:37 |
| 钻石会员 Posts 3,041 Credits 10,056 | |
|
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 ] |
|
| Floor3 JonePeng | Posted 2005-11-14 19:22 |
| 金牌会员 Posts 1,883 Credits 4,562 From 广东广州 | |
|
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.
|
|
| Floor4 coolboy163 | Posted 2005-11-14 19:59 |
| 初级用户 Posts 74 Credits 176 | |
|
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? |
|
| Floor5 JonePeng | Posted 2005-11-14 20:56 |
| 金牌会员 Posts 1,883 Credits 4,562 From 广东广州 | |
|
No, you should also add EMM386.exe to help, only then can you effectively free up conventional memory space.
|
|
| Floor6 coolboy163 | Posted 2005-11-14 21:55 |
| 初级用户 Posts 74 Credits 176 | |
|
DEVICE=HIMEM.SYS /TESTMEM:OFF /Q
device=EMM386.EXE NOEMS I added them, but it still doesn't work |
|
| Floor7 coolboy163 | Posted 2005-11-14 21:59 |
| 初级用户 Posts 74 Credits 176 | |
|
By the way, what I want to add is PQMAGICE 8.05 FOR DOS, but this prompt appears as soon as I run it
|
|
| Floor8 Michael | Posted 2005-11-15 18:23 |
| 钻石会员 Posts 3,041 Credits 10,056 | |
|
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. |
|
| Floor9 coolboy163 | Posted 2005-11-15 19:01 |
| 初级用户 Posts 74 Credits 176 | |
|
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: |
|
| Floor10 coolboy163 | Posted 2005-11-15 19:05 |
| 初级用户 Posts 74 Credits 176 | |
|
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 (33.65 KiB) |
|
| Floor11 JonePeng | Posted 2005-11-15 19:32 |
| 金牌会员 Posts 1,883 Credits 4,562 From 广东广州 | |
|
Then don't load the Chinese character support system. That way you'll generally have over 600KB of conventional memory.
|
|
| Floor12 Michael | Posted 2005-11-15 20:09 |
| 钻石会员 Posts 3,041 Credits 10,056 | |
|
I don't understand why the OP wants to load both emm386 and umbpci at the same time
|
|
| Floor13 coolboy163 | Posted 2005-11-15 20:22 |
| 初级用户 Posts 74 Credits 176 | |
|
Post #12
Many thanks~~~ I thought adding both wouldn't cause any problem. Okay, I'll remove it and give it a try |
|
|
[ Contact the Union admin team -
中国DOS联盟 -
Standard version ] Sponsored by ifanr Inc | © 2001–2023 |