home *** CD-ROM | disk | FTP | other *** search
/ Amiga ISO Collection / AmigaUtilCD2.iso / Misc / SX-SCSI_P5_V3.DMS / in.adf / CDRom / CDrive.doc < prev    next >
Encoding:
Text File  |  1996-05-13  |  6.3 KB  |  176 lines

  1.  
  2.                                   CDrive
  3.  
  4.                    CD ROM-Filesystem for AMIGA Computers
  5.  
  6.  
  7. 1. Introduction
  8.  
  9. CDrive  is  a  CD-ROM  Filesystem  for  the  Commodore  Amiga and currently
  10. supports  the formats ISO 9660 Level 1, Level 2, Rockridge and High Sierra.
  11. By  use  of  it's  configurable  Cache  Parameters,  or  with  the  use  of
  12. DynamiCache, very fast CD data access will be possible.
  13.  
  14. Since  CD-ROMs  usually  would  be used on different platforms, in 1985 the
  15. High  Sierra  format was laid out, which sometime later with a few changes,
  16. came to be known as ISO 9660.
  17.  
  18. In order to access the data of an ISO 9660, you must install a file system,
  19. since ISO 9660 is completely incompatible with the Amiga File System.
  20.  
  21. A  file  system,  thus,  provides  the  interface  from  the File/Directory
  22. structure of a device to the known AmigaDOS File/Directory functions.
  23.  
  24. A  CD-ROM  is always write-protected, so that all read/write operations are
  25. not  effective  and a "Disk Write Protected" error will be given in case of
  26. write acesses.
  27.  
  28.  
  29. 2. CDrive Installation
  30.  
  31. CD-ROM
  32.  
  33. First you should always read the documentation of the CD-ROM device you are
  34. using.   Next, you must select an unused SCSI-ID for the CD-ROM and connect
  35. it  to  your  Fastlane  Z3  controller  by  follwoing  the instructions for
  36. internal or external connection.
  37.  
  38.  
  39. File System
  40.  
  41. On the Fastlane Z3 disk, in the CDRom directory, you will find an icon with
  42. the  name  InstallCDrive.   Double click on this icon, and the installation
  43. will  be  done  automatically  (the file "CDrive" will be copied to your l:
  44. directory,  some  predefined  mountlists  will  be  copied  into your devs:
  45. directory,  and  the  zdx:   icons for mounting a CD-ROM from the Workbench
  46. will be copied into your devs:dosdrivers directory).
  47.  
  48. Now  enter  the  SCSI-ID  of  your  CD-ROM  device  either  into the "unit"
  49. parameter of the mountlist you want to use or if you want to mount your CD-
  50. ROM  from  the Workbench, enter this SCSI-ID in the Unit entry for the ZDx:
  51. Icon in the devs:dosdrivers directory.
  52.  
  53. To activate the file system, there are different possibilities:
  54.  
  55. a. You can type in the Shell "mount zdx: from devs:mountlist.zdx".
  56.  
  57. b. You can insert the command "mount zdx: from devs:mountlist.zdx" into the
  58.     file user-startup in your s: directory.
  59.  
  60. c. You can mount your CD-ROM device by double-clicking on one of the ZDx:
  61.     icons, which are copied into your devs:dosdrivers directory.
  62.  
  63. For  more information on how to mount a device, using the mount command and
  64. the user-startup file, please refer to your Amiga DOS manuals.
  65.  
  66.  
  67. A typical mountlist for a CD-ROM will look like this:
  68.  
  69. ZD0:                             Name of the handler
  70. Device         = z3scsi.device   Name of the SCSI Device
  71. Unit           = 3               ID of the SCSI Device
  72. Buffers        = 40              See section below regarding Cache Entries
  73. Flags          = 0               See system manual
  74. FileSystem     = l:CDrive        Name and directory path of Filesystem
  75. BufMemType     = 5               See system manual
  76. Mask           = 0xfffffffc      Only used in Cache Mode 0x0
  77. GlobVec        = -1              See system manual
  78. Mount          = 1               See system manual
  79. Reserved       = 0xffffffff      See section below regarding Format Entries
  80. LowCyl         = 40              See section below regarding Cache Entries
  81. HighCyl        = 4               See section below regarding Cache Entries
  82. Surfaces       = 0x0             See section below regarding Device Entries
  83. BlocksPerTrack = 0x1             See section below regarding Cache Entries
  84. Priority       = 10              See system manual
  85. StackSize      = 6000            See system manual
  86.     #
  87.  
  88.  
  89.  
  90. Format Entries
  91.  
  92. Reserved
  93.  
  94. The  mountlist  entry Reserved can be used to enter important flags for the
  95. Rockridge  format.   The Rockridge format is an extension to the ISO format
  96. and  is  mainly  used  in  the  Unix  world.  One of it's advantages is the
  97. possibility  to  define  longer  names  than  ISO Level 1.  The normal user
  98. should also leave the Reserved value unchanged.
  99.  
  100.  
  101.  
  102. Rockridge              0x80000000         switches the Rockridge Extension
  103.                         globally on
  104. Rockridge_Name         0x00000001         activates the Rockridge name
  105.                         extensions
  106. Rockridge_Date         0x00000002         activates the Rockridge date
  107.                         extensions
  108. Rockridge_OtherRights  0x00000004         activates the Rockridge
  109.                         OtherRights extensions
  110. Rockridge_GroupRights  0x00000008         activates the Rockridge
  111.                         GroupRights extensions
  112. Rockridge_OwnerRights  0x00000010         activates the Rockridge
  113.                         OwnerRights extensions
  114. Rockridge_UserID       0x00000020         activates the Rockridge UserID
  115.                         extensions
  116.                         If set to zero, ID0 will be used.
  117. Rockridge_GroupID      0x00000040         activates the Rockridge GroupID
  118.                         extensions
  119.                         If set to zero, ID0 will be used.
  120.  
  121.  
  122. --- Cache Entries
  123.  
  124. The CDrive currently offers two cache modes, which can be selected with the
  125. mount entry BlocksperTrack.
  126.  
  127.  
  128.  
  129. a. BlocksPerTrack = 0x0
  130.  
  131. This  mode is the best for users who most often access the CD-ROM via Shell
  132. commands.  The memory usage of the cache will determined by the formula
  133.  
  134. (Buffers+LowCyl+HighCyl) * 2048 = used bytes
  135.  
  136.  
  137. - Buffers
  138.  
  139. This value determines the number of buffered directory blocks.
  140.  
  141.  
  142. - LowCyl
  143.  
  144. This  value  determines the number of sectors which will be read-ahead when
  145. .info files are accessed.  The reading of icons is sped up significantly by
  146. this read-ahead caching.
  147.  
  148. - HighCyl
  149.  
  150. This  value  determines the number of sectors which will be read-ahead when
  151. small  files  are  accessed.   The  reading  of  small  files  is  sped  up
  152. significantly by this read-ahead caching.
  153.  
  154.  
  155.  
  156. b. BlocksPerTrack = 0x1
  157.  
  158. In  this  mode, when a read access on the device is executed, it will first
  159. be  checked  whether a data block is already in the cache.  If the block is
  160. not  in  the  cache,  a  certain number of sectors will be read-ahead; this
  161. number  can  be  determined by the HighCyl entry.  This caching mode is the
  162. best  for  users  who  usually  access  the CD-ROM from the Workbench.  The
  163. memory usage of the cache will be determined by the formula
  164.  
  165. Buffers * HighCyl * 2048 = used bytes
  166.  
  167.  
  168. - Buffers
  169.  
  170. Determines  the number of static cache blocks.  A cache block consists of a
  171. certain number of sectors, which is determined by the HighCyl entry.
  172.  
  173. - LowCyl        Is not used in this caching mode.
  174. - HighCyl        Determines the number of sectors in each cache block.
  175.  
  176.