home *** CD-ROM | disk | FTP | other *** search
/ PC-Test Pro / PCTESTPRO.iso / cdrom / cdcp / org / cdcp.arj / CDCP.DOC < prev    next >
Encoding:
Text File  |  1994-08-29  |  11.0 KB  |  251 lines

  1.  
  2.                       CDCP V1.10 (TM) SCSI CD Copy Program
  3.                       ────────────────────────────────────
  4.                             Copyright (c) 1994 Prins
  5.                                All rights reserved
  6.  
  7.  
  8. 0. DISCLAIMER OF WARRANTY
  9. ─────────────────────────  
  10.  
  11. THIS SOFTWARE AND MANUAL ARE PROVIDED "AS IS" AND WITHOUT WARRANTIES AS 
  12. TO PERFORMANCE OF MERCHANTABILITY OR ANY OTHER WARRANTIES WHETHER 
  13. EXPRESSED OR IMPLIED.  BECAUSE OF THE VARIOUS HARDWARE AND SOFTWARE 
  14. ENVIRONMENTS IN WHICH THIS PROGRAM MAY BE USED, NO WARRANTY OF FITNESS 
  15. FOR A PARTICULAR PURPOSE IS OFFERED.
  16.  
  17. GOOD DATA PROCESSING PROCEDURE DICTATES THAT ANY PROGRAM BE THOROUGHLY
  18. TESTED WITH NON-CRITICAL DATA BEFORE RELYING ON IT.  THE USER MUST
  19. ASSUME THE ENTIRE RISK OF USING THE PROGRAM. 
  20.  
  21. ALL RIGHTS ARE RESERVED CONCERNING FUTURE CHANGES FOR THE PROGRAM AS WELL
  22. AS THE DOCUMENTATION.  THIS IS A NON-COMMERCIAL PRODUCT.  NO REGISTRATION
  23. REQUIRED.  FEEL FREE TO DISTRIBUTE THIS PROGRAM BY BBS AND OTHER NON-
  24. COMMERCIAL DISTRIBUTION CHANNELS (PROVIDED THAT THE ORIGINAL DOCUMENTATION
  25. IS KEPT WITH THE PROGRAM).
  26.  
  27.  
  28. 1. Introduction
  29. ───────────────
  30.    
  31. CDCP V1.10 is a general SCSI/ASPI CD Copy Program that can read all
  32. CD formats and create an image on harddisk or tape, and burn a writeable
  33. CD from a harddisk image or tape image on a Kodak/Philips CD Writer.
  34. CDCP can now read perfectly! NEC CD-ROM DA (Digital Audio), and support
  35. tape to tape copy at full! speed.
  36. You will need some knowledge of the CD writer, to fully use CDCP's 
  37. CD burn features.
  38. Run CDCP alone to see syntax, options and examples.
  39.  
  40.  
  41. 2. CDCP Syntax
  42. ──────────────
  43.  
  44. The general syntax of CDCP is:
  45.   
  46.     cdcp [-options] <[<unit>] | [<unitfrom> <unitto>]>
  47.   
  48. The options will be explained in the following chapters.
  49. The <unitfrom> <unitto> command is used when data is transferred
  50. from a source=unitfrom to a destination=unitto. <unit> along is
  51. used with some special options (see later) and no data transfer
  52. will take place.
  53.         
  54. The syntax of <unit>, <unitfrom> or <unitto> is:
  55.          [id:]cd[/trk]           SCSI CD-ROM (default = 3:cd/1)
  56.          [id:]tape[/tf]          SCSI TAPE   (default = 2:tape/0)
  57.          file                    Name of imagefile on harddisk
  58.            id                    SCSI id of device (0 - 7)
  59.            trk                   track no    (1   = first track)
  60.            tf                    tapefile no (0   = current position)
  61.                                              (end = logical end of tape)
  62.  
  63. Notice the CD-ROM and tape must be SCSI and an ASPI driver must be loaded,
  64. but the harddisk can be of any type. The filename can be a full path, or
  65. else the current directory is used. A file on a tape is always ended with a
  66. filemark, and CDCP assume a filemark after every tapefile. CDCP uses double
  67. buffering so the transfer speed will follow the slowest device.
  68. Of the nine <unitfrom> <unitto> possibilities, some are not supported or
  69. advisable:
  70.  
  71.  ┌──────────┬────────┬───────────────────────────────────────────────────┐
  72.  │<unitfrom>│<unitto>│                    Comment                        │
  73.  ├──────────┼────────┼───────────────────────────────────────────────────┤
  74.  │    cd    │  cd    │ Not supported                                     │
  75.  │    cd    │  tape  │ Work fine, slowest device determine speed         │
  76.  │    cd    │  file  │ Work fine, cd speed                               │
  77.  │    tape  │  cd    │ Work fine only if tape is fast enough             │
  78.  │    tape  │  tape  │ Work fine, slowest tape determine speed           │
  79.  │    tape  │  file  │ Work fine, tape speed                             │
  80.  │    file  │  cd    │ Work fine, recommended CD burn, require fast HD   │
  81.  │    file  │  tape  │ Work fine, tape speed                             │
  82.  │    file  │  file  │ Not supported                                     │
  83.  └──────────┴────────┴───────────────────────────────────────────────────┘
  84.  
  85.  
  86. 2. Create a CD Image
  87. ────────────────────
  88.  
  89. CDCP can read a CD track to an imagefile onto harddisk or tape. Use -mo1,
  90. -mo2, -xa1, -xa2 or -audio to set the desired track type (-mo1 is default).
  91. The blocksize on the tapeimage will be identical with the blocksize of the
  92. CD track. CDCP will read all the blocks of the track, so the imagefile will
  93. be an exact and complete copy.
  94.  
  95. For CD-DA tracks see later.
  96.  
  97.         -mo1                    Set CD-ROM mode 1 (2048), default
  98.         -mo2                    Set CD-ROM mode 2 (2336)
  99.         -xa1                    Set CD-ROM XA form 1 (2048)
  100.         -xa2                    Set CD-ROM XA form 2 (2324)
  101.         -audio                  Set Audio mode (2352)
  102.  
  103. Examples:
  104.  
  105.   cdcp cd tape                  Backup CD-track 1 to tape on cur. pos.
  106.   cdcp 3:cd/2 e:\cd\test.img    Backup CD-track 2 to a image file
  107.   cdcp g:\cd.img 4:tape/end     Copy image file to tape at last written pos.
  108.                             
  109.  
  110. 3. Burn a CD
  111. ────────────
  112.  
  113. CDCP can burn a imagefile from harddisk and maybe from a tape if it's fast
  114. enough (DAT double speed 360 KB/sec will work fine) onto a writeable CD using
  115. a Kodak/Philips CD Writer. Use options -fix1 or -fix2 to fix current or all
  116. sessions, and -noi to run with no operator intervention. Use -mo1, -mo2, -xa1,
  117. -xa2 and -audio to set the desired track type.
  118.  
  119.         -mo1                    Set CD-ROM mode 1 (2048), default
  120.         -mo2                    Set CD-ROM mode 2 (2336)
  121.         -xa1                    Set CD-ROM XA form 1 (2048)
  122.         -xa2                    Set CD-ROM XA form 2 (2324)
  123.         -audio                  Set Audio mode (2352)
  124.         -fix1                   Fix Current session on writeable CD
  125.         -fix2                   Fix all sessions on writeable CD
  126.         -noi                    No Operator Intervention when write CD
  127.  
  128. Examples:
  129.   
  130.   cdcp tape/2 6:cd              Burn CD from tape, not recommended (tape-speed)
  131.   cdcp cd.img cd                Burn CD from IMG file with no Fixation
  132.   cdcp -fix2 -audio cd.img cd   Burn CD from file (all Fixation) as audio track
  133.   cdcp -fix1 cd                 Fix current session, open new session on CD
  134.  
  135.   If you want to brun more then one track at the same time use a batch file.
  136.   e.g. audio.bat contains: 
  137.  
  138.     cdcp -audio t1.cdr cd
  139.     cdcp -audio -noi t2.cdr cd
  140.     cdcp -audio -noi t3.cdr cd
  141.     .....
  142.     cdcp -audio -noi -fix2 tn.cdr cd
  143.  
  144.  
  145. 4. NEC CD-DA
  146. ────────────
  147.  
  148. CDCP can read DA (digital audio) tracks on a NEC CD-ROM (tested on a NEC 3xi).
  149. To get a optimum result CDCP uses dynamic reposition with q-channel trace,
  150. since the NEC itself support CD-DA very poorly over the SCSI bus. Normally you
  151. can read a DA track fine with the NEC CD-ROM at high speed, but if to many read
  152. error appear, try change the CD-ROM to low speed first. A better method is to
  153. use the option -3x when reading, since if CDCP cann't read the requested block
  154. in the first 10 attempts, it will change to low speed in the last 6 attempts,
  155. and corresponding with option -1x. CDCP will auto detect if it's a DA track,
  156. or you can use the option -audio or the equivalent option -2352.
  157. If you want to hear the music played from a imagefile, use option -wav to get
  158. a wav file (remember it's 16 bit). You can play the wav file with mplayer
  159. under Windows, or use plany. You can convert the wav file back to a normal
  160. imagefile using wav2cd.
  161.  
  162.         -audio                  Set Audio mode (2352)
  163.         -3x | -1x               Set speed on a NEC CD-drive (high and low)
  164.         -wav                    Audio output as WAV file
  165.  
  166. Some advise:
  167.     - Clean the CD plate carefully before use, since the output is taken
  168.       before the interpolations circuit is used, and therefore it's much
  169.       more sensitive to errors, caused by dust and finger prints.
  170.     - Do not run it from a DOS box under Windows, since it will damage the
  171.       critical timing.
  172.     - Total play time on a music CD is = 74 min - (no of tracks * 2 sec).
  173.     - You can write to the nul device, if you want to test the CD first.
  174.     - The generation of a wav file is 25% faster.
  175.     - Some music CD's can have many read errors, even if they sound right.
  176.  
  177. Examples:
  178.   
  179.   cdcp -wav cd/5 t.wav          Read CD track 5 as audio to a WAV file
  180.   cdcp -1x cd                   Set NEC to 1x speed
  181.   cdcp -audio cd/10 null        Test CD audio track 10
  182.  
  183.  
  184. 5. Tape to Tape Copy
  185. ────────────────────
  186.  
  187. If you want a quick tape to tape copy, CDCP offers an easy and fast way.
  188. CDCP copies one file at the time. When no tapefile number is given, source
  189. is read from the current position until next filemark, and the destination
  190. is written from current position. If tapefile number is given source and/or
  191. destination is positioned first. Instead of [id:] you can use TAPEID and
  192. TAPE2ID, see app. Bad blocks on the source tape is skipped, but an equivalent
  193. number of "dummy" blocks are written to the destination tape, to keep the
  194. size equal.
  195.  
  196. The only option used is the one to set block size (taken from the source tape):
  197.  
  198.         -<n>                    Set Block Size to n
  199.  
  200. Examples:
  201.  
  202.   cdcp -512 4:tape 2:tape       Copy from tape to tape with block size 512
  203.  
  204.  
  205. 6. Special Commands
  206. ───────────────────
  207.  
  208. There are three commands that deal with contents and free space. The option
  209. -toc is useful to see the format and size of tracks on a CD. Option -rem and
  210. -free is used to check if there is room enough on a tape (particular on
  211. compressed tapes) and writeable CD. Also for test purpose you can write to
  212. the nul device.
  213.  
  214.         -toc                    List Table Of Contents on CD
  215.         -rem                    List remaining space on tape
  216.         -free                   List free space on CD
  217.  
  218. Examples:
  219.  
  220.   cdcp 4:tape/3 e:\file.003     Copy Tape file no. 3 to IMG file
  221.   cdcp -toc cd                  List TOC on CD
  222.   cdcp -free cd                 List free space on writeable CD
  223.   cdcp -rem 2:tape              List remaining space on tape from cur. position
  224.   cdcp -rem tape/end            List free space on tape
  225.   cdcp -audio cd/10 null        Test CD audio track 10
  226.   
  227.  
  228. A. TAPEID, TAPE2ID, CDID
  229. ────────────────────────
  230.  
  231. Change TAPEID to match your streamers SCSI ID, or use the option [id:] on
  232. the CDCP command line, e.q. "4:". Use TAPE2ID if you want tape to tape
  233. copy, where TAPEID is the source and TAPE2ID is the destination.
  234. Use CDID in the same way for your CD-ROM.
  235.              
  236.                                                TAPEID=HA:ID:LUN       
  237.                                                       │  │  │     
  238. Host Adapter-No (0-1 and is 0 with one controller)────┘  │  │     
  239. SCSI-Target-ID (0-7, the normal ID)──────────────────────┘  │     
  240. Logical-Unit-Number (0-7 and in most cases 0)───────────────┘     
  241.                                                                   
  242. E.g. SET TAPEID=0:4:0                                                      
  243.      SET TAPE2ID=0:5:0                                                      
  244.      SET CDID=0:3:0                                                      
  245.  
  246.  
  247. ----------------------------------
  248.     Doc written by ENUS
  249.     
  250.  
  251.