home *** CD-ROM | disk | FTP | other *** search
/ Black Box 4 / BlackBox.cdr / textinfo / drtips.arj / 1303.TXT < prev    next >
Encoding:
Text File  |  1991-11-26  |  4.9 KB  |  133 lines

  1. Document 1303
  2. Third Party Memory Managers
  3.  
  4. Initials:
  5.         MDC
  6.         11/2/91
  7.     DRDOS 6.0
  8.  
  9. Keywords:
  10.         EMM386.SYS
  11.         HIDOS.SYS
  12.         QUALITAS
  13.         QUARTERDECK
  14.         DESQVIEW
  15.         386MAX
  16.         QEMM
  17.         QRAM
  18.     
  19. Description:
  20.  
  21.  Relocating the Kernel
  22.  
  23. When you use a memory manager from another vendor, you can gain additional  
  24. conventional memory space by relocating the DR DOS kernel to upper  
  25. or high memory. The third-party memory manager must support the XMS  
  26. specification, and upper or high memory must be available.
  27. To relocate the kernel, insert the statement:
  28.  
  29.         DEVICE=C:\DRDOS\HIDOS.SYS
  30.  
  31. after the statement that loads the third-party memory manager.
  32.  
  33. HIDOS.SYS attempts, by default, to relocate the DR DOS kernel to upper  
  34. memory. If upper memory is not supported or not available, the kernel  
  35. is placed in high memory. You can force the kernel to high memory  
  36. by using the following DEVICE statement:
  37.  
  38.         DEVICE=C:\DRDOS\HIDOS.SYS /BDOS=FFFF
  39.  
  40. The following examples show how and where to add the statement when  
  41. loading Qualitas 386MAX or the Quarterdeck QEMM or QRAM  
  42. drivers.
  43.  
  44. Qualitas 386MAX
  45.  
  46.         DEVICE=C:\386MAX\386MAX.SYS [...etc.]
  47.         DEVICE=C:\DRDOS\HIDOS.SYS [...etc.]
  48.         DEVICE=C:\386MAX\386LOAD.SYS [...etc.]
  49.  
  50. Quarterdeck QEMM.386
  51.  
  52.         DEVICE=C:\QEMM\QEMM.SYS [...etc.]
  53.         DEVICE=C:\DRDOS\HIDOS.SYS [...etc.]
  54.         DEVICE=C:\QEMM\LOADHI.SYS [...etc.]
  55.  
  56. Quarterdeck QRAM (with Intel AboveBoard)
  57.         @SCREEN = DEVICE=C:\ABOARD\EMS.SYS AT 208 MC
  58.         DEVICE=C:\QRAM\QRAM.SYS.
  59.         DEVICE=C:\DRDOS\HIDOS.SYS
  60.         DEVICE=C:\QRAM\LOADHI.SYS [...etc.]
  61.  
  62. Note:
  63. EMM386.SYS cannot be used with other memory managers.
  64.  
  65. When a third-party memory manager is loaded, the following config.sys  
  66. statements have no effect:
  67.  
  68. HIINSTALL 
  69. HIDEVICE
  70. HIDOS= [ON/OFF] will work with third party memory managers that provide  
  71. XMS UMB support.  However, HILOAD, HIDEVICE, and HIINSTALL commands  
  72. have no effect.  Most memory managers offer equivalent commands that  
  73. you can use.
  74.  
  75. Quarterdeck DESQview
  76.  
  77. When running the Quarterdeck DESQview proggram under the DR DOS 6.0  
  78. operating system, use the QEMM386.SYS driver as the primary memory  
  79. management driver instead of EMM386.SYS provided with the DR DOS 6.0  
  80. operating system. When QEMM386.SYS loads from the config.sys file,  
  81. it then becomes responsible for controlling both the upper memory  
  82. area, between 640 Kytes and l Mbyte, and the high memory area, the  
  83. first 64 Kytes above l Mbyte.
  84.  
  85. Move device drivers and memory resident software to upper memory using  
  86. the normal QEMM LOADHI commands. After loading QEMM386.SYS, the operating  
  87. system kernel can still be moved to upper memory or high memory by  
  88. loading the DR DOS HIDOS.SYS driver in the config.sys file right  
  89. after the QEMM386.SYS driver. To move the kernel to upper memory,  
  90. use the option /B=AUTO at the end of the HIDOS.SYS line in config.sys.  
  91.  
  92. To specify that the kernel should be placed in high memory, leaving  
  93. more upper memory available for device drivers and memory resident  
  94. programs, use the option /B=FFFF.
  95.  
  96. Depending on the configuration of DESQview, a gain in available memory  
  97. might not be seen after loading HIDOS.SYS. DESQview uses the high  
  98. memory for 63Kbytes of code that normally sit in conventional memory,  
  99. while HIDOS.SYS moves approximately 45Kbytes into that area. Because  
  100. the high memory area can be used by only one application at a time,  
  101. experiment with /B=AUTO, /B=FFFF, or do not load HIDOS.SYS. 
  102. These different options can be quickly tested using the DR DOS 6.0  
  103. question mark option (?) in config.sys. Placing a ? in front of  
  104. any line in config.sys displays that line at boot-up and then you  
  105. can select Y(es) or N(o) to execute that instruction. 
  106.  
  107. You might insert the following lines while experimenting:
  108.  
  109. ?"Do you want to avoid moving the KERNEL (Y/N)"GOTO SKIP 
  110. ?"Kernel in Upper Memory (Y/N)"  
  111. DEVICE=C:\DRDOS\HIDOS.SYS /B=AUTO 
  112. ?"Kernel in High Memory (Y/N)" 
  113. DEVICE=C:\DRDOS\HIDOS.SYS /B=FFFF  
  114. :SKIP
  115.  
  116. Refer to Chapter 11 of the DR DOS 6.0 User Guide for a full  
  117. discussion of this feature.
  118.  
  119. If you are running QEMM386.SYS without DESQview, you should always  
  120. move the kernel to high memory.
  121.  
  122.  HIDOS=ON AND 3RD PARTY MEMORY MANAGERS
  123.  
  124. It was brought to our attention recently that the HIDOS=[ON|OFF] command
  125. from DR DOS 6.0 will function properly with QEMM v.6.0. I have found
  126. that HIDOS=[ON|OFF] will work with any XMS UMB provider. That is, if a
  127. user loads a third party memory manager which creates and makes
  128. available XMS upper memory blocks compatible with the 2.0 specification,
  129. HIDOS=[ON|OFF] itself will relocate DR DOS 6.0 data structures in upper
  130. memory. Those blocks will appear as "XMS UMB"'s from within any memory
  131. mapping utilities provided with the third party memory manager.
  132.  
  133.