1.

Solve : xms alloc error?

Answer»

I am currently working on a boot disk that will load drivers and such onto a ram drive. I am using xmsdsk.exe to make the drive.

I have the following in my config.sys file:

DEVICE=C:\DOS\HIMEM.SYS /TestMem:Off
DEVICEHIGH=c:\DOS\ifshlp.sys
files=30
DOS=HIGH,UMB
lastdrive=z

my batch file that LOADS the drivers has the following:

set PATH=R:\;R:\NET;C:\DOS
set TEMP=R:\net\TEMP
LOADHIGH=C:\dos\XMSDSK.EXE 2048 r: /T /Y
cd c:\PCI\net\B57
c:\dos\xcopy32 *.*/s r:>r:\temp.log
CD\
cd c:\PCI\net\Net
c:\dos\xcopy32 *.*/s r:\net>r:\temp.log
r:
LH \net\net initialize
\net\netbind.com
c:\dos\aname.exe
\net\tcptsr.exe
\net\tinyrfc.exe
\net\nmtsr.exe
\net\emsbfr.exe
CLS
\net\net start
\net\Net USE Z: %netloc%
Z:
C:\dos\mouse.com
C:\dos\XMSDSK.EXE /U /Y
C:\ghost\ghost.exe -auto -sure -z3
goto _END




The issue occurs when the following commad is ran.
LOADHIGH=C:\dos\XMSDSK.EXE 2048 r: /T /Y

I receive the xms alloc error

any ideas?

thank you,
Waynei found this:
Quote

This error appears on computers which have more than 32MB RAM, as most computers in our days do. Aladdin 'thinks' that it has too little RAM, and refuses to run. This error seems to pop up in pure DOS MODE only, not when you run the game under Windows. However, under Windows, you may EXPERIENCE sound problems, so you might want to run it in pure DOS. In which case, use the EATXMS program, as suggested by et2k, to occupy all the RAM except the last 32 megabytes.
Quote
search for the file eatxms.exe/com on search engine.after you get it,you have to "eat memory".for aladdin you need less then 32 mega.so if you have 64 megabyte,you should write something like eatxms 17000.now run aladdin normaily.for some sound cards,you have to wait for 1-2 min before the game starts.
ok but I am trying to run this on multiple systems. They will very in the amount of ram they have available to them.what is wrong with using RAMDISK.SYS to create a RAM disk?

it supports a switch for using extended memory.nothing I figured it out. We were using the /T switch on xmsdsk.exe. That works fine until you have more memory then 2048. I removed the switch and it now works fine.


Discussion

No Comment Found