home *** CD-ROM | disk | FTP | other *** search
/ 1st Canadian Shareware Disc / 1st_Canadian_Shareware_Disc_1991.ISO / graphics / vpapp_3 / vpapp_3.txt < prev   
Text File  |  1989-01-06  |  14KB  |  287 lines

  1. @PARAFILTR ON =
  2.  
  3. @BANNER = Ventura Publisher<B^><190><D>
  4.  
  5. @APP NOTE = Application Note #3
  6.  
  7. @NAME = Subjects:    EMS<R>
  8.      Disk caches
  9.  
  10. This application note provides numerous examples of the CONFIG.SYS 
  11. and AUTOEXEC.BAT files required to run Ventura Publisher. The examples 
  12. use many different combinations of common EMS drivers, disk caches, 
  13. XMS drivers, and other system software. All of these configurations 
  14. have actually been used in real life and were copied directly from 
  15. real CONFIG.SYS, AUTOEXEC.BAT and VP.BAT files.
  16.  
  17. The purpose of this note is to help assure Ventura Publisher users 
  18. that their system is configured correctly. Most problems related to 
  19. Ventura Publisher installation result from incorrect CONFIG.SYS and 
  20. AUTO<->EXEC.BAT parameters. While the exact configuration you require 
  21. is probably not identical to what you see here, you can probably spot 
  22. problems with your configuration by looking at examples of configurations 
  23. which really work.
  24.  
  25. The amount of EMS or extended memory in the computer as well as the 
  26. type of computer are specified when necessary.
  27.  
  28. Just as a reminder, expanded memory and EMS memory are two words for 
  29. the same thing. <MI>Extended<D> memory, however, is a different animal. 
  30. Programs which use EMS memory (like Ventura Publisher) typically cannot 
  31. use extended memory (although Ventura Publisher <MI>can<D> use up 
  32. to 64K of extended memory by using an XMS driver, as explained later 
  33. in this note). The most common mistake made in configuring computers 
  34. for Ventura Publisher is to install extra memory as extended memory 
  35. instead of expanded. We all wish someone had come up with two names 
  36. that were not so similar. However, we're stuck with extended and expanded 
  37. (EMS).
  38.  
  39. @HEAD 1 = Example #1
  40.  
  41. The following AUTO<->EXEC.BAT file shows the proper settings required 
  42. to place the Super PC Kwik disk cache into EMS memory and reserve 
  43. 512K of EMS memory for Ventura Publisher. Failure to specify a /R 
  44. parameter will result in all EMS memory being allocated to the disk 
  45. cache. As a consequence, no EMS memory will be available to Ventura 
  46. Publisher. Most other disk cache programs also have parameters which 
  47. must be specified to make sure that:
  48.  
  49. 1. Expanded (EMS) or extended memory is used for the cache rather 
  50. than conventional memory.
  51.  
  52. 2. Not <MI>all<D> of the expanded (EMS) or extended memory is consumed 
  53. by the cache.
  54.  
  55. One of the biggest problems many people have when installing Ventura 
  56. Publisher (especially the Professional Extension) is that they use 
  57. a disk cache or other program which takes every byte of EMS memory 
  58. for itself, leaving nothing for Ventura Publisher. You must restrict 
  59. this usage if Ventura Publisher is to be able to use EMS memory.
  60.  
  61. @TABLE = <F1>PATH=C:\BATCH;C:\DOS;C:\<R>
  62. SUPERPCK /A+/R:512<R>
  63. PROMPT $P$G<F255>
  64.  
  65. @HEAD 1 = Example #2<N><197>386<P7BJ247>MAX<P6><191><P255DJ0>
  66.  
  67. This program (available from Qualitas, Inc. of Bethesda Maryland) 
  68. increases the amount of memory available on 386 computers by using 
  69. an XMS driver, and also by using certain other areas of memory between 
  70. 640K and 1024K to load CONFIG.SYS drivers, TSR programs (terminate 
  71. but stay resident programs), and portions of applications. The combination 
  72. of both techniques can increase the effective conventional memory 
  73. area to over 800K in some situations. It can also let you use TSR 
  74. programs such as Norton Utilities<M^><190><D> or Sidekick<M^><190><D> 
  75. without running out of conventional (640K) memory.
  76.  
  77. You can use this product in several ways. The best way is to let 386<P7J247>MAX<P255J0> 
  78. place all device drivers, network drivers, and TSR programs into <169>high 
  79. memory.<170> For example, for the Novell network this is done by placing 
  80. the following highlighted command in your CONFIG.SYS file:
  81.  
  82. @TABLE = <F1>FILES=20<R>
  83. BUFFERS=20<R>
  84. <B>DEVICE=C:\386MAX.SYS<F255D>
  85.  
  86. and the following highlighted commands in your AUTOEXEC.BAT file:
  87.  
  88. @TABLE = <F1B>386MAX LOADHIGH<D><R>
  89. IPX.COM<R>
  90. NET3<R>
  91. <B>386MAX LOADLOW<D><R>
  92. F:<R>
  93. LOGIN HEISKELL<F255>
  94.  
  95. All programs between the LOADHIGH and LOADLOW commands will be automatically 
  96. loaded into high memory, if possible.
  97.  
  98. If your 386 computer does not contain any device drivers, network 
  99. drivers, or TSR programs, you can use 386<P7J247>MAX<P255J0> to load 
  100. portions of Xerox Ventura Publisher into high memory. To do this, 
  101. modify the VP.BAT file as follows:<P7J247>
  102.  
  103. @TABLE = <F1B>386MAX OPENHIGH<D><R>
  104. C:<R>
  105. CD \VENTURA<R>
  106. DRVRMRGR VP %1 /S=SDFVGAH5.VGA/M=01<R>
  107. <B>386MAX CLOSEHIGH<F255D>
  108.  
  109. The following CONFIG.SYS file shows the proper settings to use 386max 
  110. in a Compaq 386 computer in conjunction with the CACHE program which 
  111. Compaq provides. 386max maps the Compaq 386 extended memory into expanded 
  112. (EMS) memory. Note that the NOHIGH command on the first line is <B>not<D> 
  113. required for most configurations. You only need this command if the 
  114. screen display goes blank when loading Ventura Publisher. Also, note 
  115. that the disk cache is restricted to 512K, thus leaving the remaining 
  116. EMS memory for Ventura Publisher.
  117.  
  118. @TABLE = <P8M>DEVICE=C:\386MAX.SYS NOHIGH<R>
  119. DEVICE=C:\CACHE.EXE 512 /EXP<R>
  120. FILES=20<P255D>
  121.  
  122. @HEAD 1 = Example #3
  123.  
  124. The following CONFIG.SYS file shows the proper settings to use with 
  125. Quarterdeck's QEMM program which maps 386 extended memory to expanded 
  126. (EMS) memory. This configuration is a little unusual in that the QEMM 
  127. driver is configured to leave 512K of extended memory rather than 
  128. mapping all of it to expanded memory. The Compaq disk cache is then 
  129. configured to use all of this extended memory. This was done for three 
  130. reasons. First, some disk caches operate more effectively from extended 
  131. memory than EMS memory, or may be configured for larger sizes when 
  132. placed in extended memory than when placed in EMS memory. Second, 
  133. this method provides an alternative method (compared to some of the 
  134. previous CONFIG.SYS files) to restrict the amount of memory allocated 
  135. to other programs and device drivers. All extended memory <MI>except<D> 
  136. for 512K is mapped to expanded memory and <B>all<D> of this expanded 
  137. memory is available to Ventura Publisher. Third, some programs, most 
  138. notably Windows 386, require extended rather than expanded (EMS) memory. 
  139. If you plan to use these programs at the same time as Ventura Publisher, 
  140. this CONFIG.SYS file provides the proper starting point for your configuration. 
  141. In these cases, you will want to allocate some memory to Windows and 
  142. to your disk cache. The total cache memory plus Windows extended memory 
  143. should be specified in the first line. Next, you should allocate some 
  144. of this extended memory to the disk cache by specifying the disk cache 
  145. size on the second line. Clearly, this number must be smaller than 
  146. the number on the first line in order to leave some extended memory 
  147. for Windows. The difference between the two numbers is the amount 
  148. of extended memory available to Windows. Finally, the difference between 
  149. the total amount of extended memory available and the amount shown 
  150. on the first line is the amount of EMS memory available to Ventura 
  151. Publisher.
  152.  
  153. @TABLE = <F1>DEVICE=C:\QEMM.SYS EXTMEM=512<R>
  154. DEVICE=C:\CACHE.EXE 512 /EXT<R>
  155. FILES=20<F255>
  156.  
  157. @HEAD 1 = Example #4
  158.  
  159. The following CONFIG.SYS file shows another approach to allocating 
  160. memory between extended and expanded memory, but in this case the 
  161. computer is a 286 computer using an Intel Above board. When using 
  162. the Above Board <197> and when using most other EMS boards <197> you 
  163. will need to run a setup program which determines the allocation between 
  164. extended and EMS memory. This program is run once when you first install 
  165. the board. Thus, unlike the 386 computers, you cannot change the allocation 
  166. between extended and expanded memory simply by changing parameters 
  167. in the CONFIG.SYS file. The program for the Intel Above Board that 
  168. you must run to allocate between extended and expanded (EMS) memory 
  169. is called SETBOARD.
  170.  
  171. This CONFIG.SYS file assumes that approximately 1800K was allocated 
  172. by SETBOARD to extended memory. Of this amount, about 64K is taken 
  173. by the HIMEM.SYS driver. This is an XMS driver which is provided with 
  174. recent releases of Microsoft Windows. This provides approximately 
  175. 60K of additional conventional memory to applications which are written 
  176. to recognize it. Ventura Publisher recognizes XMS memory automatically. 
  177. The Compaq CACHE.EXE program provides the disk cache, and the Intel 
  178. EMM.SYS driver installs the EMS memory.<$&anchor 1[v]>
  179.  
  180. @HEAD 1 = How do I know if my configuration is correct?
  181.  
  182. Most configurations fail because the memory is installed as extended 
  183. rather than expanded (EMS), because some other program has hogged 
  184. all the EMS memory, or because no memory driver at all was installed 
  185. in the CONFIG.SYS file. Your problem is, how can you know what's going 
  186. on?
  187.  
  188. Many of the memory board manufacturers provide a program with their 
  189. board which scans memory and provides a report on what is found. For 
  190. instance, Intel provides a program called CHKMEM.EXE, when run, program 
  191. provides a display similar to that shown in the next figure.<$&anchor2[v]><F1> 
  192. <F255>
  193.  
  194. As you can see, in this instance 512K of the memory was allocated 
  195. to extended rather than expanded memory. Of the 3584K bytes of expanded 
  196. memory, most of it (3072K) was already allocated. Only 512K remains 
  197. for Ventura Publisher.
  198.  
  199. Norton Utilities provides similar information through the SI.EXE program. 
  200. This program provides a display similar to the one shown at the bottom 
  201. of the page.<$&anchor 3>
  202.  
  203. Note that this display contains additional information about conventional 
  204. memory, but does not provide information on how much expanded memory 
  205. is allocated.
  206.  
  207. Another source of memory information is Ventura Publisher itself. 
  208. When you run Ventura Publisher, the Desk menu provides a display of 
  209. EMS memory in use. The <B>SYS=<D> amount shows the total amount of 
  210. EMS memory consumed by Ventura Publisher's system software <B>plus<D> 
  211. the amount of EMS memory allocated to other programs prior to running 
  212. Ventura Publisher. If no other program or device driver has already 
  213. used EMS memory, then this number will be between 48K and 96K. This 
  214. represents the amount of system software which Ventura Publisher places 
  215. into EMS instead of conventional memory, thus making more conventional 
  216. memory available to your document. <MI>If this number is zero, then 
  217. you don't have EMS memory configured in your computer.<D> The <B>APP=<D> 
  218. number shows the total amount of EMS memory available for your document. 
  219. In the base product, this number will always be zero. In the Professional 
  220. Extension, this will be the amount of EMS memory available after all 
  221. other programs plus Ventura Publisher's system software have been 
  222. loaded into EMS memory. If you are using the Professional Extension, 
  223. the SYS plus the APP amount should equal the total amount of EMS memory 
  224. installed.
  225.  
  226. Finally, Ventura Publisher contains an undocumented diagnostic menu 
  227. for use by Xerox Customer Support and for debugging by Ventura Software. 
  228. It is not generally useful for the user, but it does provide one interesting 
  229. piece of information that is difficult to find from any other source, 
  230. namely confirmation that the XMS driver (e.g., HIMEM.SYS) was loaded. 
  231. To access this hidden menu, point to the word <B>Ventura<D> in the 
  232. left middle of the Desk menu. The diagnostic menu will appear. On 
  233. the last line to the right of where it says <B>FARCODE<D>, you will 
  234. see the word <B>HIMEM.SYS<D> if the XMS driver is installed correctly. 
  235. If it is not installed, you will instead see numbers. The usual reason 
  236. why the XMS driver does not install is that no extended memory is 
  237. available. The XMS driver requires extended, not expanded (EMS) memory. 
  238. At least 64K of extended memory must be available when you boot the 
  239. computer in order for the XMS driver to load.
  240.  
  241. @HEAD 1 = Disk caches
  242.  
  243. Many disk caches are available. The ones most frequently mentioned 
  244. in the press are: EMMCACHE, Lightning, Polyboost, Super Pc Kwik, and 
  245. VCACHE. In addition, many 386 computers include a disk cache, such 
  246. as the Compaq 386 CACHE.EXE program.  Almost any disk cache should 
  247. work (the presence of these names here does not imply an endorsement). 
  248. <B>Super PC Kwik<D> is made by:<R>
  249. <R>
  250. <MI>Multisoft Corporation<R>
  251. 18220 S.W. Monte Verdi Blvd.<R>
  252. Beaverton, OR 97007<R>
  253. (503)642-7108<D>
  254.  
  255. <B>Lightning<D> is made by:<R>
  256. <R>
  257. <MI>Personal Computer Support Group<R>
  258. 11035 Harry Hines Blvd., Ste. 206<R>
  259. Dallas, TX 75229<R>
  260. (214)351-0564<D>
  261.  
  262. When using a disk cache, you typically can remove the BUFFERS statement 
  263. from the CONFIG.SYS file. If you experience performance degradations, 
  264. include a BUFFERS=5 statement.
  265.  
  266. @HEAD 1 = Summary
  267.  
  268. This short note provides just a few examples; your CONFIG.SYS, AUTOEXEC.BAT, 
  269. and VP.BAT files will almost certainly look different. However, the 
  270. key lessons to be learned from the examples in this note are as follows:
  271.  
  272. 1. You must make sure that your configuration correctly maps extended 
  273. to EMS memory. If your computer contains only extended memory, Ventura 
  274. Publisher will not use any of it (except for 64K if you use the HIMEM.SYS 
  275. or other XMS driver).
  276.  
  277. 2. You must make sure that any disk cache or other program installed 
  278. or run prior to Ventura Publisher does not <169>hog<170> all EMS memory 
  279. for itself.
  280.  
  281. 3. You can dramatically increase the amount of conventional memory 
  282. available to Ventura Publisher (and other applications) by using an 
  283. XMS driver (e.g., HIMEM.SYS) or a program like 386max which combines 
  284. an extended memory to EMS memory driver, XMS driver, and high-memory 
  285. mapping functions into one program.
  286.  
  287.