home *** CD-ROM | disk | FTP | other *** search
/ IBM Thinkpad Drivers FTP / TPMEMHLP.EXE / TPMEMHLP.TXT < prev   
Text File  |  1995-09-26  |  11KB  |  275 lines

  1. IBM ThinkPad 755, 750, 360, 355
  2. DOS / Windows Memory Management Tips
  3. August 30, 1995
  4.  
  5.  
  6. Scope:
  7.  
  8. This document provides some suggestions for increasing free memory
  9. below 1 MB in the DOS and Windows 3.1/3.11 operating environments.
  10.  
  11. Except as noted below, the suggestions apply to the following models
  12. of ThinkPads:
  13.  
  14.    755 - all models
  15.    750 - all models
  16.    360 - all models
  17.    355 - all models
  18.  
  19.  
  20.  
  21.  
  22.  
  23. If you are using DOS/Windows and are experiencing memory shortages
  24. or "Insufficient Memory" messages, the following actions may help
  25. to increase the available memory.
  26.  
  27.  
  28. 1. Mwave DSP Drivers
  29.     - Applies to TP755CD/CE/CSE/CX/CV/CDV with Mwave DSP
  30.  
  31. Version 1.00 Mwave drivers required a large amount of memory below
  32. 1MB in the Windows environment, often limiting the number of Windows
  33. applications that could be opened at one time. This is corrected with
  34. version 1.02 or later drivers. The current version is 1.10.
  35.  
  36. To install the updated drivers, first obtain the MWAVE110.DOC package
  37. from the BBS and follow the instructions for obtaining and installing
  38. the necessary diskettes.
  39.  
  40.  
  41. 2. Windows Audio Driver
  42.    - Applies to TP750 / TP755C/CS / TP360CE/CSE/PE with Codec
  43.      Audio card
  44.  
  45. If you are not using Video for Windows or other full motion video
  46. applications in Windows, you may be able to save a significant
  47. amount of memory in the Windows environment by installing a new
  48. version of the Windows Audio Driver that can be almost entirely
  49. loaded into extended memory. Full motion video with audio is demanding
  50. and best performance can only be achieved when the Windows Audio
  51. Driver is loaded low (below 1 MB).
  52.  
  53. To install the new driver, IBMMME5.DRV:
  54.    a. First obtain and install the Windows Audio support from
  55.       ThinkPad Audio Features 1.31. This diskette is in the package
  56.       AFTPS131.EXE on the IBM PC Co. BBS.
  57.          Note: If Audio Features has been previously installed on
  58.                your computer, you may get an error message when
  59.                starting Windows that indicates that duplicate entries
  60.                of the line:
  61.  
  62.                             device=TPAUDVXD.386
  63.  
  64.                are in the SYSTEM.INI. If this occurs, edit SYSTEM.INI
  65.                and remove the duplicate entry in the [386Enhance]
  66.                section.
  67.  
  68.    b. Make a backup copy of your current IBMMME.DRV, located in
  69.       the \WINDOWS\SYSTEM subdirectory by copying it to a file
  70.       such as IBMMME.D00. This step is important to make it easier
  71.       to restore the current Audio Driver should you need improved
  72.       Audio/Video Sync in the future.
  73.  
  74.    c. Copy IBMMME5.DRV to IBMMME.DRV in the \WINDOWS\SYSTEM
  75.       subdirectory (OK to over-write the current file if you have
  76.       made backup copy as described above).
  77.  
  78.    d. Edit the TPAUDWIN.INI file in the \WINDOWS\SYSTEM subdirectory.
  79.       Locate the [COMMON] section and add the following line:
  80.  
  81.                LOADHIGH=1
  82.  
  83.       Save the change and exit your editor.
  84.  
  85.    e. Restart Windows for the new Audio Driver to take effect.
  86.  
  87. >>>  WARNING:  This audio driver is a BETA release, and although we have
  88. >>>            not experienced any problems with it, it is not supported and
  89. >>>            you must use it at your own risk.
  90.  
  91. NOTE: The above procedure installs the Beta Audio Driver with
  92.       the ability to load in extended memory, freeing memory for
  93.       Windows applications. If, however, you experience problems with     for pe
  94.       Audio/Video sync in full motion video, you may want to return to
  95.       original IBMMME.DRV and use the other memory saving tips in this
  96.       document. To return to the original IBMMME.DRV, copy your backup
  97.       copy of your original IBMMME.DRV to C:\WINDOWS\SYSTEM\IBMMME.DRV.
  98.       For example, if you named your backup copy IBMMME.D00, then you
  99.       would copy IBMMME.D00 to C:\WINDOWS\SYSTEM\IBMMME.DRV. Restart
  100.       Windows for the change to take effect.
  101.  
  102.  
  103. 3. REM DOS Audio Driver in CONFIG.SYS
  104.    - Applies to TP750 / TP755C/CS / TP360CE/CSE/PE with Codec
  105.      Audio card
  106.  
  107. If you are not using audio in DOS applications, you may save more than
  108. 50KB of memory by removing the DOS Audio Driver from CONFIG.SYS, or
  109. by placing a "REM " in front of this line. Audio will still function in
  110. Windows.
  111.  
  112.  
  113. 4. Include Monochrome VGA Video Buffer Area
  114.    - Applies to all ThinkPads
  115.  
  116. If your DOS applications do not use the monochrome VGA video mode,
  117. you can gain an additional 32 KB of memory by doing the following:
  118.  
  119.    a. Make sure MONOUMB.386 is in your C:\DOS subdirectory
  120.    b. Add "DEVICE=C:\DOS\MONOUMB.386" to C:\WINDOWS\SYSTEM.INI [386Enh]
  121.       section.
  122.    c. Add "I=B000-B7FF" include parameter to EMM386 line in CONFIG.SYS,
  123.       such as:
  124.                   DEVICE=C:\DOS\EMM386.EXE NOEMS X=C800-CFFF
  125.         becomes   DEVICE=C:\DOS\EMM386.EXE NOEMS I=B000-B7FF X=C800-CFFF
  126.    d. Reboot the PC to take effect.
  127.  
  128.  
  129. 5. Include Unused Reserved BIOS Area
  130.    - Applies to TP750 / TP755C/CS / TP360 / TP355
  131.    - Not necessary for TP755CE/CD/CSE/CX/CV/CDV due to different memory
  132.      mapping
  133.  
  134. Although the entire area E0000 - FFFFF (128KB) is reserved for BIOS,
  135. some of this area may actually be available for use by EMM386, or
  136. other memory managers. The actual area available varies with Machine
  137. Type and Model, and with BIOS level. Video BIOS is included in the
  138. reserved BIOS area above, so the C0000 - DFFFF area is completely
  139. available for use by ISA adapters, SCSI (Dock 1 and Dock 2), PCMCIA,
  140. and by Memory managers such as EMM386. Following are the current areas
  141. available:
  142.  
  143.                    BIOS Level
  144.                  System Program       BIOS              Reserved
  145.                 Service Diskette     P/N and            BIOS Area
  146.   Machine           Version           Date              Available
  147.   ---------       ------------  --------------       ----------------
  148.   TP750 except Ce    1.40       91G0716/03-31-95     E000-E5FF (24KB)
  149.   TP750Ce            1.40       91G0720/04-26-95     E000-E6FF (28KB)
  150.   TP755C/Cs          1.40       91G1218/09-13-95     E000-E5FF (24KB)
  151.   All TP360/355      1.40       91G1217/09-13-95     E000-E5FF (24KB)
  152.  
  153. CAUTION: The memory areas listed above are valid for the corresponding
  154.          BIOS P/N's, and are subject to change in future updates of BIOS.
  155.  
  156.  
  157. 6. Minimize Reserved UMB for PCMCIA Cards
  158.    - Applies to all ThinkPads using IBM Card and Socket Services (PC Card
  159.      Director)
  160.  
  161. In the DOS / Windows preloads, a total of 32 KB is reserved for
  162. use by PCMCIA Card Services and PCMCIA cards. However, depending on
  163. the PCMCIA cards you are actually using, this area may be reduced.
  164. Minimum requirements are:
  165.  
  166.    Card Services         4KB
  167.    Modem                 0KB additional
  168.    IBM Token Ring       24KB additional
  169.    IBM Ethernet         16KB additional
  170.    IBM 3270              8KB additional
  171.    IBM 5250              8KB additional
  172.    SRAM/ATA              4KB additional
  173.  
  174. This memory usage is specified by the "/MA= " parameter of the
  175. Resource Map Utility, DICRMU01.SYS in the CONFIG.SYS.
  176.  
  177. Additional notes are:
  178.    - Card Services and PCMCIA cards can use any 4KB area between:
  179.               C000 - DFFF (TP750)
  180.               C100 - CFFF (TP755 and TP360/355)
  181.               D100 - DFFF (TP755 and TP360/355)
  182.               C800 - EFFF (TP755CD/CD/CSE/CX/CV/CDV with Video BIOS at
  183.                            C000-C7FF)
  184.               C000 - E7FF (TP755CD/CD/CSE/CX/CV/CDV with Video BIOS at
  185.                            E800-EFFF)
  186.  
  187.    - Care must be taken to ensure that PCMCIA cards are setup to use
  188.      areas within the specified "/MA= " Range, or they may fail to
  189.      be enabled. For example, the PROTOCOL.INI or NET.CFG for a
  190.      Token Ring PCMCIA card should not specify MMIO or SRAM outside
  191.      of the "/MA= " area.
  192.    - Any area included in the "/MA= " is designated as available for
  193.      Card Services / PCMCIA devices, and therefore, should not be
  194.      used by other devices or memory managers. For example, if
  195.         /MA=C100-C7FF
  196.      then this area should be excluded from EMM386 with the
  197.         X=C100-C7FF
  198.      parameter on the EMM386 line in CONFIG.SYS.
  199.  
  200. See the User's Guide section on PCMCIA for more details.
  201.  
  202.  
  203. 7. Disable Dock 2 SCSI BIOS If Not Required
  204.    - Applies to ThinkPads using Dock 2 Docking Station
  205.  
  206. If you are not actually using any SCSI device in the Dock 2, or are only
  207. using the internal SCSI CDROM, you do not need to load SCSI BIOS. Disabling
  208. the SCSI BIOS in the Dock 2 will free 16 KB of memory.
  209.  
  210. To disable the SCSI BIOS, do the following:
  211.    a. Ensure that either no SCSI device is installed, or that only the
  212.       internal SCSI CD ROM is installed.
  213.    b. Determine if SCSI BIOS is currently enabled. Boot the ThinkPad while
  214.       attached to the Dock 2. If the following message appears, SCSI
  215.       BIOS is enabled:
  216.          Adaptec IBM Dock II SCSI BIOS
  217.          Press <Ctrl><A> for SCSISelect(TM) Utility!
  218.    c. If SCSI BIOS is enabled, then you may disable it by removing the
  219.       Dock 2 cover and setting the DIP switch block to:
  220.  
  221.           sw1    sw2    sw3    sw4
  222.           ---    ---    ---    ---
  223.           On     On     On     don't change
  224.  
  225.       This will disable SCSI BIOS, but allow the SCSI controller to
  226.       be active for CDROM support. See the Dock 2 User's Guide pages
  227.       78 and 79 for location of DIP switches. Reinstall the Dock 2
  228.       cover.
  229.    d. Attach the ThinkPad to the Dock 2 and reboot. You should no longer
  230.       see the "Adaptec IBM Dock II SCSI BIOS" message during boot.
  231.  
  232.  
  233. 8. Use Point Enablers for PCMCIA
  234.    - Applies to all ThinkPads running DOS / Windows with PCMCIA
  235.  
  236. If you do not need the ability to "hot plug" PCMCIA cards (ie. to
  237. insert / eject cards without powering off / rebooting), you may be
  238. able to use "point enablers" to enable your PCMCIA cards. Point enablers
  239. communicate directly with the PCMCIA controller, and allow you to save
  240. the memory used by the Socket Services, Card Services, PCMCIA Power
  241. Management, and any PCMCIA client drivers.
  242.  
  243. NOTE: Care should be taken when using more than one Point Enabler,
  244.       since there is potential that one may interfere with operation
  245.       of another. You may have to try the two enablers together and
  246.       be sure no problems occur.
  247.  
  248. NOTE: Generally, point enablers cannot be used to enable PCMCIA cards
  249.       in the PCMCIA slots in the Port Replicator 1 or the Dock 2 unless
  250.       they have been specifically modified to do so by the PCMCIA card
  251.       manufacturer.
  252.  
  253.  
  254. 9. Group UMBs used by Devices
  255.    - Applies to all ThinkPads running DOS / Windows
  256.  
  257. The upper memory area, between the 640KB conventional memory and the
  258. 1MB limit, is best utilized by EMM386 or other memory managers if all
  259. free upper memory is contiguous. Device drivers and TSR type programs
  260. can then be loaded more easily and efficiently into Upper Memory
  261. Blocks.
  262.  
  263. To accomplish this, it is best to group all memory used by devices such
  264. as:
  265.        PCMCIA Cards (and Card Services)
  266.        ISA Adapters (in Dock 1 or Dock 2)
  267.        SCSI BIOS (Dock 1 or Dock 2)
  268.  
  269. together either at the bottom of the available upper memory range
  270. or at the top of the available upper memory range as much as possible.
  271. Limitations of some devices may dictate to what degree this can
  272. actually be accomplished.
  273.  
  274.  
  275.