Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

No DOS Forums

Status
Not open for further replies.

EST7745

IS-IT--Management
Joined
May 6, 2003
Messages
306
Location
US
Believe it or not, we still have one manufacturing PC running on DOS 6.22. Since TEK TIPS doesn't seem to have a DOS forum, I figured I'd post my question in here and maybe get lucky. I have configured my AUTOEXEC to load a program that we need to run on the system. Whenever the program attempts to initialize, I get the following error..

"DPMI error (0001): Insufficient memory for initialization."

What could be causing this? Is there any way I can tweak my memory? I've played around with MEMMAKER but haven't had any luck.
 
The DOS people seem to hang out in the w3 forum since that is the underlying OS. Plus we sometimes get ridiculed in the "big boy OS forums".

MEMMAKER is the tool of choice. But you can also do some stuff by hand in config.sys and autoexec.bat.

How much do you have and how much is free?



Ed Fair
Give the wrong symptoms, get the wrong solutions.
 
whats the program (is it commercial software?)

also, if you can post the full contents (cut n paste) of the autoexec and config.sys files, and amount of RAM the machine has, etc.
 
This is the contents of my AUTOEXEC.

ECHO OFF
CD\CHIPAWAY
LH /L:1,7616 PCCSTSR
LH /L:0;1,135952 /S C:\DOS\SMARTDRV.EXE /X
@ECHO OFF
PROMPT $p$g
PATH C:\NET;C:\DOS
SET TEMP=C:\temp
LH /L:0;1,40368 /S C:\NET\net initialize
LH /L:1,27680 C:\NET\nwlink
C:\NET\netbind.com
LH /L:0;1,736 /S C:\NET\umb.com
LH /L:0;1,76784 /S C:\NET\tcptsr.exe
LH /L:0 C:\NET\tinyrfc.exe
C:\NET\nmtsr.exe
C:\NET\emsbfr.exe
LH /L:0;1,976 /S C:\NET\net start
c:\NET
logon cutting
NET USE q: \\edgeseal_nt\USER
C:
cd c:\winframe
duoboot
winframe /5

This is the contents of my CONFIG

DEVICE=C:\DOS\HIMEM.SYS
DEVICE=C:\DOS\EMM386.EXE NOEMS X=C600-C6FF
BUFFERS=100,0
FILES=40
DOS=UMB
LASTDRIVE=Z
FCBS=4,0
DOS=HIGH
DEVICEHIGH /L:1,4656 =C:\NET\IFSHLP.SYS

Winframe is the program that I'm trying to run, it's not commercially distributed.
 
It may have already been tried but can you force nmtsr.exe and emsbfr.exe to load high?

example
LH C:\NET\nmtsr.exe
LH C:\NET\emsbfr.exe

Tim Roop
"If you can do something about it, why waste time getting upset? If you can't do anything about it, why bother getting upset on top of it? -Shantideva
 
Yes, I already tried this.
 
And what does mem tell you?

Ed Fair
Give the wrong symptoms, get the wrong solutions.
 
MEM tells me the following:

Total Used Free

Conventional 640k 283k 357k
Upper 155k 73k 82k
Reserved 384k 384k 0k
Extended (XMS) 11,109k 2,342k 8,767k

Total Memory 12,288k 3,082k 9,206k

Total under 1 MB 795k 355k 439k

Largest executable program size: 357k (365,600 bytes)
Largest free upper memory block: 82k (84,096 bytes)
MS DOS is resident in the high memory area.

 
357k is a bit low. Unless more can be moved to high memory you will have to remove some programs.

Do you have anything that falls into the "nice to have but not absolutely necessary" category?

Tim

Tim Roop
"If you can do something about it, why waste time getting upset? If you can't do anything about it, why bother getting upset on top of it? -Shantideva
 
also can use mem /c to see what is going where.

Looks like you can shuffle around 80k but that might not be enough. And smartdrv can probably go.

Ed Fair
Give the wrong symptoms, get the wrong solutions.
 
Isn't there a way to get the program to load into Extended memory? I have plenty of that available.
 
Also an important note is the fact that I REM'ed out all networking commands in my AUTOEXEC and now I'm looking at the following free space listed below and STILL can not load the program. The programs executable is 800k.

Conventional Free: 616k
Upper: 123k
Reserved: 0k
Extended: 8,832k
Total: 9,571k
Total under 1 MB: 739k
Largest executable program size: 616k
Largest free upper memory block: 107
 
But it won't take 800. Writers page stuff in and out as needed to fit the big programs into the 640. Time to look at something else. Just don't know what this instant.

Ed Fair
Give the wrong symptoms, get the wrong solutions.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top