General discussion

Locked

Guru of DOS, need your help

By TheChas ·
Hello, I am requesting the assistance of Guru of DOS, or anyone else who has a clear and concise understanding of how to maximize the amount of free conventional memory for a DOS program running under Windows.

Please post a comment to this discussion
http://tinyurl.com/758q

I will award the points after the comment is posted and reviewed.

Chas

This conversation is currently closed to new comments.

9 total posts (Page 1 of 1)  
| Thread display: Collapse - | Expand +

All Comments

Collapse -

Guru of DOS, need your help

by TheChas In reply to Guru of DOS, need your he ...

Specifically, the peer in question is having problems running a Fortran application from a DOS window on a system running XP.

Chas

Collapse -

Guru of DOS, need your help

by Ter1-Ter_Forde In reply to Guru of DOS, need your he ...

Comment posted in discussion!

Collapse -

Guru of DOS, need your help

by TheChas In reply to Guru of DOS, need your he ...

Thank you for your assistance.

Collapse -

Guru of DOS, need your help

by ptaylor In reply to Guru of DOS, need your he ...

In Win XP, find _default.pif file under C:Windows. It is a shortcut MS-DOS file. Right click for properties and the Conventional Memory settings are under the Memory tab. Hopefully, this will help with part of your question, as I wasn't sure if you didn't know where to find the settings or not sure on what the settings should be.

Collapse -

Guru of DOS, need your help

by TheChas In reply to Guru of DOS, need your he ...

The question is HOW to MAXIMIZE free conventional memory.

Collapse -

Guru of DOS, need your help

by fenaikh In reply to Guru of DOS, need your he ...

Hi
Since I a gree with you I posted these in the Discussion "Memory" but for others to see it here i repate it for other memebers to see.

Some old DOS programs thinks that.

DOS divided memory into five areas Conventional memory, Upper memory Area (UMA), High Memory Area (HMA), extended memory and expanded memory. DOS can access only the Conventional memory wich is up to 640kb using memeory managment software such as emm386.exe and himem.sys which comes with DOS and windows, then setting in config.sys such as device=path\himem.sys, device=emm386.exe /options (noems/RAM), DOS= HI,UMB, installhigh= , devicehigh= and using LH in autoexec.bat make it possible for DOS and other programs to use other areas of RAM.

The size of theexecutable program is not the same as how much it needs to run since it uses memory for execution code and data.

The out of memory issue could be caused by many reasons.
1. installed memory is Not enough.
Not the case since DOS programs onlyuse under 1MB
2. No installed memory management software.
Not the case since windows will handel that.
3. No enough disk storage.
?????? check your hard disk
4. No enough envirnmont varible space.
if it is the case increase it
5. Problem with the software its self.
In the 80's when PC use memory in the kb size we faced a problem with a fortran and other programs that says there were not enough memory when we have 640kb but if we decrease the memory to 256kb it was working fine, so the message was not telling what is realy happning. To solve this problem since we need more morey than the 256kb for other program somebody produced a program that make the programs think the system has only 256kb when it has more than that. to see if it is your case run Pure DOS then try your program.

6. Compatibility.
use XP Compatibility Mode
XP Compatibility Mode
http://www.microsoft.com/windowsxp/pro/using/ho

Collapse -

Guru of DOS, need your help

by TheChas In reply to Guru of DOS, need your he ...

Thank you for your assistance.

Collapse -

Guru of DOS, need your help

by TheChas In reply to Guru of DOS, need your he ...

Point value changed by question poster.

Collapse -

Guru of DOS, need your help

by TheChas In reply to Guru of DOS, need your he ...

This question was closed by the author

Back to Software Forum
9 total posts (Page 1 of 1)  

Related Discussions

Related Forums