MSFN Forum: Help: I need to Get 2GB installed RAM working in Win98SE - MSFN Forum

Jump to content


  • 7 Pages +
  • « First
  • 2
  • 3
  • 4
  • 5
  • 6
  • Last »
  • You cannot start a new topic
  • You cannot reply to this topic

Help: I need to Get 2GB installed RAM working in Win98SE Limiting MaxPhysPage/MaxFileCache doesn't work Rate Topic: -----

#61 User is offline   galahs 

  • Advanced Member
  • PipPipPip
  • Group: Members
  • Posts: 401
  • Joined: 01-December 05

Posted 22 February 2008 - 07:27 AM

I am a little rusty but I think this is it. Someone please correct me if I'm wrong.


From memory windows starts to install, but on its first restart it crashes right?



So let it start to install as normal, then when it gives you the error about not enough memory to initialise...



You have to use a boot disk to get to a command prompt.


Put in a boot disk, press Ctrl-alt-delete to restart the computer




Then type EDIT

The press "Alt F" to open the file menu. Scroll down and select OPEN

Browse your file system and find system.ini in your WINDOWS folder.

Add the line:

MaxPhysPage=30000

save

Close

press ctrl-alt-delete to reboot again


Windows should continue its setup process.

This post has been edited by galahs: 22 February 2008 - 07:28 AM



#62 User is offline   RetroOS 

  • Senior Member
  • PipPipPipPip
  • Group: Members
  • Posts: 531
  • Joined: 26-June 07
  • OS:98SE
  • Country: Country Flag

Posted 22 February 2008 - 05:27 PM

View Postgalahs, on Feb 23 2008, 02:27 AM, said:

...
Add the line:

MaxPhysPage=30000
...

MaxPhysPage=30000 has to under the [386Enh] section of SYSTEM.INI.
You will need to put MaxFileCache=65536 under the [vcache] section in SYSTEM.INI.
If there is no [vcache] section then just add it to the end of the file.
After Windows has installed, you can experiment with these values to find optimal maximums.
You can get to a 98SE command prompt by holding the Ctrl key as Windows starts.
You may need to hold the Ctrl key just after the computer beeps after the POST.
The Microsoft Windows 98 Startup Menu will appear. Select Safe mode command prompt only.
This can also be used when you are testing values of the above and Windows does not start.
From the command prompt, type edit c:\windows\system.ini
Use the Alt key to bring up the Edit menu.

#63 User is offline   StarRiver 

  • Newbie
  • Group: Members
  • Posts: 14
  • Joined: 13-January 07

Posted 22 February 2008 - 11:54 PM

Does anyone use 2G RAM and Video Card with 256MB RAM can boot win98 successful ?
My Video Card is GeForce 6800Ultra , and I try to edit system.ini with any possible config but I can't find anyway to boot win98 successful........................... :(

#64 User is offline   dencorso 

  • Adiuvat plus qui nihil obstat
  • Group: Super Moderator
  • Posts: 4,862
  • Joined: 07-April 07
  • OS:98SE
  • Country: Country Flag

Posted 23 February 2008 - 01:33 PM

View PostStarRiver, on Feb 23 2008, 03:54 AM, said:

Does anyone use 2G RAM and Video Card with 256MB RAM can boot win98 successful ?
My Video Card is GeForce 6800Ultra , and I try to edit system.ini with any possible config but I can't find anyway to boot win98 successful........................... :(

Well, the last resort is to try rloew's RAM Limitation Patch. It's not for free, though. But the demo is, so you can test and see whether it solves your problem. HTH.

#65 User is offline   vick1111 

  • Newbie
  • Group: Members
  • Posts: 26
  • Joined: 17-November 07

Posted 24 February 2008 - 07:05 AM

Has anyone in this forum used with success Loewe patch complete version?

This post has been edited by vick1111: 24 February 2008 - 07:06 AM


#66 User is offline   dencorso 

  • Adiuvat plus qui nihil obstat
  • Group: Super Moderator
  • Posts: 4,862
  • Joined: 07-April 07
  • OS:98SE
  • Country: Country Flag

Posted 25 February 2008 - 09:43 PM

View Postvick1111, on Feb 24 2008, 11:05 AM, said:

Has anyone in this forum used with success Loewe patch complete version?


Not anyone I know of. But people elsewere reported favorably on it.
See this thread on Tutorials-Win.com: Windows 98 SAFE mode with 1.5GB RAM - Microsoft Windows Forum.

#67 User is offline   xrayer 

  • RayeR
  • PipPip
  • Group: Members
  • Posts: 140
  • Joined: 15-May 07
  • OS:98SE
  • Country: Country Flag

Posted 23 March 2008 - 10:18 PM

View PostStarRiver, on Feb 23 2008, 06:54 AM, said:

Does anyone use 2G RAM and Video Card with 256MB RAM can boot win98 successful ?


Yes, this is now also my case of troubles:

I still use Win98SE (multiboot with DOS, WXP, Linux) and I just upgraded
RAM from 1GB to 2GB (my system is 945/ICH7 mb & 7600GS PCIE 256M VGA).
I hadn't any problems under 98SE with 1G, as I know about VCACHE issue I
limited it in system.ini:

MaxFileCache=261120
MinFileCache=32768
ChunkSize=4096
...
MaxPhysPage=40000

As this works fine I didn't expected further problems with adding
more mem. I just pull two 1G DIMMs and when 1st booting 98SE it
hangs in text mode screen with blinking cursor. I tried safe mode
but got insufficent memory message during boot. When I tried normal
mode again, it went further but I got only VGA mode 640x480/16
with message "There is a problem with your display settings. The
adapter type is incorrect, or the current settings do not work
with your hardware [OK]". Then display dialog appeared. I tried
to set some higher resolution, reboot but then it hanged again.

I search a lot of topic on web and try adjusting vcache size and
lowering physpage limit, even some patched vcache.vxd but nothing
helped.

I also found Loew's memory limit patch demo. 1st problem was that I
use czech win98se so patch didn't applied. I had to seek some
torrents to get eng. ISO. I backup my system and made clean
win98se-eng installation. I needed to modify system.ini physpage
to complette installation to solve insuficent memory error.
System seemed to work OK with 2GB installed - seeing only 1GB.
But after I installed ForceWare 82.69 drivers for my nVidia
it become unbootable like my CZ version, hanging during boot.
So then I tried Loew's parch 3.2 demo. Now it successfully patched
the english files. I booted safe mode and it booted OK and
even show up all 2GB.
http://rayer.ic.cz/350d/WIN2GBPT.PNG

Well but the problem is that in safe mode VGA drivers are not
loaded so I cannot see if it will works together like in normal
mode. I don't need to use whole 2GB under 98SE (1G is enough) I
just want boot it in normal mode with display driver in usable
resolution.

I also tried to change VGA to my older 6600GT 128MB and same problem.
It seems like VGA LFB memory mapping conflicts with something else.
But I don't understand why. If I'm right, W9x use for this system area
located C0000000-FFFFFFFF. My VGA use LFB at always at D0000000-DFFFFFFF
despite I use 1GB or 2GB RAM it's in system area where it fitted well before.

Do you think that Loew's patch (full) will solve it or is there other way
to use it with limited memory?

Can be size of memory limited at very low HW level? I mean e.g. program
945 MCH chipset to temporary disable one DIMM bank to reach same
effect like when DIMM removed physically?

#68 User is offline   xrayer 

  • RayeR
  • PipPip
  • Group: Members
  • Posts: 140
  • Joined: 15-May 07
  • OS:98SE
  • Country: Country Flag

Posted 30 March 2008 - 09:03 AM

Problem (partially) solved!
After some days of messing I finally found HimemX XMS manager freely available here http://japheth.de/Jemm.html
which allows you to limit XMS size by /MAX= option. After I limit XMS to 1GB it boots and seems to work fine!
Of course windows sees then only 1GB but it's acceptable for me, I don't need then any commercial patch.

Here's my lines of system.ini:

[386Enh]
MaxPhysPage=40000

[vcache]
MaxFileCache=261120
MinFileCache=32768
ChunkSize=4096

#69 User is offline   galahs 

  • Advanced Member
  • PipPipPip
  • Group: Members
  • Posts: 401
  • Joined: 01-December 05

Posted 31 March 2008 - 12:53 AM

Thanks xrayer .


Could you write a quick step to step of how to install and use this Expanded Memory Manager


This will come in handy more and more in the future, no doubt.

This post has been edited by galahs: 31 March 2008 - 01:03 AM


#70 User is offline   RetroOS 

  • Senior Member
  • PipPipPipPip
  • Group: Members
  • Posts: 531
  • Joined: 26-June 07
  • OS:98SE
  • Country: Country Flag

Posted 31 March 2008 - 02:55 AM

View Postxrayer, on Mar 31 2008, 03:03 AM, said:

Problem (partially) solved!
After some days of messing I finally found HimemX XMS manager freely available here http://japheth.de/Jemm.html
which allows you to limit XMS size by /MAX= option. After I limit XMS to 1GB it boots and seems to work fine!
Of course windows sees then only 1GB but it's acceptable for me, I don't need then any commercial patch.
...

Nice!

xrayer, does this also let you boot into Safe Mode?
This was always a problem with 1.5GB or more of RAM since the SYSTEM.INI memory settings are ignored in Safe Mode.
I wonder if by limiting RAM at the XMS manager level, it might be possible to get more RAM available to Windows than the current maximum 1152MB?
1280MB?
Something to look at!

#71 User is offline   xrayer 

  • RayeR
  • PipPip
  • Group: Members
  • Posts: 140
  • Joined: 15-May 07
  • OS:98SE
  • Country: Country Flag

Posted 31 March 2008 - 04:16 AM

Currently, with only replacing the himem.sys its unable to boot safemode coz windoze then load himem.sys on its own. But I found the strings in IO.SYS and patched and then it run also in safemode. I will program some small patch utility to rewrite it.
Installation of himemx.exe is quite esay, just download it, extract himemx.exe to windows directory and replace the line in config.sys to calling this driver. It has regular EXE stub so you can type "himemx.exe" in command line to get help, also there is included documentation and source code :) Thanks to Japheth maintaining it.

This post has been edited by xrayer: 31 March 2008 - 04:20 AM


#72 User is offline   dencorso 

  • Adiuvat plus qui nihil obstat
  • Group: Super Moderator
  • Posts: 4,862
  • Joined: 07-April 07
  • OS:98SE
  • Country: Country Flag

Posted 31 March 2008 - 11:45 PM

You might want to try patch.exe, from KanastaCorp: it's freeware, very small and very simple to use.

I think you should add Xeno86's fixed VCache.VxD to your system, at least because, when in Safe Mode, as you know, system.ini is ignored, so that your system is at risk of crashing from VCache getting too big. It gives you a default of 393216 (384 MB), which is much safer than 800 MB, and you still can keep your MaxFileCache=261120 entry in system.ini file, for normal mode operation.

And, finally, if you feel like it and have time to do it, I'd much appreciate to know how your system behaves when limited to 1280 MB and to 1536 MB, with a XMSDSK of 262240 and MaxFileCache=114688. Yes, these are the settings that work in my 1.5 GB system, but I use a 32 MB video board with 64 MB AGP aperture... My guess is that your system won't work with 1.5 GB but may possibly do so with 1.25 GB. Since you are the first to discover that windows 9x/ME in fact does not directly detect how much RAM the system has, but relies instead in what the XMS manager tells it, you should also be the first to explore the tweaking possibilities this knowledge opens up to all of us.

You rock! :thumbup

#73 User is offline   xrayer 

  • RayeR
  • PipPip
  • Group: Members
  • Posts: 140
  • Joined: 15-May 07
  • OS:98SE
  • Country: Country Flag

Posted 01 April 2008 - 04:51 AM

Hi,
I wrote a small patch yesterday http://www.volny.cz/...os/w98iopat.exe which fix IO.SYS to load himemx.exe instead of himem.sys for safe mode. I don't have problems with crashing in safemode (btw I know about mentioned fixed vcache.vxd). Just copy patch to root dir beside io.sys and run it (make backup before).

I didn't much experimended how can be RAM increased, I just try a few values 1.5G 1.25G (physpage=60000 resp 50000) and it hangs during boot so I gave it up, some additional few megs + are not much important for me, I need stable system. I laso tried to eat excesive RAM with XMSDSK but it didn't work for me.

#74 User is offline   StarRiver 

  • Newbie
  • Group: Members
  • Posts: 14
  • Joined: 13-January 07

Posted 01 April 2008 - 09:47 AM

Thanks for xrayer :thumbup I also multiboot Win98 and WinXP with 2GB RAM successful while use HimemX.exe :thumbup

Here's my win98's modify steps

1. Download HimemX from http://japheth.de/Jemm.html

2. Copy himemx.exe to win98 directory

3. Add the line in config.sys

DEVICE=C:\WIN98\HIMEMX.EXE

4. Here's my lines of system.ini:

[386Enh]
MaxPhysPage=48000
MinSPs=16
ConservativeSwapfileUsage=1
DMABufferSize=64

[vcache]
MaxFileCache=65535
ChunkSize=1024

After these step, I boot win98 with 2G RAM successful

In winXP, the sysem can detect 2GB RAM
Posted Image

And in win98, the system can detect 1150MB RAM
Posted Image

#75 User is offline   fhub 

  • Newbie
  • Group: Members
  • Posts: 20
  • Joined: 28-March 08

Posted 01 April 2008 - 02:55 PM

Hi xrayer,

View Postxrayer, on Apr 1 2008, 12:51 PM, said:

I wrote a small patch yesterday http://www.volny.cz/...os/w98iopat.exe which fix IO.SYS to load himemx.exe instead of himem.sys for safe mode.


I think there might be a little problem with your IO.SYS patch!?

Look at the bytes in the following 2 lines: (o=0x0, d=0xd)
\HIMEM.SYSo/TESTMEM:ONdoo
\HIMEMX.EXEo/MAX=999999do

Since HIMEMX.EXE is one byte longer than HIMEM.SYS, the termination zero-byte 0x0 is moved one byte to the right by your patch. But this is exactly the byte where the HIMEM parameter /TESTMEM starts. So if IO.SYS is using the usual method of addressing strings (with a fixed address table), and I´m quite sure it indeed does it this way, then this address pointer for the parameter now points to this zero-byte (instead of the starting ´/´ of /MAX=...). So this parameter /MAX=999999 isn´t used at all by IO.SYS, I´m afraid! :(

A simple solution would be to just rename HIMEMX.EXE to HIMEM.EXE, so the length would be the same as HIMEM.SYS and the terminating zero-byte doesn´t need to be moved.
Furthermore you could now even use 1 full GB (1048576) instead of 999999, because after the /TESTMEM string there are 2 zero-bytes (but only 1 is needed of course), so you could increase the string length by 1 byte.

This post has been edited by fhub: 01 April 2008 - 02:57 PM


#76 User is offline   xrayer 

  • RayeR
  • PipPip
  • Group: Members
  • Posts: 140
  • Joined: 15-May 07
  • OS:98SE
  • Country: Country Flag

Posted 01 April 2008 - 05:12 PM

View Postfhub, on Apr 1 2008, 10:55 PM, said:

I think there might be a little problem with your IO.SYS patch!?

Look at the bytes in the following 2 lines: (o=0x0, d=0xd)
\HIMEM.SYSo/TESTMEM:ONdoo
\HIMEMX.EXEo/MAX=999999do


Good poit, can we display or log what will io.sys really call?
Anyway renaming to himem.exe is the simplest way to be sure.
Another thing is if /MAX= is needed at all, StarRiver claims
he run without this parameter. Hm, I will need to do some
more testing.

#77 User is offline   xrayer 

  • RayeR
  • PipPip
  • Group: Members
  • Posts: 140
  • Joined: 15-May 07
  • OS:98SE
  • Country: Country Flag

Posted 01 April 2008 - 07:43 PM

Shortly

1) I upgraded io.sys patch to replace himem.sys by himem.exe so rename of the file is needed

2) I can confirm that /max=... parameter IS NOT really needed in config sys (so then I wondew why MS himem.dont work and this himemx works)

3) I did a finetune of MaxPhysPage and ended at value 488FF. Crazy is that when I set 1st itme edit 40000 to 48000 it booted but in VGA mode and display ed error of VGA configuration and open resolution change CPL. But whe I go back an increment MaxPhysPage with smaller steps and do rebooting between every change I was able to reach 488FF (over I got insufficent memory). I tried also xmsdsk again but always got VFAT error BSOD.

Posted Image

#78 User is offline   dencorso 

  • Adiuvat plus qui nihil obstat
  • Group: Super Moderator
  • Posts: 4,862
  • Joined: 07-April 07
  • OS:98SE
  • Country: Country Flag

Posted 01 April 2008 - 11:28 PM

Congratulations, xrayer!
Now your system is detecting the maximum amount of memory that Win 98SE can detect (for more see this link). Win ME, on the other hand, is known to detect about 1995 MB, but I've never had any success in devising a patch for having vmm.vxd v. 4.90.0.3003 load with Win 98SE. That vmm seems to be much different from v. 4.10.2226, so perhaps it is impossible to have it working in Win 98SE...

View Postxrayer, on Apr 1 2008, 10:43 PM, said:

2) I can confirm that /max=... parameter IS NOT really needed in config sys (so then I wonder why MS himem don't work and this himemx works)

Well, about this I can tell you two things:

i) It has nothing whatsoever to do with their code, because, although Japheth's HIMEMX is carefully and elegantly coded, Win 98SE's vmm.vxd bypasses all code, literally taking possession only of the data areas (or of the XMS handle table, at the very least). Then again, HIMEMX puts its XMS handle table in its data area, well below 640 kB, in the normal DOS memory arena, while HIMEM.SYS uses the HMA for its table. Even so, I doubt this can cause the different behaviour you and StarRiver observed.

ii) Japheth's HIMEMX is *not* HIMEM.SYS, and does not try to fool Win 98SE into believing it is. So Win 98SE's vmm.vxd acts more tactful in its presence, probably forgoing the use of many undocumented hooks it cannot be sure would work, because it is not dealing with HIMEM.SYS and knows it. This probably is the main difference.

Be as it may, the fact is that you found a way that works, and that certainly will be of help to many others! :thumbup

BTW, there is a rumour, over the net, that XMSDSK hates to be loaded at the top of XMS, with 2 GB or more of RAM.
The same rumour says it stops crashing if you load it without the "/T" command-line switch. Did you try this? I cannot tell you whether this is a urban legend or a fact, because I have only 1.5 GB in my machine, so it's below the purported threshold.

This post has been edited by dencorso: 02 April 2008 - 01:18 AM


#79 User is offline   RetroOS 

  • Senior Member
  • PipPipPipPip
  • Group: Members
  • Posts: 531
  • Joined: 26-June 07
  • OS:98SE
  • Country: Country Flag

Posted 02 April 2008 - 03:26 AM

View Postdencorso, on Apr 2 2008, 06:28 PM, said:

...Win ME, on the other hand, is known to detect about 1995 MB, but I've never had any success in devising a patch for having vmm.vxd v. 4.90.0.3003 load with Win 98SE. That vmm seems to be much different from v. 4.10.2226, so perhaps it is impossible to have it working in Win 98SE...

Hi dencorso,
I attempted earlier in the year to patch the Windows Me VMM.VXD 4.90.0.3003 to work in 98SE...
I got all the version checks sorted and also the VMM DOS loader version report to IO.SYS sorted...
Nine code changes in all.
The problem is that Me VMM.VXD does not like 98SE V86MMGR.VXD...
So I patched Me V86MMGR.VXD 4.90.0.3000 to work in 98SE with three code changes...
But... 98SE just does not want to work with Me V86MMGR.VXD. It fails with an exception.
Probably something to do with IO.SYS I expect.
I could not get past the V86MMGR.VXD exception, so I shelved it.

#80 User is offline   vick1111 

  • Newbie
  • Group: Members
  • Posts: 26
  • Joined: 17-November 07

Posted 02 April 2008 - 05:33 AM

Thanks again for xrayer :thumbup

I have just installed HimemX.exe on Windosws 98 SE on an Asrock 4coredual-sata2 -Intel core 2 quad processor -2 Gb of DDRII -

My win98's modify steps are just as above

1. Download HimemX from http://japheth.de/Jemm.html

2. Copy himemx.exe to win98 directory

3. Add the line in config.sys

DEVICE=C:\WIN98\HIMEMX.EXE

I am now able to put a maxfilecache of 44000 (48000 did not work for me) while before I was only able to get as high as 40000.

And the most important thing is that I completely solved problems with dos boxes.

I can now start an almost unlimited number of dos windows instances while before (without the himemx) I was unable to run more than 3 dos boxes!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

Share this topic:


  • 7 Pages +
  • « First
  • 2
  • 3
  • 4
  • 5
  • 6
  • Last »
  • You cannot start a new topic
  • You cannot reply to this topic

3 User(s) are reading this topic
0 members, 3 guests, 0 anonymous users



All trademarks mentioned on this page are the property of their respective owners
Copyright © 2001 - 2013 msfn.org
Privacy Policy