Name: sraich Date: May 18, 2004 at 10:16:06 Pacific Subject: config.sys and memory OS: Windows 3.1 CPU/Ram: 486/40
Comment:
Hi everybody, In my 486 80 MHz 40MB RAM Windows 3.1 machine I can't connect at present with Netscape 3.0 or with MSIE50 because there appear messages of general protection error. Perhaps this is due to a problem of memory: When I initiallize it, in DOS, the command mem shows the following data (perhaps in English you say "High" instead of "Superior"): Conventional memory: total 640 K, used 111 K, free 529 K. Superior memory: total 0 K, used 0 K, free 0 K Reserved memory: total 384 K, used 384 K, free 0 K Extended memory: total 39936 K, used 2112, free 37824 K Memory: total 40960 K, used 2607 K, free 39353 K Less than 1 MB: total 640 K, used 111 K, free 529 K: Most extense executable program: 529 K Most extense block of superior memory: 0 K MS-DOS resides in the high memory area -------------- If the "most extense executable program" is 529 K, it cannot execute netscape.exe. if I understand it, and this can produce the error message of PROGMAN.EXE attacking files of Netscape 3.0. Am I right? ---- This data is with the following CONFIG.SYS: DEVICE=C:\DOS\SETVER.EXE DEVICE=C:\DOS\HIMEM.SYS DOS=HIGH COUNTRY=034,01\DOS\COUNTRY.SYS DEVICE=C:\DOS\DISPLAY.SYS CON=(EGA,1) FILES=30 STACKS=9,256 DEVICE=C:\CDROM\IDE.SYS /D:IDECD000 /UDMA /Q Therefore, no buffers, no EMM386 memory. ---------------------- When I enter in Windows 3.1, I can only have the memory data connecting with DOS from Windows (because I don't know how to get this data from Windows; may someone explain me how?), and when I write the command mem the data is very different: Conventional memory: total 640 K, used 128 K, free 512 K. Superior memory: total 0 K, used 0 K, free 0 K Reserved memory: total 384 K, used 384 K, free 0 K Extended memory: total 39936 K, used 38912 K, free 1024 K Memory: total 40960 K, used 39424 K, free 1536 K Total expanded memory (EMS): 1024 K Free expanded memory (EMS) 1024 K Less than 1 MB: 640 K, used 128 K, free 512 K: Most extense executable program: 512 K Most extense block of superior memory: 0 K MS-DOS resides in the high memory area ---------- Is this wrong? Only entering in Windows uses almost all the extended memory? -- I have thought that perhaps this is due to an excessive number of files, so I have reduced them to 15, but the memory data has been the same: If I put 35,4 buffers, the conventional memory is 640, 148 and 492, and the maximum executable file is 492 K, both with 30 or 15 files.
The problem is: If what the DOS command tells is true, I cannot execute NETSCAPE.EXE by lack of memory. But this is hard to believe, because the maximum memory for executing a file can be 640 K, and I executed the nestacape.exe, which is bigger than 3 MB, thousands of times before I had the actual problems. Your help would be very welcome. Regards Salvador
Windows works best with emm386.exe loaded to provide upper memory. Try changing your config.sys to include emm386 and to provide Upper Memory Blocks (UMBs)
The maximum program size limitation is for dos-based programs..windows programs like netscape don't load all of themselves into the memory at once ..you must have emm386 loaded (like the last response mentioned) or they can't fully take advantage of the way memory is used. I think the display.sys line might be filling up your upper memory (there shouldn't be 0k available!)If your not running dos programs try putting REM in front of the line ( as in REM DEVICE=C:\DOS\DISPLAY.SYS CON=(EGA,1) ) This will definitely increase your upper memory..you can always chang it back if you somehow need it. Along with the previous post's suggestions, after youve made those changes, try running MEMMAKER, it should also give more conventional memory.
I just became aware that your the fella who had the runonc16 problem..it occured to me that you might have a video driver problem..certainly removing the dos display.sys can help...try lowering your video colors to 256 color in windows too..and you might want to try working on your system files ..here's my autoexec.bat-
set blaster=A220 I5 D1 H3 T4 @echo off C:\DOS\SMARTDRV.EXE /X PROMPT $_$p$g SET PATH=C:\DOS;C:\WINDOWS;C:\IEXPLORE;C:\ALDUS;c:\jazz SET TEMP=C:\TEMP C:\DOS\MSCDEX.EXE /S /D:MSCD001 SET lmouse=C:\MOUSE C:\MOUSE\cloaking.exe C:\MOUSE\mouse.exe C:\TOOLS_31\GUEST.EXE WIN.COM
Youy'll notice that everything that's needed is there while keeping it simple- here's my config.sys-
If you don't see it here it's probably not essential..to disable the lines you don't want you can REM like the last line above.. I'm afraid your gonna have to learn how to tweak your dos config files if you want to get control over how windows starts (dos, really)..but it's not that difficult..just renmember..dont load anything that you really don't need.. Hope this helps...
Hi, jboy, Thanks for your reply. I have modified config.sys as you say, and becomes DEVICEHIGH=C:\DOS\SETVER.EXE DEVICEHIGH=C:\DOS\HIMEM.SYS DEVICEHIGH=C:\DOS\EMM386.EXE NOEMS DOS=HIGH, UMB COUNTRY=034,850,\DOS\COUNTRY.SYS DEVICEHIGH=C:\DOS\DISPLAY.SYS CON=(EGA,850,1) FILES=30 STACKS=9,256 DEVICEHIGH=C:\CDROM\IDE.SYS /D:IDECD000 /UDMA /Q Is it all right? According to Help, About, of the Program Manager, "Extended mode of the 386 - Memory 140.795 KB free - System resources 86% free". And I wonder how, with only 40 MB RAM, I can have 141 MB free. When I try to enter in IE or Netscape, the GPE or alike persist. Any idea, apart of uninstall Windows and/or MSIE50 and Netscape and then re-install it? Remember that for this I must be almost sure that the other directories will be saved. And finally, have you a trick for stopping the roll of the initiallizing text when the machine is switched on? Farewell Salvador
Hi, dominicus, Thanks for your replies. I need the display.sys file in order that the screen shows the Spanish -or any other language apart from English- alphabet. Therefore, the config.sys according to your messages is, once added the three last lines DEVICE=C:\DOS\HIMEM.SYS DEVICE=C:\DOS\EMM386.EXE FILES=80 BUFFERS=40 DOS=UMB LASTDRIVE=Z FCBS=4,0 DEVICEHIGH /L:1,16560 =C:\DOS\MTMCDAI.SYS /D:MSCD001 DOS=HIGH STACKS=18,128 DEVICEHIGH /L:1,4560 =C:\WINDOWS\IFSHLP.SYS SHELL=C:\DOS\COMMAND.COM C:\DOS /P COUNTRY=034,850,\DOS\COUNTRY.SYS DEVICE=C:\DOS\DISPLAY.SYS CON=(EGA,850,1) DEVICE=C:\CDROM\IDE.SYS /D:IDECD000 /UDMA /Q
When the machine is initiallized, some warnings appear: There is not the file MTMCDAI.SYS in DOS or the IFSHLP.SYS in WINDOWS. According to Help, About, of the Program Manager, "Extended mode of the 386 - Memory 140.790 KB free - System resources 86% free". And I wonder how, with only 40 MB RAM, I can have 141 MB free. When I try to enter in IE or Netscape, the GPE or alike persist. Any idea, apart of uninstall Windows and/or MSIE50 and Netscape and then re-install it? Remember that for this I must be almost sure that the other directories will be saved. And finally, have you a trick for stopping the roll of the initiallizing text when the machine is switched on? I have not run still the MEMMAKER, because I wait for receiving your comments to the information I am giving to you. Referring to the autoexec.bat, I also wait for resolving the config.sys subject, and mainly the GPE one when I try to connect with IE or Netscape Farewell Salvador
The information on Computing.Net is the opinions of its users. Such
opinions may not be accurate and they are to be used at your own risk.
Computing.Net cannot verify the validity of the statements made on this site. Computing.Net and Computing.Net, LLC hereby disclaim all responsibility and liability for the content of Computing.Net and its accuracy.
PLEASE READ THE FULL DISCLAIMER AND LEGAL TERMS BY CLICKING HERE