Autoexec.bat & Config.sys Help

Discussion about old PC hardware.

Re: Autoexec.bat & Config.sys Help

Postby Tempest » 2017-12-14 @ 14:32

Ok I'll run those MEM flags and see what's up./

I don't use smartdrive. I was never quite sure what it did anyway.
--- AtariProtos.com ---
For when excellence and burnished fineries need to gently visit the warmth of your tablery
User avatar
Tempest
Member
 
Posts: 131
Joined: 2007-12-03 @ 17:37

Re: Autoexec.bat & Config.sys Help

Postby Tempest » 2017-12-15 @ 01:13

Well I think I see the problem, but I'm not sure how to fix it. On my Win 98 box it appears that MSCDEX is entirely in conventional memory rather than upper memory. I think it's because there's not enough free upper memory it needs 27K and I have 56K total, 32K used, 23K free. On my other system (the 486) it has more free total upper memory for some reason (why is this?) so MSCDEX fits nicely into it with room to spare. Any way to fix this?

EDIT: By changing my FILES to 40 and Buffers to 30,0 (as in my 486) and now I have 597K free which I can live with. I just wonder why the big difference in total Upper Memory between the two systems?
--- AtariProtos.com ---
For when excellence and burnished fineries need to gently visit the warmth of your tablery
User avatar
Tempest
Member
 
Posts: 131
Joined: 2007-12-03 @ 17:37

Re: Autoexec.bat & Config.sys Help

Postby clueless1 » 2017-12-15 @ 11:11

You can run MSD.EXE and go to Utilities->Memory Block Display and Memory Browser. Compare between the two systems to see where the extra memory is being used and what's using it. MSD is a built-in Microsoft utility and it should run from any path.
User avatar
clueless1
l33t
 
Posts: 3920
Joined: 2015-12-22 @ 17:43
Location: Midwest US

Re: Autoexec.bat & Config.sys Help

Postby Dominus » 2017-12-15 @ 11:13

I dimly remember that himem.sys and emm386.exe needed more memory for themselves in Windows 9x versions.
User avatar
Dominus
DOSBox Moderator
 
Posts: 7968
Joined: 2002-10-03 @ 09:54
Location: Ludwigsburg

Re: Autoexec.bat & Config.sys Help

Postby MERCURY127 » 2017-12-15 @ 12:15

my current config.sys for 98se on Core i7 machine, with buggy wrong configured 10 KB XBDA:

DOS=HIGH,UMB
STACKSHIGH=0,0

SET PATH=C:\;C:\BOOT;C:\NC;C:\NC\QPV;C:\INFO;C:\MDOS;C:\DOS;C:\ARC;C:\RUS;C:\DOS7;C:\WINDA;C:\WINDA\COMMAND
SET TEMP=C:\TEMP
SET TMP=C:\TEMP
SET TZ=MSK-3

SHELL=C:\COMMAND.COM C:\ /P /E:1024

DEVICE=C:\MLCL\UMBPCI.SYS /U=C800-CBFF // open shadow vrom for further cyr fonts, dont stay TSR
DEVICE=C:\MLCL\UMBPCI.SYS /I=D000-EBFF // open shadow mem for umbs, stay TSR
DEVICE=C:\JACK\XMGR.SYS // XMS & UMB driver
DEVICEHIGH=C:\BOOT\CLARUS.COM 1 30 /S:M /S /Q /W \VGA9\VGA9.FNT // cyr driver

DEVICEHIGH=C:\DOS7\IFSHLP.SYS
DEVICEHIGH=C:\JACK\XHDD.SYS /S5 /H
DEVICEHIGH=C:\JACK\XDVD2.SYS /H
DEVICEHIGH=C:\MDOS\SETVER.EXE

; INSTALL[HIGH] will exec at end only
INSTALLHIGH=C:\160331\SHSUCDX.COM /D:UDVD1 /L:E /R /C /Q

my autoexec is empty. i have 625 KB low mem free, and 635 on my second machine, P3, where used good old 1 KB XBDA.
MERCURY127
Member
 
Posts: 113
Joined: 2017-2-19 @ 16:38
Location: Russia

Re: Autoexec.bat & Config.sys Help

Postby Tempest » 2017-12-15 @ 14:14

Dominus wrote:I dimly remember that himem.sys and emm386.exe needed more memory for themselves in Windows 9x versions.

That would make sense, I keep forgetting that WIn 98 DOS isn't exactly the same as DOS 6.22

What are some good values for FILES and BUFFERS? I seem to recall that FILES is the number of simultaneous open files allowed and 30-40 is a good range for that, but I'm not sure what BUFFERS does or what a good number is for it. Also do I need STACKS anymore?
--- AtariProtos.com ---
For when excellence and burnished fineries need to gently visit the warmth of your tablery
User avatar
Tempest
Member
 
Posts: 131
Joined: 2007-12-03 @ 17:37

Re: Autoexec.bat & Config.sys Help

Postby MERCURY127 » 2017-12-15 @ 16:02

if u really want set BUFFERS/FILES/etc manually - use BUFFERSHIGH/FILESHIGH/etcHIGH.
MERCURY127
Member
 
Posts: 113
Joined: 2017-2-19 @ 16:38
Location: Russia

Re: Autoexec.bat & Config.sys Help

Postby dr_st » 2017-12-16 @ 10:12

MERCURY127 wrote:if u really want set BUFFERS/FILES/etc manually - use BUFFERSHIGH/FILESHIGH/etcHIGH.

It doesn't matter; Win98 SE will make them HIGH by default, if high memory is available, unless you use DOS=NOAUTO.
User avatar
dr_st
Oldbie
 
Posts: 1972
Joined: 2015-4-09 @ 07:18

Re: Autoexec.bat & Config.sys Help

Postby dr_st » 2017-12-16 @ 10:26

Once again, I'm posting my current startup files on Win98 SE, and the resulting memory layout.

  • C:\DOSW is where I keep the DOS files of Win98 SE; normally you should use C:\WINDOWS.
  • In Autoexec, I have 3 different audio sections, depending on which card I have installed (currently it's the AWE64).
  • CTCME.EXE is the standard Creative CTCM, which I hacked so it does not complain about running under Win98 SE DOS.
  • FASTKEYS.COM is a small command file which increases keyboard repeat rate to maximum.
CONFIG.SYS
Code: Select all
DOS=HIGH,UMB
DEVICEHIGH=C:\DOSW\HIMEM.SYS
DEVICEHIGH=C:\DOSW\EMM386.EXE RAM I=B400-B7FF I=CA00-CBFF AUTO
BUFFERS=20
FILES=60
LASTDRIVE=Z
STACKS=9,256
BREAK=ON
SHELL=C:\COMMAND.COM /E:512 /P
DEVICEHIGH=C:\CDROM\VIDECDD.SYS /D:IDECDROM


AUTOEXEC.BAT
Code: Select all
@ECHO OFF
LH C:\DOSW\MSCDEX.EXE /D:IDECDROM /E
LH C:\DOSW\SMARTDRV.EXE /X /B:1024
LH C:\DOSW\DOSKEY.COM /INSERT
LH C:\MOUSE\CTMOUSE.EXE /R33 /3
SET COMSPEC=C:\COMMAND.COM
SET COPYCMD=/-Y
SET DIRCMD=/P/O:GEN/A
SET PATH=C:\BATCH;C:\DOSW;G:\WINDOWS;G:\WINDOWS\COMMAND;C:\NC5;C:\NAV;C:\XTG;C:\CDROM;C:\PV;C:\ARCHIVE;C:\MOUSE;C:\DOSUTIL;C:\SB;C:\OPL3SA
SET PROMPT=$P$G
SET TEMP=C:\TEMP
GOTO AWE64

:SB16
SET SOUND=C:\SB
SET BLASTER=A220 I5 D1 H5 T6
C:\SB\CTCME.EXE
C:\SB\MIXERSET.EXE /P /Q
GOTO END

:AWE64
SET SOUND=C:\SB
SET MIDI=SYNTH:1 MAP:E MODE:0
SET BLASTER=A220 I5 D1 H5 P330 T6 E620
C:\SB\CTCME.EXE
C:\SB\MIXERSET.EXE /P /Q
C:\SB\AWEUTIL.COM /S /KEY- /C:50 /R:50
GOTO END

:YAMAHA
SET BLASTER=A220 I5 D1 T4
C:\OPL3SA\SETUPSA.EXE /S
GOTO END

:END
C:\DOSUTIL\FASTKEYS.COM
C:
CD\
CLS


MEM /C /P output
Code: Select all

Modules using memory below 1 MB:

  Name           Total           Conventional       Upper Memory
  --------  ----------------   ----------------   ----------------
  SYSTEM      31,856   (31K)     10,912   (11K)     20,944   (20K)
  HIMEM        1,168    (1K)      1,168    (1K)          0    (0K)
  EMM386       4,320    (4K)      4,320    (4K)          0    (0K)
  DBLBUFF      2,976    (3K)      2,976    (3K)          0    (0K)
  COMMAND      7,296    (7K)          0    (0K)      7,296    (7K)
  VIDECDD      5,024    (5K)          0    (0K)      5,024    (5K)
  IFSHLP       2,864    (3K)          0    (0K)      2,864    (3K)
  MSCDEX      16,144   (16K)          0    (0K)     16,144   (16K)
  SMARTDRV    22,272   (22K)          0    (0K)     22,272   (22K)
  DOSKEY       4,688    (5K)          0    (0K)      4,688    (5K)
  CTMOUSE      3,312    (3K)          0    (0K)      3,312    (3K)
  Free       654,000  (639K)    635,632  (621K)     18,368   (18K)

Memory Summary:

  Type of Memory       Total         Used          Free
  ----------------  -----------   -----------   -----------
  Conventional          655,360        19,728       635,632
  Upper                 100,912        82,544        18,368
  Reserved                    0             0             0
  Extended (XMS)*   266,171,856     2,885,072   263,286,784
  ----------------  -----------   -----------   -----------
  Total memory      266,928,128     2,987,344   263,940,784

  Total under 1 MB      756,272       102,272       654,000

  Total Expanded (EMS)                 33,947,648    (32M)
  Free Expanded (EMS)*                 33,521,664    (32M)

  * EMM386 is using XMS memory to simulate EMS memory as needed.
    Free EMS memory may change as free XMS memory changes.

  Largest executable program size         635,616   (621K)
  Largest free upper memory block           9,344     (9K)
  MS-DOS is resident in the high memory area.


MEM /D /P output
Code: Select all

Conventional Memory Detail:

  Segment               Total        Name         Type
  -------          ----------------  -----------  --------
   00000              1,024    (1K)               Interrupt Vector
   00040                256    (0K)               ROM Communication Area
   00050                512    (1K)               DOS Communication Area
   00070              1,424    (1K)  IO           System Data
                                        CON       System Device Driver
                                        AUX       System Device Driver
                                        PRN       System Device Driver
                                        CLOCK$    System Device Driver
                                        A: - H:   System Device Driver
                                        COM1      System Device Driver
                                        LPT1      System Device Driver
                                        LPT2      System Device Driver
                                        LPT3      System Device Driver
                                        CONFIG$   System Device Driver
                                        COM2      System Device Driver
                                        COM3      System Device Driver
                                        COM4      System Device Driver
   000C9              5,424    (5K)  MSDOS        System Data
   0021C             10,608   (10K)  IO           System Data
                      1,024    (1K)               Relocated EBIOS data
                      1,152    (1K)     XMSXXXX0  Installed Device=HIMEM   
                      4,304    (4K)     EMMXXXX0  Installed Device=EMM386 
                      2,960    (3K)     DblBuff$  Installed Device=DBLBUFF
                        544    (1K)               Sector buffer
                        512    (1K)               BUFFERS=20
   004B3                 80    (0K)  MSDOS        System Program
   004B8                384    (0K)  MEM          Environment
   004D0             90,464   (88K)  MEM          Program
   01AE6            545,168  (532K)  MSDOS        -- Free --

Upper Memory Detail:

  Segment  Region       Total        Name         Type
  -------  ------  ----------------  -----------  --------
   0B55C       1      5,728    (6K)  COMMAND      Program
   0B6C2       1      1,568    (2K)  COMMAND      Environment
   0B724       1      1,568    (2K)  MSDOS        -- Free --
   0B786       1      1,920    (2K)  MSDOS        -- Free --

   0CA01       2     28,800   (28K)  IO           System Data
                      5,008    (5K)     IDECDROM  Installed Device=VIDECDD
                      2,848    (3K)     IFS$HLP$  Installed Device=IFSHLP 
                      1,200    (1K)               Block device tables
                      3,264    (3K)               FILES=60
                        256    (0K)               FCBS=4
                     10,720   (10K)               BUFFERS=20
                      2,288    (2K)               LASTDRIVE=Z
                      3,072    (3K)               STACKS=9,256
   0D109       2     16,144   (16K)  MSCDEX       Program
   0D4FA       2     22,272   (22K)  SMARTDRV     Program
   0DA6A       2      4,688    (5K)  DOSKEY       Program
   0DB8F       2      3,312    (3K)  CTMOUSE      Program
   0DC5E       2      5,536    (5K)  MSDOS        -- Free --
   0DDB8       2      9,344    (9K)  MSDOS        -- Free --

Memory Summary:

  Type of Memory       Total         Used          Free
  ----------------  -----------   -----------   -----------
  Conventional          655,360        19,728       635,632
  Upper                 100,912        82,544        18,368
  Reserved                    0             0             0
  Extended (XMS)*   266,171,856     2,885,072   263,286,784
  ----------------  -----------   -----------   -----------
  Total memory      266,928,128     2,987,344   263,940,784

  Total under 1 MB      756,272       102,272       654,000


  Handle      EMS Name      Size   
  -------     --------     ------ 
        0                  060000
        1                  008000

  Total Expanded (EMS)                 33,947,648    (32M)
  Free Expanded (EMS)*                 33,521,664    (32M)

  * EMM386 is using XMS memory to simulate EMS memory as needed.
    Free EMS memory may change as free XMS memory changes.

  Memory accessible using Int 15h               0     (0K)
  Largest executable program size         635,616   (621K)
  Largest free upper memory block           9,344     (9K)
  MS-DOS is resident in the high memory area.

  XMS version  3.00; driver version  3.95
  EMS version  4.00

P.S. It would be nice if the forum settings were adjusted so that larger code blocks can be accommodated without forced scrolling, or provide a different way of posting fixed width text (like [pre] or [monospace]).
User avatar
dr_st
Oldbie
 
Posts: 1972
Joined: 2015-4-09 @ 07:18

Previous

Return to General Old Hardware

Who is online

Users browsing this forum: airs, bbkcs, Falcosoft, knowledge [bot], maxtherabbit, MSN [Bot], Skoynay, xjas and 9 guests