home *** CD-ROM | disk | FTP | other *** search
/ ftp.wwiv.com / ftp.wwiv.com.zip / ftp.wwiv.com / pub / MISC / TGARTS.ZIP / DVTECH.ZIP / EXCLUDE.TEC < prev    next >
Text File  |  1994-03-03  |  9KB  |  221 lines

  1. ID:EX Using QEMM-386's Analysis Procedure to Find Memory Conflicts
  2. Quarterdeck Technical Note #219                       Filename: EXCLUDE.TEC
  3. by Quarterdeck Testing & Compatibility              CompuServe: EXCLUD.TEC
  4. Last revised:  7/02/92                                Category: QEMM
  5.  
  6. Subject: Finding potential conflicts in the address space between 640K and 1MB
  7.          by using QEMM-386's Analysis procedure.  An important note for users
  8.          on network workstations.
  9.  
  10.  
  11.                                  EXCLUDE
  12.  
  13.      The purpose of this document is to explain the use of QEMM-386's ANALYSIS 
  14. feature for the purpose of finding other users of the address space between 
  15. 640K and 1024K that QEMM-386 is not finding on boot and must be EXCLUDEd 
  16. explicitly on the QEMM386.SYS line of the CONFIG.SYS. If you are using 
  17. Stealth, the issue discussed here should be addressed with the technote, 
  18. STEALTH.TEC.
  19.  
  20.  
  21. WHAT IS ANALYSIS?
  22.  
  23.       Whenever QEMM-386 is "on" it monitors the use of the first megabyte 
  24. address space.  The QEMM-386/ANALYSIS screen of MANIFEST shows what portions 
  25. of the address space need to be excluded with the letter X (red on color 
  26. monitors) if QEMM-386 is not creating high RAM.
  27.  
  28.  
  29. WHY SHOULD I USE ANALYSIS?
  30.  
  31.       If you are getting an Exception #13, are unable to access your network 
  32. when QEMM-386 is installed, cannot access a floppy, print, run some program, 
  33. lock-up at some identifiable point in operating your computer (from booting to 
  34. running your word processor), or have some other problem when running QEMM-386 
  35. that you do not have when you do not run QEMM-386, then the ANALYSIS procedure 
  36. may be a useful diagnostic process.
  37.  
  38.  
  39. WHY IS THIS NECESSARY?
  40.  
  41.       This procedure is necessary sometimes because Adapter ROMs and Adapter 
  42. RAMs do not identify themselves in such a way as to be detected properly by 
  43. QEMM-386.  Adapter ROMs are supposed to identify their length in the third 
  44. byte of the ROM itself but sometimes report a smaller size.  Adapter RAMs that 
  45. are not active at boot look exactly like unoccupied address space.  QEMM-386 
  46. maps unused portions of the system BIOS ROM and will map over such adapter 
  47. ROMs and RAMs.  Some special CGA video cards have two pages of video:  one at 
  48. B800-BBFF, the second at BC00-BFFF.  QEMM-386 often maps over the second page, 
  49. causing a conflict if you run a program that tries to use the second page.  In 
  50. rare circumstances there are programs that use portions of the high address 
  51. space directly.
  52.  
  53.  
  54. HOW DOES ANALYSIS WORK?
  55.  
  56.       The QEMM-386/ANALYSIS screen of MANIFEST is a cross-reference between 
  57. the QEMM-386/TYPE and QEMM-386/ACCESSED screens.  The TYPE screen shows who 
  58. QEMM-386 thinks is using the address space:  Video, ROM, Page frame, High RAM, 
  59. etc.  The ACCESSED screen shows whether the address space has been accessed.  
  60. When QEMM-386 is not itself accessing the high address space (as it will when 
  61. the RAM parameter is on the QEMM386.SYS line of the CONFIG.SYS) and QEMM-386 
  62. is finding that some portion of the address space is being accessed yet QEMM-
  63. 386 is not detecting the existence of a video card, ROM, adapter RAM or ROM, 
  64. or the like in this same portion of the address space, but is finding it 
  65. "mappable" instead, then the ANALYSIS screen will report that this portion of 
  66. the address space must be EXCLUDEd.
  67.  
  68.  
  69. How do I use ANALYSIS to find EXCLUDEs?
  70.  
  71.       First remove the RAM parameter from the QEMM386.SYS line of the 
  72. CONFIG.SYS and add the ON and MA=0 parameters.  This is to make sure that 
  73. QEMM386 is not itself a user of the high address space and that it is on.  
  74. Then reboot the machine and run the software that was causing the problem.  
  75. The problem should not recur.  Then, without rebooting, look at the QEMM-
  76. 386/ANALYSIS screen of MANIFEST.  If you see Xs then these portions of the 
  77. address space must be EXCLUDEd on the QEMM386.SYS line of the CONFIG.SYS.  See 
  78. the QEMM-386 manual section on the syntax of the EXCLUDE parameter.
  79.      If the QEMM-386 is putting the page frame over a portion of the address 
  80. space that QEMM-386 should not be mapping then it may be necessary to put the 
  81. parameter FR=NONE on the QEMM386.SYS line of the CONFIG.SYS during the 
  82. ANALYSIS process.
  83.      Once you are done with the ANALYSIS process you can restore the RAM 
  84. parameter to the QEMM386.SYS line along with the appropriate EXCLUDEs.
  85.  
  86.  
  87. HOW CAN ANALYSIS FAIL?
  88.  
  89.       The only serious pitfall to the ANALYSIS process is that there are users 
  90. of the high address space that use the high address space only momentarily.
  91.      There is a Bernoulli Box that has an Adapter ROM that goes in the high 
  92. address space.  When the device driver for the Bernoulli Box loads it searches 
  93. for itself at the beginning of every 8K portion of the address space beginning 
  94. at C800.  If the Adapter ROM is at DC00 (say) then the device driver will 
  95. access every other 4k of the address space from C800 to DC00, causing Xs to 
  96. appear on the ANALYSIS screen every other block in this area even though the 
  97. areas between C800-DBFF are only being used during the searching process.  
  98. These areas need not be excluded, only, possibly, the DC00-DEFF, where the 
  99. Adapter ROM of the Bernoulli Box resides.
  100.      When you go into enhanced mode of Microsoft's Windows then QEMM-386 is 
  101. not active and the ANALYSIS process is not useful for the period of time that 
  102. you are in enhanced mode.
  103.  
  104.  
  105. WHAT COST CAN THERE BE IN EXCLUDING AN AREA?
  106.  
  107.       EXCLUDing a portion of the address space will only cost you, at the 
  108. worst, a bit of usable high RAM.  It will not make your system malfunction in 
  109. any other way.
  110.      If you add an EXCLUDE you should run OPTIMIZE again because your 
  111. available high RAM regions have been resized and, possibly, renumbered.
  112.  
  113.  
  114. WHAT ABOUT THOSE GREEN "I"S?
  115.  
  116.       The green I you see on the QEMM-386/ANALYSIS screen indicates that this 
  117. portion of the address space has not been accessed by anyone YET and QEMM-386 
  118. is not mapping this portion of the address space.  It is quite possible that 
  119. this portion of the address space will be accessed later.  (The portion of the 
  120. system BIOS rom that contains the code for controlling the floppy drive may 
  121. report that it is INCLUDable until you actually use the drive.  If you INCLUDE 
  122. it you will have no problem until you access a floppy.)  The QEMM-386 manual 
  123. discusses the use of the ANALYSIS process for this purpose; this document does 
  124. not.
  125.  
  126. SUMMARY
  127.  
  128.       Quarterdeck has done its best to identify users of the high address 
  129. space but it is not 100% successful.  ANALYSIS is a tool to allow the user to 
  130. find high address space users he/she cannot identify through the documentation 
  131. of his/her hardware.
  132.  
  133.  
  134. EXAMPLE
  135.  
  136.      To begin the ANALYSIS process the QEMM-386 line of the CONFIG.SYS will 
  137. look like:
  138.      device=c:\qemm\qemm386.sys on ma=0
  139.  
  140.      QEMM-386/TYPE
  141.  
  142.    n=0123 4567 89AB CDEF
  143. 0n00 XXXX XXXX XXXX XXXX      
  144. 1n00 ++++ ++++ ++++ ++++   
  145. 2n00 ++++ ++++ ++++ ++++
  146. 3n00 ++++ ++++ ++++ ++++
  147. 4n00 ++++ ++++ ++++ ++++
  148. 5n00 ++++ ++++ ++++ ++++
  149. 6n00 ++++ ++++ ++++ ++++
  150. 7n00 ++++ ++++ ++++ ++++
  151. 8n00 ++++ ++++ ++++ ++++
  152. 9n00 ++++ ++++ ++++ ++++
  153. An00 VVVV VVVV VVVV VVVV
  154. Bn00 ++++ ++++ VVVV VVVV
  155. Cn00 RRRR RRRR ++++ ++++
  156. Dn00 A+++ ++++ ++++ ++++
  157. En00 FFFF FFFF FFFF FFFF
  158. Fn00 ++++ +++R RRRR RRRR
  159.  
  160.      Look at the Dn00 line:  QEMM-386 is identifying an Adapter RAM in D000-
  161. D0FF.
  162.  
  163.      QEMM-386/ACCESSED
  164.  
  165.    n=0123 4567 89AB CDEF
  166. 0n00 WWWW AAAA AWWW WWWW
  167. 1n00 WWWW WWWW WWWW WWWW
  168. 2n00 WWWW WWWW WWWW WWUU
  169. 3n00 UUUU UUUU UUUU UUUU
  170. 4n00 UUUU UUUU UUUU UUUU
  171. 5n00 UUUU UUUU UUUU UUUU
  172. 6n00 UUUU UUUU UUUW WWWW
  173. 7n00 WWWW WWWW WWWW WWWW
  174. 8n00 WUUU UUUU WWUU UUUU
  175. 9n00 UUUU UUUU WWWW WWWW
  176. An00 WWUU UUUU UUUU UUUU
  177. Bn00 UUUU UUUU WWWW WWWW
  178. Cn00 WWWW WWWW UUUU UUUU
  179. Dn00 WWAA UUUU UUUU UUUU
  180. En00 UUUU UUUU UUUU UUUU
  181. Fn00 UUUU UUUU UUUU UUUW
  182.  
  183.      Look at the Dn00 line:  QEMM-386 is detecting that D000-D3FF is actually 
  184. being accessed, D000-D1FF being written to and D200-D3FF only being read.
  185.  
  186.      QEMM-386/ANALYSIS
  187.  
  188.    n=0123 4567 89AB CDEF
  189. 0n00 OOOO OOOO OOOO OOOO
  190. 1n00 OOOO OOOO OOOO OOOO
  191. 2n00 OOOO OOOO OOOO OOOO
  192. 3n00 OOOO OOOO OOOO OOOO
  193. 4n00 OOOO OOOO OOOO OOOO
  194. 5n00 OOOO OOOO OOOO OOOO
  195. 6n00 OOOO OOOO OOOO OOOO
  196. 7n00 OOOO OOOO OOOO OOOO
  197. 8n00 OOOO OOOO OOOO OOOO
  198. 9n00 OOOO OOOO OOOO OOOO
  199. An00 OOOO OOOO OOOO OOOO
  200. Bn00 OOOO OOOO OOOO OOOO
  201. Cn00 OOIO OIOO OOOO OOOO
  202. Dn00 OXXX OOOO OOOO OOOO
  203. En00 OOOO OOOO OOOO OOOO
  204. Fn00 OOOO OOOO OOOO OOOO
  205.  
  206.      Look at the Dn00 line:  ANALYSIS is pointing out to me that I need to 
  207. exclude D100-D3FF.  I have a network card at D000, QEMM-386 is identifying it 
  208. as having only a 4K adapter RAM on boot while it really has a 16K adapter RAM.  
  209. ACCESSED is reporting that 16K is being accessed and ANALYSIS is pointing out 
  210. that the additional 12K must be EXCLUDEd.  My new CONFIG.SYS will have this 
  211. line:
  212.  
  213. device=c:\qemm\qemm386.sys ram x=d100-d3ff
  214.  
  215.  
  216.   ************************************************************************
  217.   *This technical note may be copied and distributed freely as long as it*
  218.   *is distributed in its entirety and it is not distributed for profit.  *
  219.   *         Copyright (C) 1990-94 by Quarterdeck Office Systems          *
  220.   ************************ E N D   O F   F I L E *************************
  221.