home *** CD-ROM | disk | FTP | other *** search
-
- CDCP V1.10 (TM) SCSI CD Copy Program
- ────────────────────────────────────
- Copyright (c) 1994 Prins
- All rights reserved
-
-
- 0. DISCLAIMER OF WARRANTY
- ─────────────────────────
-
- THIS SOFTWARE AND MANUAL ARE PROVIDED "AS IS" AND WITHOUT WARRANTIES AS
- TO PERFORMANCE OF MERCHANTABILITY OR ANY OTHER WARRANTIES WHETHER
- EXPRESSED OR IMPLIED. BECAUSE OF THE VARIOUS HARDWARE AND SOFTWARE
- ENVIRONMENTS IN WHICH THIS PROGRAM MAY BE USED, NO WARRANTY OF FITNESS
- FOR A PARTICULAR PURPOSE IS OFFERED.
-
- GOOD DATA PROCESSING PROCEDURE DICTATES THAT ANY PROGRAM BE THOROUGHLY
- TESTED WITH NON-CRITICAL DATA BEFORE RELYING ON IT. THE USER MUST
- ASSUME THE ENTIRE RISK OF USING THE PROGRAM.
-
- ALL RIGHTS ARE RESERVED CONCERNING FUTURE CHANGES FOR THE PROGRAM AS WELL
- AS THE DOCUMENTATION. THIS IS A NON-COMMERCIAL PRODUCT. NO REGISTRATION
- REQUIRED. FEEL FREE TO DISTRIBUTE THIS PROGRAM BY BBS AND OTHER NON-
- COMMERCIAL DISTRIBUTION CHANNELS (PROVIDED THAT THE ORIGINAL DOCUMENTATION
- IS KEPT WITH THE PROGRAM).
-
-
- 1. Introduction
- ───────────────
-
- CDCP V1.10 is a general SCSI/ASPI CD Copy Program that can read all
- CD formats and create an image on harddisk or tape, and burn a writeable
- CD from a harddisk image or tape image on a Kodak/Philips CD Writer.
- CDCP can now read perfectly! NEC CD-ROM DA (Digital Audio), and support
- tape to tape copy at full! speed.
- You will need some knowledge of the CD writer, to fully use CDCP's
- CD burn features.
- Run CDCP alone to see syntax, options and examples.
-
-
- 2. CDCP Syntax
- ──────────────
-
- The general syntax of CDCP is:
-
- cdcp [-options] <[<unit>] | [<unitfrom> <unitto>]>
-
- The options will be explained in the following chapters.
- The <unitfrom> <unitto> command is used when data is transferred
- from a source=unitfrom to a destination=unitto. <unit> along is
- used with some special options (see later) and no data transfer
- will take place.
-
- The syntax of <unit>, <unitfrom> or <unitto> is:
- [id:]cd[/trk] SCSI CD-ROM (default = 3:cd/1)
- [id:]tape[/tf] SCSI TAPE (default = 2:tape/0)
- file Name of imagefile on harddisk
- id SCSI id of device (0 - 7)
- trk track no (1 = first track)
- tf tapefile no (0 = current position)
- (end = logical end of tape)
-
- Notice the CD-ROM and tape must be SCSI and an ASPI driver must be loaded,
- but the harddisk can be of any type. The filename can be a full path, or
- else the current directory is used. A file on a tape is always ended with a
- filemark, and CDCP assume a filemark after every tapefile. CDCP uses double
- buffering so the transfer speed will follow the slowest device.
- Of the nine <unitfrom> <unitto> possibilities, some are not supported or
- advisable:
-
- ┌──────────┬────────┬───────────────────────────────────────────────────┐
- │<unitfrom>│<unitto>│ Comment │
- ├──────────┼────────┼───────────────────────────────────────────────────┤
- │ cd │ cd │ Not supported │
- │ cd │ tape │ Work fine, slowest device determine speed │
- │ cd │ file │ Work fine, cd speed │
- │ tape │ cd │ Work fine only if tape is fast enough │
- │ tape │ tape │ Work fine, slowest tape determine speed │
- │ tape │ file │ Work fine, tape speed │
- │ file │ cd │ Work fine, recommended CD burn, require fast HD │
- │ file │ tape │ Work fine, tape speed │
- │ file │ file │ Not supported │
- └──────────┴────────┴───────────────────────────────────────────────────┘
-
-
- 2. Create a CD Image
- ────────────────────
-
- CDCP can read a CD track to an imagefile onto harddisk or tape. Use -mo1,
- -mo2, -xa1, -xa2 or -audio to set the desired track type (-mo1 is default).
- The blocksize on the tapeimage will be identical with the blocksize of the
- CD track. CDCP will read all the blocks of the track, so the imagefile will
- be an exact and complete copy.
-
- For CD-DA tracks see later.
-
- -mo1 Set CD-ROM mode 1 (2048), default
- -mo2 Set CD-ROM mode 2 (2336)
- -xa1 Set CD-ROM XA form 1 (2048)
- -xa2 Set CD-ROM XA form 2 (2324)
- -audio Set Audio mode (2352)
-
- Examples:
-
- cdcp cd tape Backup CD-track 1 to tape on cur. pos.
- cdcp 3:cd/2 e:\cd\test.img Backup CD-track 2 to a image file
- cdcp g:\cd.img 4:tape/end Copy image file to tape at last written pos.
-
-
- 3. Burn a CD
- ────────────
-
- CDCP can burn a imagefile from harddisk and maybe from a tape if it's fast
- enough (DAT double speed 360 KB/sec will work fine) onto a writeable CD using
- a Kodak/Philips CD Writer. Use options -fix1 or -fix2 to fix current or all
- sessions, and -noi to run with no operator intervention. Use -mo1, -mo2, -xa1,
- -xa2 and -audio to set the desired track type.
-
- -mo1 Set CD-ROM mode 1 (2048), default
- -mo2 Set CD-ROM mode 2 (2336)
- -xa1 Set CD-ROM XA form 1 (2048)
- -xa2 Set CD-ROM XA form 2 (2324)
- -audio Set Audio mode (2352)
- -fix1 Fix Current session on writeable CD
- -fix2 Fix all sessions on writeable CD
- -noi No Operator Intervention when write CD
-
- Examples:
-
- cdcp tape/2 6:cd Burn CD from tape, not recommended (tape-speed)
- cdcp cd.img cd Burn CD from IMG file with no Fixation
- cdcp -fix2 -audio cd.img cd Burn CD from file (all Fixation) as audio track
- cdcp -fix1 cd Fix current session, open new session on CD
-
- If you want to brun more then one track at the same time use a batch file.
- e.g. audio.bat contains:
-
- cdcp -audio t1.cdr cd
- cdcp -audio -noi t2.cdr cd
- cdcp -audio -noi t3.cdr cd
- .....
- cdcp -audio -noi -fix2 tn.cdr cd
-
-
- 4. NEC CD-DA
- ────────────
-
- CDCP can read DA (digital audio) tracks on a NEC CD-ROM (tested on a NEC 3xi).
- To get a optimum result CDCP uses dynamic reposition with q-channel trace,
- since the NEC itself support CD-DA very poorly over the SCSI bus. Normally you
- can read a DA track fine with the NEC CD-ROM at high speed, but if to many read
- error appear, try change the CD-ROM to low speed first. A better method is to
- use the option -3x when reading, since if CDCP cann't read the requested block
- in the first 10 attempts, it will change to low speed in the last 6 attempts,
- and corresponding with option -1x. CDCP will auto detect if it's a DA track,
- or you can use the option -audio or the equivalent option -2352.
- If you want to hear the music played from a imagefile, use option -wav to get
- a wav file (remember it's 16 bit). You can play the wav file with mplayer
- under Windows, or use plany. You can convert the wav file back to a normal
- imagefile using wav2cd.
-
- -audio Set Audio mode (2352)
- -3x | -1x Set speed on a NEC CD-drive (high and low)
- -wav Audio output as WAV file
-
- Some advise:
- - Clean the CD plate carefully before use, since the output is taken
- before the interpolations circuit is used, and therefore it's much
- more sensitive to errors, caused by dust and finger prints.
- - Do not run it from a DOS box under Windows, since it will damage the
- critical timing.
- - Total play time on a music CD is = 74 min - (no of tracks * 2 sec).
- - You can write to the nul device, if you want to test the CD first.
- - The generation of a wav file is 25% faster.
- - Some music CD's can have many read errors, even if they sound right.
-
- Examples:
-
- cdcp -wav cd/5 t.wav Read CD track 5 as audio to a WAV file
- cdcp -1x cd Set NEC to 1x speed
- cdcp -audio cd/10 null Test CD audio track 10
-
-
- 5. Tape to Tape Copy
- ────────────────────
-
- If you want a quick tape to tape copy, CDCP offers an easy and fast way.
- CDCP copies one file at the time. When no tapefile number is given, source
- is read from the current position until next filemark, and the destination
- is written from current position. If tapefile number is given source and/or
- destination is positioned first. Instead of [id:] you can use TAPEID and
- TAPE2ID, see app. Bad blocks on the source tape is skipped, but an equivalent
- number of "dummy" blocks are written to the destination tape, to keep the
- size equal.
-
- The only option used is the one to set block size (taken from the source tape):
-
- -<n> Set Block Size to n
-
- Examples:
-
- cdcp -512 4:tape 2:tape Copy from tape to tape with block size 512
-
-
- 6. Special Commands
- ───────────────────
-
- There are three commands that deal with contents and free space. The option
- -toc is useful to see the format and size of tracks on a CD. Option -rem and
- -free is used to check if there is room enough on a tape (particular on
- compressed tapes) and writeable CD. Also for test purpose you can write to
- the nul device.
-
- -toc List Table Of Contents on CD
- -rem List remaining space on tape
- -free List free space on CD
-
- Examples:
-
- cdcp 4:tape/3 e:\file.003 Copy Tape file no. 3 to IMG file
- cdcp -toc cd List TOC on CD
- cdcp -free cd List free space on writeable CD
- cdcp -rem 2:tape List remaining space on tape from cur. position
- cdcp -rem tape/end List free space on tape
- cdcp -audio cd/10 null Test CD audio track 10
-
-
- A. TAPEID, TAPE2ID, CDID
- ────────────────────────
-
- Change TAPEID to match your streamers SCSI ID, or use the option [id:] on
- the CDCP command line, e.q. "4:". Use TAPE2ID if you want tape to tape
- copy, where TAPEID is the source and TAPE2ID is the destination.
- Use CDID in the same way for your CD-ROM.
-
- TAPEID=HA:ID:LUN
- │ │ │
- Host Adapter-No (0-1 and is 0 with one controller)────┘ │ │
- SCSI-Target-ID (0-7, the normal ID)──────────────────────┘ │
- Logical-Unit-Number (0-7 and in most cases 0)───────────────┘
-
- E.g. SET TAPEID=0:4:0
- SET TAPE2ID=0:5:0
- SET CDID=0:3:0
-
-
- ----------------------------------
- Doc written by ENUS
-
-
-