home *** CD-ROM | disk | FTP | other *** search
/ Maximum CD 1999 January / maximum-cd-1999-01.iso / Drivers / CD-ROM / Sony / CORELCDX.TXT < prev    next >
Encoding:
Text File  |  1995-01-03  |  10.3 KB  |  276 lines

  1. About CorelCDX 
  2. ============== 
  3.  
  4. To work with your CD-ROM drives, you require a CD-ROM  
  5. extensions program such as CorelCDX. CD-ROM extensions  
  6. programs interpret, for DOS, data read from High Sierra  
  7. and ISO-9660 formatted CD-ROM discs. 
  8.  
  9. Unlike other CD-ROM extensions programs, CorelCDX also  
  10. caches CD-ROM data. Applications can access cached data  
  11. faster than re-reading the CD-ROM disc. 
  12.  
  13. Table of Contents 
  14. ----------------- 
  15. 1.   Loading and Unloading CorelCDX 
  16. 2.   CorelCDX Caching 
  17. 3.   Configuring CorelCDX 
  18.  
  19. 1.   Loading and Unloading CorelCDX 
  20. ----------------------------------- 
  21. CorelCDX is loaded from the AUTOEXEC.BAT file during  
  22. the system startup. The configuration of CorelCDX is  
  23. determined by its command line switches, which are  
  24. described in the topic, "Configuring CorelCDX". 
  25.  
  26. If you need to free the memory or drive letters used  
  27. by CorelCDX, you can unload CorelCDX. The next time  
  28. you restart your system, CorelCDX is loaded again. 
  29.  
  30. NOTE: CorelCDX may not unload if other TSR programs were  
  31. installed after CorelCDX was loaded. If problems occur,  
  32. unload the other TSR programs and then try to unload  
  33. CorelCDX again. 
  34.  
  35. To unload CorelCDX, enter the following at the command  
  36. prompt: 
  37.      CORELCDX /UNLOAD. 
  38.  
  39. 2.   CorelCDX Caching 
  40. --------------------- 
  41. CorelCDX includes several types of caches to provide  
  42. faster access to frequently used CD-ROM data. Path  
  43. table, directory, and data caches provide conventional  
  44. or expanded memory caching. As an extension to  
  45. CorelCDX, CDXCACHE provides an extended memory data  
  46. cache. 
  47.  
  48. The path table cache stores information about the  
  49. name and location of each directory on the CD-ROM  
  50. disc. Each path table cache buffer accommodates  
  51. approximately 100 sub-directories. 
  52.  
  53. The directory cache stores information such as the  
  54. name and location of the files in each directory on  
  55. the CD-ROM disc. Each directory cache buffer  
  56. accommodates approximately 40 to 50 files. 
  57.  
  58. The data cache stores the contents of recently  
  59. accessed files from the CD-ROM disc and any data  
  60. that's expected to be required next. CorelCDX  
  61. uses a read-ahead plus least recently used (LRU)  
  62. algorithm for its data cache: frequently used data  
  63. remains in the cache and infrequently used data  
  64. is discarded from the cache. Data is read into  
  65. the cache in sector blocks. 
  66.  
  67. CDXCACHE, if enabled, is loaded at the same time  
  68. as CorelCDX. This cache stores information recently  
  69. read from CD-ROM drives in extended memory.  
  70. CDXCACHE, like the data cache, uses an LRU algorithm  
  71. to determine the contents of the cache. 
  72.  
  73. CDXCACHE can cache the first 16 CD-ROM drives  
  74. connected to your system. The cache page size  
  75. affects the maximum cacheable sector address.  
  76. CDXCACHE works best with database type applications,  
  77. which repeatedly read information from the same  
  78. areas of a CD-ROM disc. 
  79.  
  80. CDXCACHE versus SMARTDrive: 
  81. Both CDXCACHE and Microsoft's SMARTDrive program  
  82. use extended memory caching. If you're using  
  83. SMARTDrive version 5.0, provided with MS-DOS 6.2,  
  84. you can use SMARTDrive rather than CDXCACHE.  
  85. However, CDXCACHE has smaller overhead and  
  86. operates faster than SMARTDrive.  
  87.  
  88. SMARTDRV.EXE 5.0 is designed to work exclusively  
  89. with Microsoft's MSCDEX CD-ROM driver. However,  
  90. Corel's PATCH_SD.COM modifies SMARTDRV.EXE to  
  91. recognize CorelCDX as a valid CD-ROM driver. 
  92.  
  93. PATCH_SD creates a copy of the existing  
  94. SMARTDRV.EXE program and stores the copy  
  95. as SMARTDRV.MSC. PATCH_SD works only if  
  96. the size of SMARTDRV.EXE is equal to 45145 bytes. 
  97.  
  98. To modify SMARTDrive to recognize CorelCDX: 
  99. 1.   Enter the following at the command prompt: PATCH_SD. 
  100. 2.   Check your AUTOEXEC.BAT file to ensure that CorelCDX  
  101.      is loaded before SMARTDrive. If SMARTDrive is loaded  
  102.      first, it won't find, and therefore cache, CD-ROM drives. 
  103.      Since SMARTDrive is loaded after CorelCDX, you can't  
  104.      use the CorelCDX /UNLOAD command. 
  105. 3.   Disable the CDXCACHE by setting the CorelCDX command  
  106.      line option /XMSSIZE to 0. If you don't disable this  
  107.      cache, both CDXCACHE and SMARTDrive will cache data,  
  108.      using twice the necessary amount of extended memory. 
  109. 4.   Reboot your system to reinstall SMARTDRV.EXE. 
  110.  
  111. 3.   Configuring CorelCDX 
  112. ------------------------- 
  113. CorelCDX is configured using command line switches. Some  
  114. of these switches affect the caching features. For more  
  115. information, see the topic, "CorelCDX Caching". 
  116.  
  117. The CorelCDX command syntax includes the path to the  
  118. location of CorelCDX and several switches. For example,  
  119. the following command indicates that CorelCDX is located  
  120. in the CORELDRV directory:  
  121.  
  122. C:\CORELDRV\CORELCDX [options] 
  123.  
  124. /CACHE:pt;dir;data 
  125. Defines the number of cache buffers allocated, in blocks,  
  126. to the path table, directory, and data caches, respectively. 
  127.  
  128. Typically, the /M option is used rather than /CACHE. However,  
  129. the /CACHE option allows more precise control over the use  
  130. of allocated cache buffers. If both the /CACHE and /M options  
  131. are used, the /CACHE values override the /M value.  
  132.  
  133. You can set path table and directory caches from 2 to 64  
  134. blocks. Each block requires 2K. The data cache can be set  
  135. from 2 to 64 blocks. The size of each block is determined  
  136. by the /DATABLK option. 
  137.  
  138. Minimum, maximum, and alignment requirements may require  
  139. that the actual number of buffers differ slightly from  
  140. those you specify. 
  141.  
  142. /DATABLK:sectors 
  143. Defines the number of 2K sectors assigned to each data  
  144. cache block. You can set this value to 1, 2, 4, or 8 sectors.  
  145. If you don't specify a size, the data cache block size is  
  146. set to 2 sectors by default. 
  147.  
  148. This option is useful for applications that read data from  
  149. compact discs in contiguous segments.  
  150.  
  151. Unless you're using CDXCACHE, setting the /DATABLK value  
  152. to 1 disables read-ahead caching. However, an additional  
  153. 4K of conventional memory is required. 
  154.  
  155. The internal read-ahead caching logic of some CD-ROM  
  156. drives may be adversely affected by changing the  
  157. default data cache block size. 
  158.  
  159. /D:name... 
  160. Displays the required name of the CD-ROM device driver.  
  161. If you enter more than one CD-ROM device driver name,  
  162. separate each name with a comma and remove any blanks  
  163. between names. 
  164.  
  165. If you're using Corel's DOS CD-ROM device drivers,  
  166. names are numbered starting from MSCD001. If you're  
  167. using Corel's NetWare CD-ROM device drivers, names  
  168. are numbered starting from MSCD099. 
  169.  
  170. If driver names aren't included in the command line,  
  171. CorelCDX will try to locate and initialize the CD-ROM  
  172. device drivers named, by default, MSCD001 or MSCD099. 
  173.  
  174. /E:value 
  175. Indicates whether code, data, or cache buffers are  
  176. to be stored in expanded memory. This option doesn't  
  177. affect cache buffers used by CDXCACHE. 
  178.  
  179. The option /E:1 loads code and data into expanded  
  180. memory. Only a small footprint remains resident in  
  181. conventional memory. This option may be incompatible  
  182. with some CD-ROM applications; for example, those  
  183. that perform absolute disk reads into expanded  
  184. memory buffers. 
  185.  
  186. The options /E:2 and /E load only cache buffers  
  187. into expanded memory.  
  188.  
  189. The option /E:3 loads code, data, and cache buffers  
  190. into expanded memory. In rare cases, this value may  
  191. cause problems when you try to read data from a CD-ROM  
  192. drive. Some applications, when loaded in expanded  
  193. memory, may create memory conflicts. If you experience  
  194. problems, change the option to either /E or /E:2. 
  195.  
  196. If cache buffers are loaded in expanded memory, a small  
  197. amount of conventional memory may be allocated to store  
  198. required tables, and so on. To make the most efficient  
  199. use of allocated memory, the driver may slightly increase  
  200. the number of specified cache buffers. 
  201.  
  202. /CORELDRV=NO            
  203. This option when specified =NO will disable the unique I/O Call
  204. made by CorelCDX during it's initailization stage. 
  205.  
  206. Some IDE CD-ROM drivers are unable to handle the unique I/O Call 
  207. and hang. If this happens, add the /CORELDRV=NO switch on the 
  208. CorelCDX statement in the Autoexec.bat. 
  209. Default is YES and no command line switch is needed.
  210.  
  211. /FILES:num 
  212. Sets the maximum number of CD-ROM files that can be  
  213. open at the same time. Each file requires approximately  
  214. 16 bytes. 
  215.  
  216. If you don't specify this option, the maximum number  
  217. of open files is set to the same value as the FILES  
  218. command in your CONFIG.SYS file. 
  219.  
  220. /L:letter 
  221. Indicates the drive letter, from A to Z, at which  
  222. CorelCDX starts assigning letters to CD-ROM drives.  
  223. If the letter you specify isn't available, the next  
  224. available drive letter is used. This option is useful  
  225. for software that requires specific drive letters for  
  226. CD-ROM drives. 
  227.  
  228. /M:buffers 
  229. Indicates the approximate number of cache buffers  
  230. allocated, in blocks, for all CD-ROM drives.  
  231.  
  232. Typically, the /M option is used rather than /CACHE.  
  233. However, the /CACHE option allows more precise control  
  234. over the use of allocated cache buffers. If both the  
  235. /CACHE and /M options are used, the /CACHE values  
  236. override the /M value.  
  237.  
  238. /NOFILE 
  239. Prevents CorelCDX from looking for a CRLSCSI.INI file  
  240. for configuration options. This file isn't required  
  241. when you configure CorelCDX using command line switches. 
  242.  
  243. /SHARE 
  244. /S 
  245. Permits CD-ROM drive sharing with Windows for Workgroups. 
  246.  
  247. /VERBOSE 
  248. /VB 
  249. Displays information onscreen about CorelCDX as it's  
  250. loading during the system boot. 
  251.  
  252. /XMSBLOCK:size 
  253. Sets the maximum size of read request in sectors that  
  254. will be cached by CDXCACHE. The cache performance may  
  255. benefit from larger values. However, the cache may fill  
  256. up more quickly. A size of 4 is recommended. 
  257.  
  258. /XMSPAGE:sectors 
  259. Indicates the number of sectors per cache page, which  
  260. determines the read-ahead operations. This option affects  
  261. only CDXCACHE. 
  262.  
  263. The value of 4 is recommended for smaller cache sizes;  
  264. it's more important to cache separate disk reads than  
  265. to perform read-aheads. Use the value 8 for larger cache  
  266. sizes; more data is stored in one operation.  
  267.  
  268. /XMSSIZE:size 
  269. Indicates the size, in kilobytes, of the CDXCACHE cache.  
  270. Set the size to 0 to disable this cache. 
  271.  
  272. A size of -1 creates a default cache size equal to  
  273. one-quarter of the free extended memory. You can  
  274. also set the size to a value from 64 to 16384. 
  275.  
  276.