中国DOS联盟论坛

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-12 20:12
47,811 topics / 349,897 posts / today 0 new / 48,256 members
DOS学习入门 & 精彩文章 (教学室) » HWINFO503 reports “no enough memory”
Printable Version  1,798 / 2
Floor1 cyradg Posted 2006-08-19 08:42
初级用户 Posts 17 Credits 78
It just reports insufficient memory, and it happens while running. The contents of autoexec.bat are as follows:
@ECHO Off
PROMPT $p$g
LH Shsucdx.exe /D:IDE-CD /K /M:15 >NUL
FINDCD /s >nul
IF "%CDROM%"=="" GOTO no_cdrom

lh a:\SMARTDRV 4096
CLS
path %CDROM1%\;a:\;
%CDROM1%
CD\TOOLS\HWINFO
HWINFO.EXE
GOTO EXIT

:no_cdrom
echo error:no_cdrom
a:\
GOTO EXIT

:NO_FILE
ECHO ERROR:NO FOUND HWINFO
pause
GOTO EXIT

:EXIT

===============
The contents of config.sys are as follows:
BUFFERS=22,0
FILES=40
device=A:\himem.sys
DEVICEHIGH=Vide-cdd.sys /D:IDE-CD

Thanks.
Floor2 MYS Posted 2006-08-19 22:34
元老会员 Posts 1,637 Credits 5,170 From 广东佛山
You should add one line in config.sys:
dos=high
This way the DOS command interpreter will be placed in the HMA, freeing up 64K of space.
Also, you might as well move the line device=A:\himem.sys to the very top. I used HWINFO4.8 before and there was enough memory.
If there is still not enough memory, then you need to copy emm386.exe onto the floppy disk, and add one line after device=A:\himem.sys: device=a:\emm386.exe noems. If you haven't loaded emm386, the LH command is completely useless and won't save any memory.
Floor3 gund Posted 2009-03-11 22:20
新手上路 Posts 3 Credits 6
That's right, my 5.22 runs fine with these settings.
[ Contact the Union admin team - 中国DOS联盟 - Standard version ]
Sponsored by ifanr Inc | © 2001–2023