home *** CD-ROM | disk | FTP | other *** search
/ PC Online 1998 September / PCO_0998.ISO / filesbbs / dos / sbbs230b.exe / DOCS.LZH / QEMM.DOC < prev    next >
Encoding:
Text File  |  1995-04-18  |  7.0 KB  |  169 lines

  1. Experience has shown that problems with DESQview usually have nothing to do
  2. with DESQview and everything to do with QEMM.
  3.  
  4. The default QEMM config.sys line is "DEVICE=QEMM386.SYS RAM". If you are using
  5. this config.sys line, you are playing with fire. On every system configuration
  6. tested at Digital Dynamics, DESQview (or even just plain DOS) will eventually
  7. crash using this config.sys line.
  8.  
  9. The problem is that QEMM is using memory regions that other components of your
  10. systems are also trying to use. This is bad. QEMM may also not be using memory
  11. regions that are not in use and therefore you may not be getting all the
  12. available upper memory possible. This is important if you need to load TSRs,
  13. device drivers, or network drivers into high memory to leave as much DOS base
  14. memory as possible.
  15.  
  16. An example config.sys:
  17.  
  18.  1: shell=c:\dos\command.com /e:1024 /p
  19.  2: stacks=0,0
  20.  3: buffers=5
  21.  4: files=50
  22.  5: lastdrive=m
  23.  6: device=c:\dev\qemm386.sys ram x=b800-c7ff i=f000-f7ff i=fd00-fdff
  24.  7: device=c:\dev\loadhi.sys c:\dev\smartdrv.sys 1024
  25.  8: device=c:\dev\loadhi.sys c:\dev\ramdrive.sys 4096 256 512 /e
  26.  9: device=c:\dev\loadhi.sys c:\dev\ansi.sys
  27.  
  28. Remember, this example config.sys will probably NOT work in your system. It
  29. does however work in one specific system. The right config.sys line for your
  30. system will need to be determined by you. Keep reading to find out how to make
  31. that determination.
  32.  
  33. Note line 6, where QEMM386.SYS is loaded. The extra parameters after "ram"
  34. are specifying that QEMM exclude (not use) the memory region B800h through
  35. C7FFh and that QEMM should include (use) the memory regions F200h through F2FFh
  36. and F400h through F6FFh.
  37.  
  38. The "x=b800-c7ff" part of the line is VERY IMPORTANT. Without this parameter,
  39. this particular system will eventually crash under DESQview or even DOS alone
  40. under some circumstances. The crash will manifest itself differently with
  41. different system configurations. It may give you a "QEMM protection violation"
  42. or "Invalid instruction", or "NO ROM BASIC - SYSTEM HALTED", or it just may
  43. suddenly freeze.
  44.  
  45. The "i=nnnn-nnnn" parameters in the line tell QEMM to include (use) these
  46. memory regions for more available high memory. You should NOT use the inclusion
  47. parameter unless you are positive that no component of your system will try
  48. to use that memory region (including your system BIOS).
  49.  
  50. So how do you figure what to include and exclude? By using the QEMM.COM utility
  51. with the "analysis" parameter. The first time you run "qemm analysis", you'll
  52. see something like this:
  53.  
  54. ╔═══════════════════════════════════╗
  55. ║     Area      Size      Status    ║
  56. ║ 0000 - C2FF   780K   OK           ║
  57. ║ C300 - C7FF    20K   Include      ║
  58. ║ C800 - EFFF   160K   OK           ║
  59. ║ F000 - F1FF     8K   Include      ║
  60. ║ F200 - F2FF     4K   OK           ║
  61. ║ F300 - F3FF     4K   Include      ║
  62. ║ F400 - F6FF    12K   OK           ║
  63. ║ F700 - F8FF     8K   Include      ║
  64. ║ F900 - FAFF     8K   OK           ║
  65. ║ FB00 - FBFF     4K   Include      ║
  66. ║ FC00 - FCFF     4K   OK           ║
  67. ║ FD00 - FDFF     4K   Include      ║
  68. ║ FE00 - FFFF     8K   OK           ║
  69. ╚═══════════════════════════════════╝
  70.  
  71. The regions with the status "OK" mean that QEMM is dealing with it correctly.
  72. It is either NOT using the region because another resource is using it or it
  73. is using the region and no other resource has tried to use it since you booted.
  74.  
  75. The regions with the status of "Include" mean that QEMM is not using the region
  76. and no other resource has tried to use it since you booted.
  77.  
  78. The regions with the status of "Exclude" (none listed above) mean that QEMM is
  79. using the region and another resource has tried to use that region at the same
  80. time. This region must be manually excluded with the "x=nnnn-nnnn" parameter
  81. on your config.sys line.
  82.  
  83. Now don't be fooled by all the "Include" regions above in that box. As you use
  84. the system, those regions will shrink, split, or disappear altogether. After
  85. executing "qemm analysis" (producing the above output) and then accessing a
  86. floppy drive, the "Include" regions already begin to disappear:
  87.  
  88. ╔═══════════════════════════════════╗
  89. ║     Area      Size      Status    ║
  90. ║ 0000 - C2FF   780K   OK           ║
  91. ║ C300 - C7FF    20K   Include      ║
  92. ║ C800 - EFFF   160K   OK           ║
  93. ║ F000 - F1FF     8K   Include      ║
  94. ║ F200 - F2FF     4K   OK           ║
  95. ║ F300 - F3FF     4K   Include      ║
  96. ║ F400 - F6FF    12K   OK           ║
  97. ║ F700 - F8FF     8K   Include      ║
  98. ║ F900 - FCFF    16K   OK           ║
  99. ║ FD00 - FDFF     4K   Include      ║
  100. ║ FE00 - FFFF     8K   OK           ║
  101. ╚═══════════════════════════════════╝
  102.  
  103. After switching into every available video mode and running "qemm analysis"
  104. again:
  105.  
  106. ╔═══════════════════════════════════╗
  107. ║     Area      Size      Status    ║
  108. ║ 0000 - C5FF   792K   OK           ║
  109. ║ C600 - C6FF     4K   Include      ║
  110. ║ C700 - EFFF   164K   OK           ║
  111. ║ F000 - F1FF     8K   Include      ║
  112. ║ F200 - F2FF     4K   OK           ║
  113. ║ F300 - F3FF     4K   Include      ║
  114. ║ F400 - F6FF    12K   OK           ║
  115. ║ F700 - F8FF     8K   Include      ║
  116. ║ F900 - FCFF    16K   OK           ║
  117. ║ FD00 - FDFF     4K   Include      ║
  118. ║ FE00 - FFFF     8K   OK           ║
  119. ╚═══════════════════════════════════╝
  120.  
  121. After typing "echo ^g" at the DOS prompt (^g stands for Ctrl-G) and then
  122. running "qemm analysis" again:
  123.  
  124. ╔═══════════════════════════════════╗
  125. ║     Area      Size      Status    ║
  126. ║ 0000 - C5FF   792K   OK           ║
  127. ║ C600 - C6FF     4K   Include      ║
  128. ║ C700 - EFFF   164K   OK           ║
  129. ║ F000 - F1FF     8K   Include      ║
  130. ║ F200 - F2FF     4K   OK           ║
  131. ║ F300 - F3FF     4K   Include      ║
  132. ║ F400 - F6FF    12K   OK           ║
  133. ║ F700 - F7FF     4K   Include      ║
  134. ║ F800 - FCFF    20K   OK           ║
  135. ║ FD00 - FDFF     4K   Include      ║
  136. ║ FE00 - FFFF     8K   OK           ║
  137. ╚═══════════════════════════════════╝
  138.  
  139. As you can see, just about every system function will effect the regions that
  140. QEMM thinks you can safely include. It is a good idea to run just above every
  141. application you can and access every device on your system before deciding
  142. that the information provided by "qemm analysis" may be accurate and usable.
  143.  
  144. If "qemm analysis" every reports a region with the status of "Exclude", do not
  145. question it. Immediately edit your config.sys excluding that region and reboot.
  146.  
  147. If, for example, "qemm analysis" reports:
  148.  
  149. ╔═══════════════════════════════════╗
  150. ║     Area      Size      Status    ║
  151. ║ 0000 - C5FF   792K   OK           ║
  152. ║ C600 - C6FF     4K   Include      ║
  153. ║ C700 - EFFF   164K   OK           ║
  154. ║ F000 - F1FF      8K   Exclude        ║
  155. ║ F200 - F2FF     4K   OK           ║
  156. ║ F300 - F3FF     4K   Include      ║
  157. ║ F400 - F6FF    12K   OK           ║
  158. ║ F700 - F7FF     4K   Include      ║
  159. ║ F800 - FCFF    20K   OK           ║
  160. ║ FD00 - FDFF     4K   Include      ║
  161. ║ FE00 - FFFF     8K   OK           ║
  162. ╚═══════════════════════════════════╝
  163.  
  164. Edit your config.sys file addding "x=f000-f1ff" at the end of your
  165. "device=qemm386.sys" line. Then reboot your system.
  166.  
  167.  
  168.  
  169.