LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > General
User Name
Password
General This forum is for non-technical general discussion which can include both Linux and non-Linux topics. Have fun! NOTE: All new threads will be moderated. Political threads will not be approved.

Notices


Reply
  Search this Thread
Old 08-11-2010, 05:55 AM   #1
czezz
Member
 
Registered: Nov 2004
Distribution: Slackware/Solaris
Posts: 953

Rep: Reputation: 44
DOS - I neet 500+ K free of of Conventional memory


Well... this topic definitly is not related to any *nix.
Just hope that some old-school-dos-user may read it.

What I need, is to create minimalistic DOS enviroment.
Using this link http://www.nu2.nu/bootdisk/network/ I have created a DOS box with:
- NIC drivers loaded (eg. PCnet - VMware for test)
- NetBIOS/SAMBA Client (Network Share)
It really works!

The problem is that all above left me 481 K of Conventional memory.
And I need to execute an old CLIPPER program which require 500+ K of Conventional memory

Does anyone of u guys, has idea or some trick/hack what to do ?
Here is config.sys

Code:
[menu]
menuitem=AUTO, Boot with emm386 (most compatible)
menuitem=MAX, Boot with emm386 (max memory)
menuitem=NOEMM, Boot without emm386
menuitem=CLEAN, Clean boot
menudefault=AUTO,5

[AUTO]
switches=/f
break=off
dos=high,umb
files=20
buffers=20
lastdrive=z
device=\bin\himem.sys /testmem:off /v
device=\bin\emm386.exe /v x=d000-d8ff h=128 noems notr
shell=\command.com /e:1024 /p
devicehigh=\bin\ifshlp.sys

[MAX]
switches=/f
break=off
dos=high,umb
files=20
buffers=20
lastdrive=z
device=\bin\himem.sys /testmem:off /v
device=\bin\emm386.exe /v h=128 noems
shell=\command.com /e:1024 /p
devicehigh=\bin\ifshlp.sys

[NOEMM]
switches=/f
break=off
dos=high,umb
files=20
buffers=20
lastdrive=z
device=\bin\himem.sys /testmem:off /v
shell=\command.com /e:1024 /p
device=\bin\ifshlp.sys

[CLEAN]
shell=\command.com /p
 
Old 08-11-2010, 07:05 AM   #2
pierre2
Member
 
Registered: May 2009
Location: Perth, AU
Distribution: LinuxMint
Posts: 390
Blog Entries: 9

Rep: Reputation: 88
It looks about right, from what I remember.

you could try using shell=\4dos.com - instead of the shell=\command.com

I used to use the MEMMAKER command to fine-tune the two boot-script(s).
after a while, I just did the same thing, manually.


can you "load high" any more device drivers?.

can you run the MEM command to see, just how the drivers are loading?.


in the line:- device=\bin\emm386.exe /v h=128 noems
why are you using the " /v h=128" part.


do you get any difference between Max & Auto ?, in your results?.
I used to put the Emm386 line in the "Main" section,
sometimes with the "Auto" switch

in the line:- shell=\command.com /e:1024 /p
you shouldn't need to set that environment , nor set it to permanent.

Last edited by pierre2; 08-11-2010 at 07:13 AM.
 
Old 08-17-2010, 01:59 PM   #3
peter1234
Member
 
Registered: Apr 2009
Posts: 42

Rep: Reputation: 2
hi There,

From what I remember.....
"MEMMAKER" is crap [inconsistant results, on reruns after resetting to intial state]
"386max" is not bad [need lot of reboots 10+ at setup to find the optimal config]
"Qemm" is one off the best memory manager at that time [typically 630+ K of Conventional memory]

Qemm provides, all of the below with one driver...(if I remember correctly)
Extended memory (XMS),
Expanded memory (EMS) [paged memory =slow]
Upper Memory Area (UMA) ~640Kib to 1024Kib
High Memory Area (HMA) ~1024Kib to 1088Kib

Do a google for qemm and have a look at the wiki page.

At work (if I remember correctly) using Qemm we usually get ~632K of Conventional memory, while loading the following:
-Command.com /e:512
-Mouse
-CDdriver.sys
-MSCD.exe
-setver.exe
-doskey
-country.sys
-smartdrv.exe
-Antivirus (TSR)
-no network drivers

Try ebay for qemm, If you manage to get qemm, put every thing in autoexec.bat and config.sys back to normal (no lh or devicehigh)
remove boot menu also, and install/setup qemm.

Out of curiosity what is your Actual/VM:
-CPU
-Total installed Ram
-And you Bus, is it ISA, EISA, VL, PCI
-What Dos are you using and the ver. number

You did not list your Autoaxec.bat file, also please run "c:\>mem /c/p" and list your output

If you want to stick with MS and/or MEMMAKER consider the following:
Reduce "Lastdrive=z" to lowest possible, higer the letter more ram used.
Reduce "shell=\command.com /e:1024 /p" e:1024 to lowest possible since it uses that much bytes.
Try reducing "buffers=" one by one and run all the apps and see if it is ok.
See if himem.sys ,emm386.exe, command.com and any thing else you load in autoexec.bat can be loaded high.
Also if I remember correctly the line "dos=high,umb" should appear after "himem.sys + emm386.exe line.

Try DR-DOS it can load most of itself in to umb + hma when configured propaley.

Since you have not stated your DOS + ver, you will have to read up on different DOS +ver (MS,DR ect) to see whichone can do what.

let us know what happens..

.

Last edited by peter1234; 08-18-2010 at 01:37 AM. Reason: adding more info & asking more info.
 
Old 08-17-2010, 10:37 PM   #4
joec@home
Member
 
Registered: Sep 2009
Location: Galveston Tx
Posts: 291

Rep: Reputation: 70
It has been about a decade or so since I needed to know any of this stuff, but for plain old DOS you want to try to load what you can into Upper Memory UMA which is the memory segment from 641K to 1027K. The problem with Extended Memory (XMS) and Expanded memory (EMS) is that if a program was not specifically written to access those memory areas then it is useless. You would need to do your homework and check the documentation on the program to see if it access memory resident RAM drivers. You might also hunt around for an old copy of Windows 3.1 for Networks, Windows 95, or Windows 98. so like Windows 98 had a reboot into DOS option with network drivers. You might have better luck with where the network drivers get loaded.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Can't Install from DOS. Please help me. junglemike Slackware 6 04-06-2006 01:43 AM
Executing Perl under Dos /Creating an executable for DOS alix123 Programming 1 02-15-2006 04:07 AM
Dos Emulator without Dos dtheorem Linux - Software 1 10-14-2003 01:18 PM
Dos Emulator without Dos dtheorem Linux - Software 1 10-14-2003 12:52 PM
Dos Eits0 General 2 06-06-2002 01:10 AM

LinuxQuestions.org > Forums > Non-*NIX Forums > General

All times are GMT -5. The time now is 03:36 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration