|
liuluanjun
初级用户
 
积分 26
发帖 11
注册 2009-12-11
状态 离线
|
『楼 主』:
maxdos 5.5s版如何实现支持2G以上内存?
使用 LLM 解释/回答一下
老大,你好,我一直都在用MAXDOS 5.5S的版本,用都有几年了,但是这个版本最高只能支持2G的内存,目前我还不喜欢V8的最新版本,请问老大改什么文件可以把这个版本能支持2G以上的内存,谢谢老大回复!
ERROR 29:Selected item cannot fit into memory
Press any key to continue........
提示就是这个,拔掉一条内存或者少于2G就可以用!
Boss, hello, I've been using the MAXDOS 5.5S version all the time, and I've been using it for several years. But this version can only support up to 2GB of memory at most. I don't like the latest version of V8 yet. May I ask Boss, which file should I modify to make this version support more than 2GB of memory? Thank you Boss for your reply!
ERROR 29: Selected item cannot fit into memory
Press any key to continue........
The prompt is this. I can use it by pulling out one memory stick or having less than 2GB!
|
|
2010-8-25 09:44 |
|
|
liuluanjun
初级用户
 
积分 26
发帖 11
注册 2009-12-11
状态 离线
|
『第 2 楼』:
使用 LLM 解释/回答一下
有朋友在的吗?我可以把DOS发给你看看的
Is there any friend here? I can send you DOS to have a look.
|
|
2010-8-25 16:44 |
|
|
bc12060101
银牌会员
    
积分 1455
发帖 712
注册 2006-1-20
状态 离线
|
『第 3 楼』:
使用 LLM 解释/回答一下
嘿嘿,将autoexec.bat文件发上来看看
Hehe, please post the autoexec.bat file for us to take a look.
|
|
2010-8-25 22:05 |
|
|
liuluanjun
初级用户
 
积分 26
发帖 11
注册 2009-12-11
状态 离线
|
|
2010-8-26 09:38 |
|
|
liuluanjun
初级用户
 
积分 26
发帖 11
注册 2009-12-11
状态 离线
|
『第 5 楼』:
使用 LLM 解释/回答一下
@echo off
if "%config%" == "NDIS" goto _NDIS
if "%config%" == "nFx" goto _nFx
if "%config%" == "GH" goto _GH
if "%config%" == "USB" goto _USB
if "%config%" == "help" goto _help
set EXPAND=YES
LH CTMOUSE >NUL
xmsdsk 4096 /y >NUL
findramd >NUL
md %ramdrive%\Tmp >nul
set temp=%ramdrive%\Tmp
set tmp=%ramdrive%\Tmp
path=%RAMDRIVE%\;a:\;%RAMDRIVE%\lan;
lh doskey > NUL
lh escape.exe > NUL
lh KILLER.exe > NUL
lh a:\shsucd.exe /D:mscd001 >NUL
pkzip -O A:\MAX.zip %RAMDRIVE%\ >NUL
pkzip -O A:\PKTBAT.zip %RAMDRIVE%\ >NUL
cls
findcd
findcdx /S
echo RAMDRIVE=%ramdrive%
goto _end
:_NDIS
prompt $p$g >nul
findramd.exe >nul
path=a:\;a:\drv;%ramdrive%;%ramdrive%\drv >nul
lh doskey.com >nul
md %ramdrive%\drv >nul
md %ramdrive%\Tmp >nul
set temp=%ramdrive%\TMP >nul
pkzip -O A:\MAX.zip %RAMDRIVE%\ >NUL
copy \drv\*.* %ramdrive%\drv >nul
copy a:\PROTMAN.EXE %ramdrive%\Drv\PROTMAN.EXE >nul
copy a:\NETBIND.COM %ramdrive%\Drv\NETBIND.COM >nul
%ramdrive% >nul
cls
call \drv\maxs.bat >nul
cd drv >nul
netbind >nul
cd\
echo.
findcd
echo.
a: >nul
goto _end
:_nFx
prompt $p$g >nul
findramd.exe >nul
path=a:\;a:\drv;%ramdrive%;%ramdrive%\drv >nul
lh doskey.com >nul
md %ramdrive%\drv >nul
md %ramdrive%\Tmp >nul
set temp=%ramdrive%\TMP >nul
pkzip -O A:\MAX.zip %RAMDRIVE%\ >NUL
netbind >nul
echo.
findcd
echo.
goto _end
:_GH
GHOST -clone,mode=pload,src=1:3\bak\sys.gho:1,dst=1:1 -sure -rb
goto _end
:_usb
set EXPAND=YES
set temp=c:\
set tmp=c:\
xmsdsk 4096 /y >NUL
findramd >NUL
path=%RAMDRIVE%\;a:\;%RAMDRIVE%\lan;
lh doskey > NUL
lh escape.exe > NUL
lh KILLER.exe > NUL
pkzip -O A:\MAX.zip %RAMDRIVE%\ >NUL
cls
echo.
findcd
echo.
goto _end
:_help
xmsdsk 4096 /y >NUL
findramd >NUL
path=%RAMDRIVE%\;a:\;%RAMDRIVE%\lan;
pkzip -O A:\MAX.zip %RAMDRIVE%\ >NUL
call help.bat
goto _end
:_end
@echo off
if "%config%" == "NDIS" goto _NDIS
if "%config%" == "nFx" goto _nFx
if "%config%" == "GH" goto _GH
if "%config%" == "USB" goto _USB
if "%config%" == "help" goto _help
set EXPAND=YES
LH CTMOUSE >NUL
xmsdsk 4096 /y >NUL
findramd >NUL
md %ramdrive%\Tmp >nul
set temp=%ramdrive%\Tmp
set tmp=%ramdrive%\Tmp
path=%RAMDRIVE%\;a:\;%RAMDRIVE%\lan;
lh doskey > NUL
lh escape.exe > NUL
lh KILLER.exe > NUL
lh a:\shsucd.exe /D:mscd001 >NUL
pkzip -O A:\MAX.zip %RAMDRIVE%\ >NUL
pkzip -O A:\PKTBAT.zip %RAMDRIVE%\ >NUL
cls
findcd
findcdx /S
echo RAMDRIVE=%ramdrive%
goto _end
:_NDIS
prompt $p$g >nul
findramd.exe >nul
path=a:\;a:\drv;%ramdrive%;%ramdrive%\drv >nul
lh doskey.com >nul
md %ramdrive%\drv >nul
md %ramdrive%\Tmp >nul
set temp=%ramdrive%\TMP >nul
pkzip -O A:\MAX.zip %RAMDRIVE%\ >NUL
copy \drv\*.* %ramdrive%\drv >nul
copy a:\PROTMAN.EXE %ramdrive%\Drv\PROTMAN.EXE >nul
copy a:\NETBIND.COM %ramdrive%\Drv\NETBIND.COM >nul
%ramdrive% >nul
cls
call \drv\maxs.bat >nul
cd drv >nul
netbind >nul
cd\
echo.
findcd
echo.
a: >nul
goto _end
:_nFx
prompt $p$g >nul
findramd.exe >nul
path=a:\;a:\drv;%ramdrive%;%ramdrive%\drv >nul
lh doskey.com >nul
md %ramdrive%\drv >nul
md %ramdrive%\Tmp >nul
set temp=%ramdrive%\TMP >nul
pkzip -O A:\MAX.zip %RAMDRIVE%\ >NUL
netbind >nul
echo.
findcd
echo.
goto _end
:_GH
GHOST -clone,mode=pload,src=1:3\bak\sys.gho:1,dst=1:1 -sure -rb
goto _end
:_usb
set EXPAND=YES
set temp=c:\
set tmp=c:\
xmsdsk 4096 /y >NUL
findramd >NUL
path=%RAMDRIVE%\;a:\;%RAMDRIVE%\lan;
lh doskey > NUL
lh escape.exe > NUL
lh KILLER.exe > NUL
pkzip -O A:\MAX.zip %RAMDRIVE%\ >NUL
cls
echo.
findcd
echo.
goto _end
:_help
xmsdsk 4096 /y >NUL
findramd >NUL
path=%RAMDRIVE%\;a:\;%RAMDRIVE%\lan;
pkzip -O A:\MAX.zip %RAMDRIVE%\ >NUL
call help.bat
goto _end
:_end
|
|
2010-8-26 09:40 |
|
|
fujianabc
金牌会员
     
积分 3467
发帖 1616
注册 2004-6-21
状态 离线
|
『第 6 楼』:
使用 LLM 解释/回答一下
按理dos 7.1的himem.sys支持3.25G的内存。
我在4G以上的机子上试过都没问题,只不过和xp一样只能识别3.25G而已
According to reason, himem.sys of DOS 7.1 supports 3.25G memory. I have tried it on a machine with more than 4G and it's all right, except that like XP, it can only recognize 3.25G.
|
|
2010-8-26 10:26 |
|
|
liuluanjun
初级用户
 
积分 26
发帖 11
注册 2009-12-11
状态 离线
|
『第 7 楼』:
使用 LLM 解释/回答一下
你好,老大,关键是还没有到那一步,他只加载到IMG镜像文件就报上面那些错了,根本就没有进去DOS?grldr 与这个文件有没有关系呢?
Hello, boss. The key is that it hasn't reached that step yet. It just reports the above errors when loading to the IMG image file, and hasn't entered DOS at all. Is there a relationship between grldr and this file?
|
|
2010-8-26 10:41 |
|
|
liuluanjun
初级用户
 
积分 26
发帖 11
注册 2009-12-11
状态 离线
|
『第 8 楼』:
使用 LLM 解释/回答一下
timeout 15
default 0
fallback 1
fontfile (hd0,0)/boot/maxs/fonts.gz
splashimage (hd0,0)/boot/maxs/maxlinux.gz
password --md5 $1$5$tVHk8H1dcQF4dx4IMQZy10
title 运行 全中文DOS启动盘!
root (hd0,0)
kernel (hd0,0)/boot/maxs/memdisk.gz c=60 h=4 s=36 floppy
initrd (hd0,0)/boot/maxs/pzzcn.gz c=60 h=4 s=36 floppy
#####
password --md5 $1$9$dL1c9RnwewzBSUaUdKxY8/
#####
title 调用 从光盘引导系统!
scdrom --bootcd
title 返回 WINDOWS启动菜单!
rootnoverify (hd0,0)
makeactive
chainloader +1
kernel (hd0,0)/boot/maxs/memdisk.gz c=60 h=4 s=36 floppy
initrd (hd0,0)/boot/maxs/pzzcn.gz c=60 h=4 s=36 floppy
就到这一条就过不去了!报上面的错误!
timeout 15
default 0
fallback 1
fontfile (hd0,0)/boot/maxs/fonts.gz
splashimage (hd0,0)/boot/maxs/maxlinux.gz
password --md5 $1$5$tVHk8H1dcQF4dx4IMQZy10
title Run All-Chinese DOS Boot Disk!
root (hd0,0)
kernel (hd0,0)/boot/maxs/memdisk.gz c=60 h=4 s=36 floppy
initrd (hd0,0)/boot/maxs/pzzcn.gz c=60 h=4 s=36 floppy
#####
password --md5 $1$9$dL1c9RnwewzBSUaUdKxY8/
#####
title Call Boot System from CD!
scdrom --bootcd
title Return Windows Boot Menu!
rootnoverify (hd0,0)
makeactive
chainloader +1
kernel (hd0,0)/boot/maxs/memdisk.gz c=60 h=4 s=36 floppy
initrd (hd0,0)/boot/maxs/pzzcn.gz c=60 h=4 s=36 floppy
Just got stuck at this one! The above error is reported!
|
|
2010-8-26 10:50 |
|
|
liuluanjun
初级用户
 
积分 26
发帖 11
注册 2009-12-11
状态 离线
|
『第 9 楼』:
使用 LLM 解释/回答一下
希望有高手帮我解决一下,我把
DOS打包上去大家帮我研究一下吧
Hope there are experts to help me solve it. I uploaded the DOS package, and everyone can study it.
|
|
2010-9-4 18:31 |
|
|
bc12060101
银牌会员
    
积分 1455
发帖 712
注册 2006-1-20
状态 离线
|
『第 10 楼』:
使用 LLM 解释/回答一下
嘿嘿,看了看5#提供的autoexec.bat,未发现什么问题。从8#提供的信息看,很有可能是引导器的问题。不妨使用新版的grub4dos引导看看。
方法如下:
在安装了maxdos_5.5s的硬盘上找出 c:\boot\maxs\pzzcn.gz 文件,并将 pzzcn.gz 更名为为 pzzcn.img ,该文件即为 maxdos 的正身。将该文件用新版的grub4dos引导试试。使用 pzzcn.img 我在手头的电脑上测试启动没有问题,但遗憾的是该电脑仅有2G内存,办公用的电脑才有4G的。
已在办公室的4G电脑上测试,证实使用新版g4d直接引导 pzzcn.img 可以正常启动。同时进行了仅仅更换memdisk来进行引导的测试(grub未更换,仍使用原来的版本),结果引导失败,提示信息为:Selected item cannot fit into memory
Last edited by bc12060101 on 2010-9-5 at 13:52 ]
Hehe, after looking at the autoexec.bat provided by 5#, no problems were found. From the information provided by 8#, it is very likely a problem with the bootloader. It is advisable to try booting with the new version of grub4dos.
The method is as follows:
Find the c:\boot\maxs\pzzcn.gz file on the hard disk where maxdos_5.5s is installed, and rename pzzcn.gz to pzzcn.img. This file is the real body of maxdos. Try booting with the new version of grub4dos. I tested the startup with pzzcn.img on the computer at hand and it was okay, but unfortunately this computer only has 2G of memory, and the office computer has 4G.
It has been tested on the 4G computer in the office, confirming that using the new version of g4d to directly boot pzzcn.img can start normally. At the same time, a test of only replacing memdisk for booting was carried out (grub was not replaced, still using the original version), and the result was a boot failure with the prompt message: Selected item cannot fit into memory
Last edited by bc12060101 on 2010-9-5 at 13:52 ]
|
|
2010-9-4 20:56 |
|
|
fujianabc
金牌会员
     
积分 3467
发帖 1616
注册 2004-6-21
状态 离线
|
『第 11 楼』:
使用 LLM 解释/回答一下
看来可能是memdisk版本的问题,用最新的memdisk试一下
It seems that it might be an issue with the version of memdisk. Try using the latest version of memdisk.
|
|
2010-9-4 21:49 |
|
|
liuluanjun
初级用户
 
积分 26
发帖 11
注册 2009-12-11
状态 离线
|
『第 12 楼』:
使用 LLM 解释/回答一下
应该不是memdisk版本的问题,我已经换过几个了还是不行!
It should not be the problem of the memdisk version. I have changed several ones but it still doesn't work!
|
|
2010-9-6 09:52 |
|
|
Climbing
铂金会员
       网络独行侠
积分 6962
发帖 2753
注册 2003-4-16 来自 河北保定
状态 离线
|
『第 13 楼』:
使用 LLM 解释/回答一下
我知道原因,这是xmsdsk的问题,也就是执行下面这一行时出的错误:
xmsdsk 4096 /y >NUL
原因是xmsdsk是一个太老的程序了,它最大只支持2G的内存,大于2G就要出错了,暂时来说没有可能去修改xmsdsk了。我的解决方案是使用微软的ramdisk.sys替换掉xmsdsk,虽然ramdisk.sys没有xmsdsk那么好用,但却不存在内存限制问题。
I know the reason, this is an issue with xmsdsk, that is, the error occurred when executing the following line:
xmsdsk 4096 /y >NUL
The reason is that xmsdsk is a very old program, it only supports up to 2GB of memory at most, and an error will occur if it exceeds 2GB. For the time being, there is no possibility to modify xmsdsk. My solution is to replace xmsdsk with Microsoft's ramdisk.sys. Although ramdisk.sys is not as easy to use as xmsdsk, it has no memory limit problem.
|

偶只喜欢回答那些标题和描述都很清晰的帖子!
如想解决问题,请认真学习“这个帖子”和“这个帖子”并努力遵守,如果可能,请告诉更多的人!
|
|
2010-9-10 01:37 |
|
|
fujianabc
金牌会员
     
积分 3467
发帖 1616
注册 2004-6-21
状态 离线
|
『第 14 楼』:
使用 LLM 解释/回答一下
Originally posted by Climbing at 2010-9-10 01:37 AM:
我知道原因,这是xmsdsk的问题,也就是执行下面这一行时出的错误:
原因是xmsdsk是一个太老的程序了,它最大只支持2G的内存,大于2G就要出错了, ...
支持这个解释,xmsdsk的确不能超过2G内存
Originally posted by Climbing at 2010-9-10 01:37 AM:
I know the reason. This is an issue with xmsdsk, that is, the error occurs when executing the following line:
The reason is that xmsdsk is a very old program. It only supports a maximum of 2GB of memory. An error will occur if it exceeds 2GB, ...
Support this explanation. xmsdsk indeed cannot exceed 2GB of memory
|
|
2010-9-10 09:27 |
|
|
bc12060101
银牌会员
    
积分 1455
发帖 712
注册 2006-1-20
状态 离线
|
  『第 15 楼』:
使用 LLM 解释/回答一下
嘿嘿,偶在10#已经说过了,“已在办公室的4G电脑上测试,证实使用新版g4d直接引导 pzzcn.img 可以正常启动。”
Climbing和fujianabc两位仁兄如何还能得出“xmsdsk是一个太老的程序了,它最大只支持2G的内存”的结论?
使用xmsdsk程序,只要不使用参数 /T(将内存盘定位于XMS内存的顶部),在4G的内存中使用就不会有问题。
发现这个问题还是缘于使用chenall兄的老版本的 MicroPE 在偶的新办公电脑(4G内存)上无法正常加载扩展驱动支持模块EXT_DRV.IMG ,后来将其 xmsdsk %ramdrv% 10240 /t /y 中的 /t 去掉,即可正常运行。
Last edited by bc12060101 on 2010-9-11 at 12:31 ]
Heheh, I already said in post #10 that "tested on a 4G computer in the office, and confirmed that using the new version of g4d to directly boot pzzcn.img can start normally." How can brothers Climbing and fujianabc still come to the conclusion that "xmsdsk is a too old program, it only supports up to 2G of memory at most"?
When using the xmsdsk program, as long as the parameter /T (which locates the memory disk at the top of XMS memory) is not used, there will be no problem when using it in 4G of memory.
I discovered this problem because the old version of MicroPE by brother chenall could not load the extended driver support module EXT_DRV.IMG normally on my new office computer (4G memory). Later, removing the /t in its xmsdsk %ramdrv% 10240 /t /y allowed it to run normally.
Last edited by bc12060101 on 2010-9-11 at 12:31 ]
|
|
2010-9-11 12:23 |
|