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-12 19:20
中国DOS联盟论坛 » DOS学习入门 & 精彩文章 (教学室) » HWINFO503 reports “no enough memory” View 1,797 Replies 2
Original Poster Posted 2006-08-19 08:42 ·  中国 江西 南昌 电信
初级用户
Credits 78
Posts 17
Joined 2005-11-18 22:01
20-year member
UID 45508
Status Offline
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.
Floor 2 Posted 2006-08-19 22:34 ·  中国 广东 佛山 电信
元老会员
★★★★
Credits 5,170
Posts 1,637
Joined 2002-10-16 00:00
23-year member
UID 8
Gender Male
From 广东佛山
Status Offline
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.
我的网志
http://hzmys.blog.163.com/
我的网盘
firststep.qjwm.com
fsmys.ys168.com
ssmys.ys168.com
www.brsbox.com/fsmys
www.brsbox.com/ssmys
www.brsbox.com/ccdos
Floor 3 Posted 2009-03-11 22:20 ·  中国 山西 运城 联通
新手上路
Credits 6
Posts 3
Joined 2008-07-07 11:05
18-year member
UID 121197
Gender Male
Status Offline
That's right, my 5.22 runs fine with these settings.
Forum Jump: