Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ smrtdrv(CMD) — OpenDesktop 2.0.0a

Media Vault

Software Library

Restoration Projects

Artifacts Sought


 smartdrv.sys(CMD)               19 June 1992               smartdrv.sys(CMD)


 Name

    smartdrv.sys - create a disk cache in extended or expanded memory

 Syntax


    device=[drive:][path]smartdrv.sys [InitCacheSize] [MinCacheSize] [/a]


 Description

    A disk cache can significantly speed up MS-DOS disk operations.  You can
    control the size of the SMARTDRV.SYS memory cache, and you can set up the
    disk cache in expanded or extended memory.

 Parameters


    [drive:][path]
                  Specifies the location of the SMARTDRV.SYS file.

    InitCacheSize Specifies the initial size (in kilobytes) of the memory
                  cache. Valid values for InitCacheSize are in the range 128
                  through 8192.  The default value is 256.

    MinCacheSize  Specifies a minimum cache size (in kilobytes).  Some pro-
                  grams can reduce the cache size.  If you do not specify a
                  value, there is no minimum cache size (that is, a program
                  can reduce the cache size to zero).  This parameter is use-
                  ful only if you are running Windows version 3.0 or later.


 Switch


              /a  Specifies that you want SMARTDRV.SYS to put the disk cache
                  in expanded memory.  If you omit this switch, SMARTDRV.SYS
                  puts the cache in extended memory.


 Notes


    Specifying the initial memory cache

    SMARTDRV.SYS rounds the value you specify for the InitCacheSize parameter
    to the nearest multiple of 16.  If you plan to run a program that uses
    expanded or extended memory, specify a cache size that leaves enough mem-
    ory for that program after SMARTDRV.SYS is installed.

    If there is not enough memory to create a cache of the size you specify,
    SMARTDRV.SYS creates a smaller cache, using the available memory.

    Using extended memory

    For SMARTDRV.SYS to use extended memory, you must first install HIMEM.SYS
    or another extended-memory manager that conforms to the
    Lotus/Intel/Microsoft/AST eXtended Memory Specification (XMS).  In your
    CONFIG.SYS file, the device command that installs the extended-memory
    manager must precede the device command that installs SMARTDRV.SYS.

    Using expanded memory

    For SMARTDRV.SYS to use expanded memory, you must configure your system
    to provide expanded memory.  In your CONFIG.SYS file, the device command
    that installs the expanded-memory manager (such as EMM386.EXE) must pre-
    cede the device command that installs SMARTDRV.SYS. The expanded-memory
    manager must conform to the Lotus/Intel/Microsoft Expanded Memory Speci-
    fication (LIM EMS).

    Using SMARTDRV.SYS with an 80286 or 80386 computer

    If you have an 80286 or 80386 computer, you will probably have the best
    results if you place the disk cache in extended memory.

    Cannot run disk-compaction program

    To avoid losing data, do not run a disk-compaction program while
    SMARTDRV.SYS is loaded.

 Examples

    To create a disk cache in extended memory and set a cache size of 256K
    (the default size), add the following line to your CONFIG.SYS file:

       device=smartdrv.sys

    Since no location is specified, MS-DOS searches for SMARTDRV.SYS in the
    root directory of your startup drive.

    Suppose you want to create a disk cache in extended memory, allocate a
    cache size of 2048K, and ensure that programs cannot reduce the size of
    the cache to less than 1024K.  To do this and to specify that
    SMARTDRV.SYS is located in the DOS directory on drive C, add the follow-
    ing line to your CONFIG.SYS file:

       device=c:\dos\smartdrv.sys 2048 1024


Typewritten Software • bear@typewritten.org • Edmonds, WA 98026