Go Back   Forums > Abandonia.com > Troubleshooting
Memberlist Forum Rules Search Today's Posts Mark Forums Read
Search Forums:
Click here to use Advanced Search

Reply
 
Thread Tools Display Modes
Old 31-05-2008, 05:15 AM   #1
bertoche
Newbie

 
Join Date: Feb 2008
Location: Teresopolis, Brazil
Posts: 6
Default EMS memory; Real DOS

Can't play Dawn Patrol due lack of ems memory. Still can't play removing "NOEMS": doesn't have enough conventional memory, cause HiMemory turns out, and all drivers are loaded in conventional memory.


config.sys
Code:
[menu]
menuitem=Win98, Iniciar Windows 98
menuitem=dos, Iniciar MS-DOS
menudefault=Win98,3
[common]

[dos]
DEVICEHIGH=C:\WINDOWS\HIMEM.SYS
DEVICEHIGH=C:\WINDOWS\EMM386.EXE NOEMS
DOS=HIGH,UMB
BUFFERSHIGH=30,0
FILES=50
Country=055,850,C:\WINDOWS\COMMAND\country.sys
devicehigh=C:\windows\oakcdrom.sys /d:cdrom
DEVICEHIGH=C:\WINDOWS\COMMAND\ANSI.SYS
DEVICEHIGH=C:\OPL3SA\SACDROM.SYS /P0 /IOFF /A0
DEVICEHIGH=C:\WINDOWS\COMMAND\display.sys con=(ega,,1)
[Win98]
DEVICE=C:\WINDOWS\HIMEM.SYS
BUFFERS=40
FILES=99
STACKS=32,512
DEVICE=C:\WINDOWS\COMMAND\ANSI.SYS
[Autoexec.bat]
Code:
ECHO OFF
GOTO  %CONFIG%

:DOS
LH C:\WINDOWS\COMMAND\DOSKEY /INSERT BUFSIZE=1024
SET DIRCMD=/O:GN/W/P
SET BLASTER=A220 I5  D1 T4
LH C:\MOUSE\MOUSE
LH MSCDEX /D:CDROM
MODE CON CODEPAGE PREPARE=((850) C:\WINDOWS\COMMAND\EGA.CPI)
MODE CON CODEPAGE SELECT=850
LH KEYB BR,,C:\WINDOWS\COMMAND\KEYBRD2.SYS /ID:275
LH C:\SA\SETUPSA.EXE /S
PROMPT $T$H$H$H$H$H$H $P$G
GOTO END

:WIN98
C:\WINDOWS\COMMAND\DOSKEY /INSERT BUFSIZE=1024
SET DIRCMD=/O:GNP /W/P
WIN

:END
bertoche is offline                         Send a private message to bertoche
Reply With Quote
Old 31-05-2008, 05:50 AM   #2
Geezer
Abandonia Homie
 
Geezer's Avatar

 
Join Date: Feb 2007
Location: Brooklyn, United States
Posts: 667
Default

First don't load HIMEM.SYS or EMM386 using DEVICEHIGH. The memory managers need to be in conventional memory. You've got way more going into upper memory than is going to fit anyway. Load as many of the other device drivers high as you can. REM the device drivers that are not necessary to play the game. In this case I don't think you need the CDROM so you can put REM at the front of lines that have to do with the CDROM drivers so that they will be ignored. That will free up memory. The order that you load drivers into upper memory has a lot to do with how many will actually fit up there. A driver will always load into the biggest available block. Try loading the largest drivers (config.sys) and memory resident programs (autoexec.bat) first. You can monitor which drivers/programs were loaded in upper memory by using the mem /c command after the boot is complete. The mem command will also tell you the "largest executable program size". If you know the requirements of the game you will know if it will run without having to try it.

Also, you have your FILES and BUFFERS set pretty high. Try FILES=30 and BUFFERS=20

If you are worried about losing track of all the changes then make a boot disk with only the drivers you need and boot with that to play the game.
__________________
"The gadfly has returned! Thou simpering, whining stable dropping. I have defeated thee repeatedly and still thou darest crawl back for more punishment. Chastise thee I shall. Thy stature is insignificant and thy name moronic. Brother to the vole! Offspring of money grubbing know nothings!" ... Spellcraft: Aspects of Valor

Last edited by Geezer; 31-05-2008 at 07:04 AM.
Geezer is offline                         Send a private message to Geezer
Reply With Quote
Old 01-06-2008, 04:57 PM   #3
bertoche
Newbie

 
Join Date: Feb 2008
Location: Teresopolis, Brazil
Posts: 6
Default

Ok, thank you. But loading emm386 and himem with DEVICE will free Hi memory AND EMS memory?
bertoche is offline                         Send a private message to bertoche
Reply With Quote
Old 01-06-2008, 05:44 PM   #4
Geezer
Abandonia Homie
 
Geezer's Avatar

 
Join Date: Feb 2007
Location: Brooklyn, United States
Posts: 667
Default

Quote:
Originally Posted by bertoche View Post
Ok, thank you. But loading emm386 and himem with DEVICE will free Hi memory AND EMS memory?
HIMEM is what makes the high memory area available. It wouldn't make sense to be able to load it in high memory when high memory isn't available yet. DOS=HIGH then instructs DOS to load itself into the high memory. DOS=HIGH, UMB instructs DOS to manage the upper memory blocks made available by EMM386. EMM386 is what makes expanded memory available to programs. It uses upper memory (64 kb) but resides in conventional memory.

That is why the order should be as follows
DEVICE={path}HIMEM.SYS
DOS=HIGH, UMB
DEVICE={path}EMM386.EXE (with whatever switches are appropriate ie NOEMS)

You can then use the LOADHIGH command to load drivers/programs into the memory areas made available by the above.
__________________
"The gadfly has returned! Thou simpering, whining stable dropping. I have defeated thee repeatedly and still thou darest crawl back for more punishment. Chastise thee I shall. Thy stature is insignificant and thy name moronic. Brother to the vole! Offspring of money grubbing know nothings!" ... Spellcraft: Aspects of Valor

Last edited by Geezer; 01-06-2008 at 05:48 PM.
Geezer is offline                         Send a private message to Geezer
Reply With Quote
Old 03-06-2008, 01:30 PM   #5
dosraider
Dismembered.
 
dosraider's Avatar

 
Join Date: Aug 2007
Location: Dixmuide, Belgium
Posts: 2,767
Default

Quote:
Originally Posted by bertoche View Post
Can't play Dawn Patrol due lack of ems memory. Still can't play removing "NOEMS": doesn't have enough conventional memory, cause HiMemory turns out, and all drivers are loaded in conventional memory.
All that JMB said and try this:
device=c:\windows\emm386.exe 1024 RAM
or
device=c:\windows\emm386.exe 2048 RAM

This gives you 1-2Mb expanded memory, should be enough and gives you sufficient free high mem blocks to load the others in high mem.
If you don't add the MB restriction emm386 uses all free blocks for the mempaging.

[Edit]
Added RAM , forgot that one ....
__________________

Not a member of The Victorious People's Shoutbox Liberation Army.
Not a member of the GAG Guerrilla. Don't get A Grip!
FOR RENT
*Advertising space*

Last edited by dosraider; 03-06-2008 at 05:29 PM.
dosraider is offline                         Send a private message to dosraider
Reply With Quote
Reply


Similar Threads
Thread Thread Starter Forum Replies Last Post
And your real name is? Sebatianos Blah, blah, blah... 264 04-01-2020 03:57 AM
Real War [SOLD] USMC0705 Rejected requests 6 08-05-2010 07:32 PM
Real Pcs Grinder Tech Corner 17 13-07-2009 11:22 PM
Real Names Sebatianos Blah, blah, blah... 429 26-11-2007 11:48 AM
Best Real Dos? madcrow Tech Corner 10 31-03-2005 04:51 PM

Thread Tools
Display Modes

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is On
Forum Jump
 


The current time is 06:02 PM (GMT)

 
Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.