home *** CD-ROM | disk | FTP | other *** search
/ The World of Computer Software / World_Of_Computer_Software-02-387-Vol-3of3.iso / d / dos5info.zip / UMB.TXT < prev   
Text File  |  1990-12-13  |  28KB  |  657 lines

  1. HOW TO OPTIMIZE MEMORY WITH UMBS
  2.  
  3.   *************************************************************
  4.   *                                                           *
  5.   *                     BEFORE YOU BEGIN                      *
  6.   *                                                           *
  7.   *    *  Print this file (UMB.TXT).                          *
  8.   *                                                           *
  9.   *    *  You'll need an 80386 or 80486 processor with        *
  10.   *       at least 350K of XMS memory.                        *
  11.   *       To determine how much XMS memory is available,      *
  12.   *       type MEM at the command line. If less than 350K,    *
  13.   *       you need to free up XMS memory before continuing    *
  14.   *       (See "Troubleshooting").                            *
  15.   *                                                           *
  16.   *    *  Backup your CONFIG.SYS and AUTOEXEC.BAT files       *
  17.   *       on a startup floppy disk. If you don't have         *
  18.   *       this disk already:                                  *
  19.   *         1. Insert a floppy disk into drive A.             *
  20.   *         2. Type FORMAT/S A: and press ENTER.              *
  21.   *         3. Type COPY C:\CONFIG.SYS A:\CONFIG.SAV          *
  22.   *            and press ENTER.                               *
  23.   *         4. Type COPY C:\AUTOEXEC.BAT A:\AUTOEXEC.SAV      *
  24.   *            and press ENTER.                               *
  25.   *                                                           *
  26.   *************************************************************
  27.  
  28. THE INSTRUCTIONS IN THIS DOCUMENT ARE INTENDED FOR USERS WHO
  29. HAVE A BASIC KNOWLEDGE OF MS-DOS. YOU SHOULD BE ABLE TO OPEN
  30. AND EDIT FILES, UNDERSTAND THE CONTENTS OF CONFIG.SYS AND
  31. AUTOEXEC.BAT FILES, AS WELL AS THE FUNCTION OF DEVICE DRIVERS,
  32. MEMORY MANAGERS, AND TSRS.
  33.  
  34. NOTE: When you use the commands in the instructions, be sure
  35.       to type the correct drives and directories for your 
  36.       configuration. What you actually use might differ 
  37.       from what is shown in the instructions. The commands  
  38.       in the instructions are examples only.
  39.  
  40.  
  41. -------------------
  42. Contents of UMB.TXT
  43. -------------------
  44.             
  45.         *  Optimizing Memory with UMBs
  46.           Setting Up UMB Support
  47.           Viewing UMBs
  48.           Optimizing UMB Usage
  49.           Windows 3.0 and UMBs 
  50.  
  51.         *  Troubleshooting
  52.  
  53.         *  Networks and UMBs
  54.  
  55.         *  Alternate Memory Managers
  56.  
  57.  
  58.  
  59. ------------------------------------------
  60. Optimizing Memory with Upper Memory Blocks
  61. ------------------------------------------
  62.  
  63. With MS-DOS 5.0 you can increase the amount of conventional memory 
  64. that your computer has available for running applications. Conventional 
  65. memory is the first 640K of memory automatically used by MS-DOS and
  66. your applications. Above 640K there's additional memory space called 
  67. reserved memory that contains Upper Memory Blocks (UMBs). Reserved 
  68. memory is set aside for use by your computer, but typically, some is 
  69. left unused. With MS-DOS 5.0 you can free up conventional memory by 
  70. moving some device drivers and programs (TSRs) into upper memory. 
  71.  
  72. This new feature of MS-DOS 5.0 requires an 80386 or 80486 processor 
  73. with at least 350K of XMS memory available.
  74.  
  75.  
  76. =================================
  77. Setting Up MS-DOS 5.0 UMB Support
  78.  
  79. You set up UMB support by including new commands in your CONFIG.SYS and
  80. AUTOEXEC.BAT files. If you don't have a high-memory manager you install
  81. one first. Then you'll revise commands to place your device drivers 
  82. and programs (TSRs) into UMBs.
  83.  
  84. NOTE: If you are using an alternate memory manager, see the "Alternate 
  85. Memory Managers" section at the end of this document.
  86.      
  87.    ------------------------------------------------------------
  88.    |                                                          |
  89.    | SUMMARY FOR ADVANCED USERS                               |
  90.    | --------------------------                               |
  91.    | If you find this summary procedure too abbreviated,      |
  92.    | see the detailed procedure immediately following.        |
  93.    |                                                          |
  94.    | To use UMBs:                                             |
  95.    | ------------                                             |
  96.    |                                                          |
  97.    | 1. Edit your CONFIG.SYS to include the following:        |
  98.    |                                                          |
  99.    |         device=c:\dos\himem.sys                          |
  100.    |         dos=umb                                          |
  101.    |         device=c:\dos\emm386.exe noems                   |
  102.    |                                                          |
  103.    |    (If CONFIG.SYS already contains the EMM386 line,      |
  104.    |    add RAM at the end:  device=c:\dos\emm386.exe ram)    |
  105.    |                                                          |
  106.    | 2. For device drivers you want in upper memory, replace  |
  107.    |    DEVICE= with DEVICEHIGH=.                             |
  108.    |                                                          |
  109.    | 3. For programs in your AUTOEXEC.BAT file that you       |
  110.    |    want in upper memory, add LOADHIGH (or LH):           |
  111.    |                                                          |
  112.    |          LH <program name>                               |
  113.    |                                                          |
  114.    | 4. Restart your computer.                                |
  115.    |                                                          |
  116.    ------------------------------------------------------------ 
  117.  
  118. NOTE: Some drivers and programs might be incompatible with MS-DOS 5.0.
  119. A list of the drivers and programs that shipped with MS-DOS follows the 
  120. next procedure. If you have trouble installing drivers and programs in 
  121. upper memory, see the "Troubleshooting" section later in this document.     
  122.  
  123.  
  124. To set up UMB support and load drivers and programs:
  125. ----------------------------------------------------
  126. 1.  Use MS-DOS EDITOR to open your CONFIG.SYS file by entering:
  127.  
  128.           edit c:\config.sys
  129.  
  130.     Or you can use any other text editor, but you must save your 
  131.     CONFIG.SYS file as a text-only file.
  132.  
  133. 2.  Make sure your CONFIG.SYS file contains the following lines, in the
  134.     following order:
  135.  
  136.           device=c:\dos\himem.sys
  137.           dos=umb
  138.           device=c:\dos\emm386.exe noems 
  139.  
  140.     * The first command gives MS-DOS access to extended memory.
  141.     * The second command places MS-DOS into the upper memory area. 
  142.     * The third command installs the EMM386 memory manager. If the 
  143.       emm386 line already appears, add RAM to it as follows:
  144.          
  145.           device=c:\dos\emm386.exe ram
  146.   
  147. 3.  After the DEVICE= line for EMM386, replace DEVICE= with the 
  148.     following to place device drivers in UMBs:
  149.  
  150.           devicehigh=
  151.  
  152.     For example, to load ANSI.SYS in upper memory, you would change 
  153.     DEVICE=C:\DOS\ANSI.SYS to DEVICEHIGH=C:\DOS\ANSI.SYS.
  154.  
  155. 4.  Save your CONFIG.SYS file as a text file.
  156.  
  157. 5.  Use MS-DOS EDITOR to open your AUTOEXEC.BAT file by entering:
  158.  
  159.           edit c:\autoexec.bat
  160.  
  161.     Or you can use any other text editor, but you must save your 
  162.     AUTOEXEC.BAT file as a text-only file.
  163.  
  164. 6.  Add LOADHIGH to programs you want to place in UMBs.
  165.  
  166.     For example, to load the PRINT command in upper memory, you would change
  167.     PRINT to LOADHIGH PRINT. (Or use LH, the abbreviation for loadhigh.)
  168.      
  169. 7.  Save your AUTOEXEC.BAT file as a text-only file.
  170.  
  171. 8.  Restart your computer.
  172.  
  173.  
  174.     SAMPLE CONFIG.SYS FILE
  175.     ----------------------
  176.           dos=high
  177.           files= 50
  178.           buffers=30
  179.           device=c:\dos\himem.sys
  180.           dos=umb
  181.           device=c:\dos\emm386.exe noems
  182.           devicehigh=c:\dos\ansi.sys
  183.           devicehigh=c:\dos\printer.sys
  184.           devicehigh=c:\dos\smartdrv.sys 2048 512
  185.  
  186.  
  187.     SAMPLE AUTOEXEC.BAT FILE
  188.     ------------------------
  189.          echo on
  190.          loadhigh c:\MOUSE1\mouse
  191.          cls
  192.          break=on
  193.          path=c:\dos;C:\WINDOWS;c:\util;
  194.          prompt=$p$g
  195.          set TEMP=C:\WINDOWS\TEMP
  196.          loadhigh doskey
  197.          loadhigh mode
  198.          loadhigh append
  199.          loadhigh dosshell
  200.  
  201. The following drivers are shipped with MS-DOS 5.0 and are safe to 
  202. load in UMBs:
  203.  
  204.           EGA.SYS         DISPLAY.SYS     ANSI.SYS
  205.           RAMDRIVE.SYS    SMARTDRV.SYS    DRIVER.SYS
  206.           PRINTER.SYS
  207.  
  208. The following MS-DOS 5.0 programs are safe to store in UMBs:
  209.  
  210.           DOSKEY.COM        DOSSHELL.COM      KEYB.COM
  211.           GRAPHICS.COM      NLSFUNC.EXE       MODE.COM
  212.           SHARE.EXE         PRINT.EXE         APPEND.EXE
  213.  
  214. You might have OTHER drivers and programs that you'd like to place in 
  215. UMBs. Some of these might not be compatible with the MS-DOS 5.0 UMB 
  216. feature. If you have trouble, see the "Troubleshooting" section later 
  217. in this document.
  218.  
  219. For more information about running device drivers and programs from 
  220. upper memory, see Chapter 12 of the MS-DOS 5.0 USER'S GUIDE.
  221.  
  222.  
  223. ============
  224. Viewing UMBS
  225.  
  226. You can determine which programs and are loaded into UMBs by 
  227. first typing the EMM386 command to see where UMBs start, and then using 
  228. the MEM/DEBUG (or MEM/Program) command to see how UMBs are used.
  229.  
  230.  
  231. Using the EMM386.EXE Memory Manager
  232. -----------------------------------
  233. If you type EMM386.EXE at the command line, you'll see something 
  234. similar to the following:
  235.  
  236.         MICROSOFT Expanded Memory Manager 386  Version 4.20.06X
  237.         (C) Copyright Microsoft Corporation 1986, 1990
  238.  
  239.         Expanded memory services unavailable.
  240.  
  241.           Total upper memory available  . . . . . . . . .0 KB
  242.           Largest Upper Memory Block available  . . . . .0 KB
  243.           Upper memory starting address . . . . . . . .  C800 H
  244.  
  245.         EMM386 Active.
  246.  
  247. The information above shows no upper memory available. That's because
  248. all upper memory has been allocated for use by MS-DOS. 
  249.  
  250. NOTE: If you are using Windows, make sure you exit before attempting
  251. this procedure. If you don't exit first, you'll see the following
  252. message: EMM386 driver not installed.
  253.  
  254.  
  255. Using MS-DOS Commands
  256. ---------------------
  257.  
  258. To view memory usage:
  259. --------------------
  260.     * Type MEM/DEBUG|MORE and press ENTER.
  261.  
  262.  
  263. To print memory usage output to a printer:
  264. ------------------------------------------
  265.     * Type MEM/DEBUG|PRINT and press ENTER.
  266.  
  267.  
  268. To print memory usage output to a file:
  269. ---------------------------------------
  270.     * Type MEM/DEBUG> mem.txt
  271.  
  272.  
  273.       The "Upper memory starting address" is the first segment in 
  274.       which UMBs are located.  You'll see something like the following:
  275.  
  276.         Address     Name          Size       Type
  277.         -------     --------     ------     ------
  278.         000000                   000400     Interrupt Vector
  279.         000400                   000100     ROM Communication Area
  280.         000500                   000200     DOS Communication Area
  281.  
  282.         000700      IO           000A80     System Data
  283.                         CON                   System Device Driver
  284.                         AUX                   System Device Driver
  285.                         PRN                   System Device Driver
  286.  
  287.        <.. removed lines here to shorten output ..>
  288.  
  289.         01A990      MSDOS        085650     -- Free --
  290.         09FFF0      MSDOS        028010     System Program
  291.  
  292.         0C8010      MSDOS        000130     -- Free --
  293.         0C8150      MSDOS        000AE0     -- Free --
  294.         0C8C40      XNSBIOS      000120     Environment
  295.         0C8D70      XNSBIOS      002610     Program
  296.         0CB390      SESSION      000120     Environment
  297.         0CB4C0      PRTSC        000120     Environment
  298.         0CB5F0      PRTSC        000320     Program
  299.         0CB920      DOSKEY       000FE0     Program
  300.         0CC910      MIRROR       001990     Program
  301.         0CE2B0      MOUSE        003830     Program
  302.         0D1AF0      MSDOS        0064E0     -- Free --
  303.         0D7FE0      MSDOS        008020     System Program
  304.  
  305.         0E0010      IO           001500     System Data
  306.                       RAMDRIVE   0004A0      DEVICE=
  307.                         D:                    Installed Device Driver
  308.                       ANSI       001040      DEVICE=
  309.                         CON                   Installed Device Driver
  310.         0E1520      SESSION      000410     Program
  311.         0E1940      REDIR        0093E0     Program
  312.         0EAD30      MSDOS        0052C0     -- Free --
  313.  
  314.  
  315.           656384 bytes total conventional memory
  316.           655360 bytes available to MS-DOS
  317.           625664 largest executable program size
  318.  
  319.          4194304 bytes total contiguous extended memory
  320.                0 bytes available contiguous extended memory
  321.          3124224 bytes available XMS memory
  322.                  MS-DOS resident in High Memory Area
  323.  
  324. Given the upper memory starting segment of C800 reported by EMM386, you 
  325. should examine the MEM/DEBUG output for any address greater than or equal 
  326. to C8000.  Anything with "-- Free --" in the type column is available 
  327. UMB memory. Anything with a name other than MSDOS is a program or device 
  328. driver running in a UMB. In the example, XNSBIOS program, XNSBIOS 
  329. environment, SESSION, PRTSC, DOSKEY, MIRROR, MOUSE, RAMDRIVE, ANSI, 
  330. and REDIR are all running in UMBs.
  331.  
  332. The size is in hexadecimal.  In the example, there are free UMBs at 0C8010 
  333. (size:130h), 0C8150 (size:AE0h), 0D1AF0 (size:64E0h), and OEAD30 (size:52C0h).  
  334. If you are unfamiliar with the Hex numbering method, you can get a rough 
  335. approximation of the UMB size in kilobytes as follows:
  336.  
  337.     (Multiply 10,000 digit by 16) + (Multiply 1,000 digit by 4) + (Divide
  338.     100 digit by 400) = K.
  339.  
  340. Thus, in the example, the UMB at location OEAD30, size 52C0, is 
  341. (5*4)+(2/4)=20.5K.
  342.  
  343.  
  344. ====================
  345. Optimizing UMB Usage
  346.  
  347. UMB usage with MS-DOS 5.0 requires an in-depth understanding of memory. 
  348. The following information is meant for experienced MS-DOS users only.
  349.  
  350. You can control how UMBs are used in two ways:
  351.  
  352.     *  Load order
  353.     *  Load contents
  354.  
  355. If you have enough upper memory space to load all your device drivers 
  356. and programs high, then optimization is easy: simply load them all in
  357. upper memory. If you don't have enough space, then optimizing is 
  358. considerably more difficult. You'll need to use the EMM386 and MEM/DEBUG 
  359. commands to see which UMBs are available and then decide what to load high. 
  360.  
  361. Device drivers are loaded into the largest available UMB. That UMB is 
  362. reduced in size by the amount of space the device driver requires. 
  363. Thus, if a large network file is started in your AUTOEXEC.BAT, you might 
  364. not want to load smaller device drivers into upper memory since they 
  365. might reduce the size of the UMB so much that there won't be room for the 
  366. large network file. It will probably take some trial and error to achieve 
  367. the most optimal solution.
  368.  
  369.  
  370. EMM386 and the E000 Segment
  371. ---------------------------
  372. If you are certain that your system doesn't use the memory segment from 
  373. E000 to EFFF after initialization, you can include it by adding
  374. I=E000-EFFF to the EMM386 line in your CONFIG.SYS file.
  375.  
  376. Check your hardware manual or ask your manufacturer to find out
  377. whether or not this area is available. Or you can experiment by editing
  378. your CONFIG.SYS to include it. Then remove it if you have trouble.
  379.  
  380.  
  381. ======================================
  382. Windows 3.0 and MS-DOS 5.0 UMB Support 
  383.  
  384. MS-DOS 5.0 UMB support works great with Windows 3.0, but programs must 
  385. be loaded high before starting Windows.
  386.  
  387.  
  388. ---------------
  389. Troubleshooting
  390. ---------------
  391.  
  392. When you restart your computer after editing your CONFIG.SYS and
  393. AUTOEXEC.BAT files, watch the messages carefully. If you see a 
  394. message indicating a problem loading a device or starting a program,
  395. edit the appropriate startup file (CONFIG.SYS or AUTOEXEC.BAT). In
  396. the CONFIG.SYS change the DEVICEHIGH= back to DEVICE= for the affected 
  397. driver. In your AUTOEXEC.BAT remove LOADHIGH for the affected program.
  398. When you restart your computer, the device or program you changed 
  399. will be loaded low and the problem should be corrected.
  400.  
  401. If your system hangs after you restart it, note the messages you see.  
  402. Use this information to identify the driver or program that is causing 
  403. the problem. Use the startup disk (system disk) you created during 
  404. the UMB setup procedure to restart your computer. Then move drivers back 
  405. to conventional memory one at a time until your system starts properly.
  406.  
  407.  
  408. ==================
  409. Potential Problems
  410.  
  411. *   Not enough XMS memory available.
  412.     If MEM reports that less than 350K of XMS memory is available,
  413.     you can increase XMS by reducing the size of your RAMDRIVE or
  414.     the amount of memory used by EMM386.
  415.  
  416. *   Device drivers that grow during initialization.  
  417.     DOS ensures that the UMB contains enough room for the device driver
  418.     file.  However, if the device driver grows larger than its file size
  419.     during initialization, loading high might not be possible.  If you 
  420.     suspect this problem, use the SIZE option on the DEVICEHIGH= line 
  421.     to specify the required size for the device driver.  The size must 
  422.     be specified in .  The line should be in the form:
  423.  
  424.           DEVICEHIGH=<driver name> SIZE=hhhh path
  425.  
  426.     where hhhh is a hexadecimal number.  You can determine the final 
  427.     size of a device driver with the MEM /DEBUG or MEM /PROGRAM command.  
  428.     However, some device drivers can grow and then shrink before finishing
  429.     initialization.  There is no easy way to determine the necessary size
  430.     for this type of device driver.
  431.  
  432. *   Programs that make assumptions about memory available above them.
  433.     Some programs assume that there is always memory above them (up to 
  434.     a 64K boundary for example).  These programs can have trouble when 
  435.     loaded into a UMB. The solution is to load them low.
  436.  
  437. *   Programs that get confused by addresses >640K.  
  438.     These programs must be loaded low.
  439.  
  440. *   Programs/hardware that cause RAM to appear after EMM386 finishes
  441.     its ROM/RAM scan. 
  442.     Some hardware/software maps memory into reserved address space when 
  443.     software is loaded. Since EMM386 has already completed it's ROM/RAM 
  444.     scan and determined that no memory is there, EMM386 will be mapping 
  445.     a UMB into the address. When the other program causes other memory 
  446.     to be mapped to the same address, you'll have problems. To solve, 
  447.     edit the EMM386 line to include the X= option and exclude specific 
  448.     regions from consideration for UMBs.  
  449.     For example:
  450.  
  451.            device=c:\dos\emm386.exe noems x=d800-dfff            
  452.  
  453.     This line causes EMM386 to exclude the area from segment D800 to DFFF.
  454.  
  455.  
  456. ==============
  457. Other Problems
  458.  
  459. Problem:  I think I have set up my system for UMBs, but when I use MEM/D,
  460.           nothing seems to be loaded in upper memory.
  461.  
  462. What to check:  
  463.           1. That you included DOS=UMB in your CONFIG.SYS.
  464.           2. That EMM386 is loaded with UMB support (run EMM386 from the 
  465.              command line and check the "Starting Upper Memory Address"). 
  466.              Note that MEM will not report memory above 640K if you run it
  467.              from Windows 3.0 in 386 enhanced mode. Make sure that you 
  468.              specified either NOEMS or RAM in the DEVICE=EMM386.EXE line 
  469.              in your CONFIG.SYS.
  470.           3. Ensure that you specified DEVICEHIGH for device drivers and 
  471.              put LOADHIGH (or LH) in front of the programs and TSRs.
  472.           4. Ensure that the EMM386.EXE line appears after the HIMEM.SYS
  473.              line in your CONFIG.SYS.
  474.           5. For device drivers, ensure that the device driver line
  475.              in the CONFIG.SYS file appears after the EMM386 line.
  476.  
  477.  
  478. Problem:  I have a device driver or TSR whose size appears to be small
  479.           enough to fit into an available UMB, yet it is still loaded low.
  480.  
  481. What to check:
  482.           Look at the file size of the device driver. Some device drivers 
  483.           shrink after initialization. Before attempting to load a device
  484.           driver into a UMB, MS-DOS checks the driver file size and makes
  485.           sure there's enough space available in the UMB.
  486.  
  487.           To correct the problem, you need more memory space for the 
  488.           driver. Try putting DEVICEHIGH= for that driver ahead of 
  489.           other drivers you're loading into upper memory. 
  490.  
  491.  
  492. Problem:  My system hangs intermittently.
  493.  
  494. Solution: 
  495.           Edit the DEVICE=EMM386.EXE line in your CONFIG.SYS by inserting 
  496.           REM before DEVICE=. Restart your computer. If your system works 
  497.           without problem, then the trouble is related to EMM386 UMBs.
  498.  
  499.           Remove REM from the DEVICE=EMM386 command and insert it in
  500.           front of DOS=UMB. Restart your computer. 
  501.  
  502.           If the problem persists, you need to exclude some memory. 
  503.           Consult your hardware manual to see what range you can exclude. 
  504.           Add X=<memory range> to the end of the EMM386 line. You might 
  505.           need to try several ranges before your computer starts properly.
  506.  
  507.           If the problem does not persist when you include REM DOS=UMB,
  508.           one of your device drivers or programs is not loading properly.
  509.           You can correct the problem by returning the problem drivers
  510.           and programs to low memory. One at a time, change the DEVICEHIGH=
  511.           line back to DEVICE= and remove LOADHIGH from programs. Restart
  512.           your computer after each change. Repeat the procedure until
  513.           the problem stops.
  514.  
  515.           If you notice that the size of a program or driver is smaller
  516.           when loaded into a UMB than when it is loaded low, the program 
  517.           tried to grow beyond its allocated UMB when it moved into upper
  518.           memory. (You can check for size variations by using the MEM /P 
  519.           command, first loading the driver or program low, and then 
  520.           in UMBs.) To correct the problem, you need more memory space
  521.           for the program or driver. Try putting the DEVICEHIGH= or 
  522.           LOADHIGH command ahead of commands for other drivers or 
  523.           programs you're loading into upper memory. 
  524.  
  525. Problem:  I receive the "UNABLE TO CREATE PAGE FRAME" message when using 
  526.           the RAM option with EMM386.
  527.  
  528. Solution: Use the NOEMS option instead of RAM. EMM386 is unable to find 
  529.           the 64K contiguous space in reserved memory that is required
  530.           to create a page frame.
  531.  
  532.  
  533. -----------------
  534. Networks and UMBs
  535. -----------------
  536.  
  537. The procedures that follow are somewhat abbreviated. If you are
  538. unfamiliar with modifying your network configuration, please ask
  539. your Network Administrator (or consultant) for assistance.
  540.  
  541. Network programs tend to require a significant amount of memory. By moving 
  542. network programs into UMBs, you can free up substantial space in lower
  543. memory. The following sections describe how to load some of the 
  544. major networks into UMBs. If your network isn't covered here, please 
  545. contact your network vendor for the proper procedures.
  546.  
  547. If you're not sure which network you're using, see the NETWORKS.TXT 
  548. file in the same directory as UMB.TXT for instructions.
  549.  
  550. NOTE: Before using the following procedures, complete the "Setting Up
  551. UMB Support" section earlier in this document.
  552.  
  553.  
  554. ====================
  555. MS-NET-type Networks
  556.  
  557. Most MS-NET based redirectors are loaded with the NET command. Check 
  558. your AUTOEXEC.BAT file (or other file that you use to start the 
  559. network) for a command similar to:
  560.  
  561.           NET START <other...>
  562.  
  563. where <other ...> indicates that the text following START is not important
  564. to this procedure.
  565.  
  566. Edit the NET START line as follows:
  567.  
  568.          loadhigh net start <other...>
  569.  
  570.  
  571. Restart your computer and watch the messages that appear to ensure that 
  572. the network loads without problem. You can use the MEM command to see 
  573. how much memory you now have available.
  574.  
  575.  
  576. LANMAN 1.x/2.x Basic
  577. --------------------
  578. The redirectors for the Basic version will often fit into a UMB. To load 
  579. them high, add the word LOADHIGH before NET START as follows:
  580.  
  581.           loadhigh net start <other...>
  582.  
  583. Restart your computer and watch the messages that appear to ensure that 
  584. the network loads without a problem. You can use the MEM command to see 
  585. how much memory you now have available. For information on using MEM,
  586. see the "Viewing UMBs" section earlier in this document.
  587.  
  588.  
  589. LANMAN 1.X/2.X Enhanced 
  590. -----------------------
  591.  
  592. With the enhanced version of LANMAN (2.0b and earlier), you can free 
  593. the most lower memory by instructing the network to use LIM memory
  594. as follows.
  595.  
  596. 1.  Make sure the EMM386 command line in your CONFIG.SYS appears as follows:
  597.  
  598.           device=c:\dos\emm386.exe ram 
  599.  
  600. 2.  Locate the LANMAN.INI file that is used to start your network.
  601.  
  602. 3.  Find the LIM= line and, if necessary, edit it to appear as follows:
  603.  
  604.           LIM=YES
  605.  
  606. 4.  Save LANMAN.INI and restart your network.
  607.  
  608. NOTE: If you receive the UNABLE TO CREATE PAGE FRAME message when you
  609. restart your network, EMM386 is unable to find the 64K of contiguous
  610. space in reserved memory that's required to create a page frame. 
  611. You need to remove the RAM option from the EMM386 line (step 1) and 
  612. add NOEMS. This prevents EMM386 from attempting to use expanded memory. 
  613. Then edit your CONFIG.SYS and AUTOEXEC.BAT (or the batch file you use 
  614. to start your network) to load the network drivers low. Next you need 
  615. to use the Setup Disk that came with your computer system to reconfigure 
  616. your hardware so that a 64K page frame is free, if possible. Then you can
  617. return the RAM option and try loading network drivers into upper memory.
  618. If you are unable to create a 64K block, comment out the LIM=YES line
  619. in LANMAN.INI, replace RAM with NOEMS on the EMM386 line, and load drivers
  620. other than LANMAN in upper memory.
  621.  
  622.  
  623. =================================
  624. Loading Novell Networks into UMBs
  625.  
  626. Insert LOADHIGH (LH) in front of your network startup command whether you
  627. include it in your AUTOEXEC.BAT or type it at the command line.
  628. For example, if you are using NET5.EXE to start Novell, your AUTOEXEC.BAT
  629. (or other batch file) command will appear as follows:
  630.  
  631.            loadhigh net5
  632.  
  633. Or you could type the same command on the command line.
  634.  
  635.  
  636. ---------------------------
  637. Alternate Memory Managers
  638. ---------------------------
  639.  
  640. If you are using an alternate memory manager, you can let it handle 
  641. loading device drivers and programs into upper memory. Memory managers 
  642. from alternate vendors will be recognized by MS-DOS if their drivers 
  643. support allocating UMBs from extended XMS memory.
  644.  
  645. However, if you want to use the MS-DOS 5.0 LOADHIGH and DEVICEHIGH 
  646. commands instead, you need to make the following changes:
  647.  
  648. 1.  Edit your CONFIG.SYS file to include DOS=UMB.
  649.  
  650. 2.  Replace the alternate commands for loading high with the MS-DOS 5.0 
  651.     DEVICEHIGH and LOADHIGH commands.
  652.  
  653. You might want to refer to the "Setting Up UMB Support" section for
  654. detailed instructions about editing CONFIG.SYS and using the high memory
  655. commands.
  656.  
  657.