home *** CD-ROM | disk | FTP | other *** search
/ PC-Test Pro / PCTESTPRO.iso / cdrom / cdwri / entp / readme.doc < prev   
Encoding:
Text File  |  1995-03-11  |  17.4 KB  |  304 lines

  1.    This is documentation for the CDWRITER program.  This purpose
  2. of this program is to demo the CDWRITER Tool Kit, also known as
  3. the CDWRITER source code.  This program is a full blown, MS Windows,
  4. CD mastering tool.  It creates ISO9660, CD Red Book audio and
  5. Mixed Mode compact disks.  If one is new to CD mastering it is
  6. reading the section "CD ROM Terminology" is recommended.
  7.    To use this program a CD recorder must be connected to the
  8. PC running this program, must be turned on, and must have a CD
  9. WO disk in the tray.  Currently this program only supports the
  10. Kodak/Phillips 2X CD recorders.  An ASPI manager must also be
  11. loaded into memory for the program to work.  CDWRITER does not
  12. talk directly to the SCSI card the recorder is attached to.  It
  13. talks to a drive known as an APSI driver.  This way the program
  14. will work with any SCSI card that comes with a SCSI driver.  Some
  15. card manufactures charge extra for an APSI manager.  This driver
  16. must be loaded before CDWRITER can be used.  Support for other
  17. recorders will be added over time as the manufactures make the
  18. recorders and technical documentation available to me.
  19.    To purchase the source code to this program see the enclosed
  20. license form.  Direct any question to the internet account ccsi@crl.com.
  21.  Mail can be sent to the P. O. listed on the front of the program
  22. and in the license document.  
  23.  
  24.    The programs main screen contains five buttons:
  25. (1) Close / Lock CD Tray
  26. (2) Setup Menu / Options Selection
  27. (3) Select File to Copy to CD
  28. (4) Process
  29. (5) CDWRITER Utilities
  30. (6) Terminate CDWRITER
  31.  
  32.    When the program is first started it tries to allocate low
  33. DOS memory so it can communicate with the ASPI driver.  Many programs
  34. require a driver for the program be loaded before starting windows.
  35.  These drivers allocate the low DOS memory before windows starts.
  36.  The good thing about this method is the memory is always allocated
  37. for the program to use.  The bad thing about this method is that
  38. the memory is always allocated for the program to use, making
  39. it unavailable for any other programs to use.  CDWRITER allocates
  40. low DOS memory on the fly when it is started.  If you start CDWRITER
  41. immediately after starting windows and have no other programs
  42. running it should be able to find some free low DOS memory to
  43. use.  If there are other programs running already then they may
  44. have already allocated the low DOS memory.  If Windows has been
  45. running for a while programs may have allocated low DOS memory
  46. and not freed it properly when they terminated.  For this reason
  47. it is best to exit and restart windows before starting CDWRITER.
  48.  If the program can not allocate any low DOS memory it will give
  49. some messages indicating the program and the main menu will appear.
  50.  The program should be exited at this point since it can not be
  51. used without the low DOS memory.
  52.    Once the program has started it tries to find the CD Recorder
  53. hooked up to the PC.  It searches each device on each SCSI card
  54. for a write once device.  It selects the first write once device
  55. found.  If a write once device other than a CD recorder is hooked
  56. up to the PC it should be turned off and the PC rebooted before
  57. starting CDWRITER.  Since CDWRITER talks to the ASPI manager not
  58. to the device just turning of the device after the PC reboots
  59. is not enough.  The device must be off before the PC reboots so
  60. the ASPI manager never sees it.  If it is unable to find a CD
  61. Recorder it will display some error messages and the program should
  62. just be terminated.  Remember that this program only works with
  63. the Kodak/Phillips 2X recorders.  If you try to use this program
  64. with other recorders it will not work.  When the program starts
  65. and finds a recorder.
  66.    Once the program is started buttons (1), (5) and (6) will be
  67.  
  68. enabled.  Until the drive tray is locked only some of the utilities
  69. under (5) will be available.  To lock the drive tray press (1).
  70.  The drive will click a little and either button (1) will change
  71. to read "Unlock/Open Drive Tray" or an error message will appear.
  72.  If error messages appear and a disk is really in the drive then
  73. try using (1) to Unlock/Open and then Close/Lock again.  Sometimes
  74. this option has to be selected more than once before it will work
  75. properly.  If the disk has been written to but not fixated both
  76. error messages will be displayed and the button will change to
  77. "Unlock/Open Drive Tray."  To fixate the disk at this point choose
  78. option (5) and then press the fixate option.  
  79.    After the tray is successfully locked option (2) will become
  80. enabled.  Option (2) allows program options to be selected.  The
  81. various program setup options are described in detail later in
  82. this document.  After option (2) has been used option (3) becomes
  83. available (unless the verify option was selected in the program
  84. setup).  Option (3) allows the user to select data and audio files
  85. to write to the CD.  Note that audio files can only be written
  86. to the first session of a mixed mode CD, and only when writing
  87. directly to the recorder.  If an intermediate image file is being
  88. created then audio files can not be specified.  After option (3)
  89. has been used option (4) will become enabled.  This will process
  90. the user requests as specified in options (2) and (3).  Once a
  91. CD is being created the machine should be left alone.  Although
  92. it is possible to play a computer game or work on a spread sheet
  93. while cutting a CD, doing so will take CPU time away from CDWRITER.
  94.  If CDWRITER can not sustain a high enough data transfer rate
  95. the CD will be ruined.  This is described in more detail below.
  96.  After the processing phase has completed a message will be presented
  97. indicating that it is done.  At this point the program can be
  98. exited or other options can be selected as when the program was
  99. first started.
  100.  
  101.    Option (2) is used to enter the setup screen and specify exactly
  102. what the program is to do.  It has four main modes of operation
  103. corresponding to four radio control buttons on the setup screen.
  104.  The first option is create a new image file.  This option will
  105. create a new image file on disk.  The image will be placed into
  106. the directory specified as the work directory at the top of the
  107. setup screen.  This directory must not exist.  
  108.    The second option is write existing image file to CD.  The
  109. work directory specified must be the same directory specified
  110. when the image was created with the first option.  An image can
  111. be written to several different CD-WO disks.  Each time the image
  112. is to be written the volume descriptor must be specified using
  113. the button labeled "Volume Desc."  If the recorder is a Kodak
  114. recorder and the CD has a bar code on it then the correct bar
  115. code will be written into the primary volume descriptor as specified
  116. by the Kodak standard.
  117.  
  118.    The third option will write an image directly to a compact
  119. disk.  With this option instead of creating an image in on step,
  120. and writing it to a CD in a second step, the image is created
  121. on  the fly and written directly to the CD.  This is the recommend
  122. method since it is simpler.  Note that a 300kbs data transfer
  123. rate must be maintained from the PC to the recorder as described
  124. below.  If the PC is not very fast or files will be coming from
  125. a network it would be best to create an image on the local PC
  126. and write it to the CD in a second step.  The work directory specified
  127. is used to hold some small files for the CD creation.  Some of
  128. these files are used in option four as described below.
  129.    The third option will verify that all the files written to
  130. the were written correctly.  This does a DOS level verify and
  131. can be quite time consuming.  The program will actually read each
  132. file that was supposed to be written to the CD (as specified in
  133. the work directory) and compare the contents to the file on the
  134.  
  135. CD.  The program will stop after 10 files are found that are different.
  136.  This option uses DOS to open, read and close the files from both
  137. the CD and the source disk drive.  For this reason the CD recorder
  138. must have a CD-ROM driver loaded for it and MSCDEX must be aware
  139. of it as a CD ROM.  Also sometimes it is necessary to reboot the
  140. PC to get MSCDEX to reconize a newly added session on a compact
  141. disk.  Currently before the verify begins the CD tray will be
  142. opened.  The verify will begin and windows will reconize that
  143. the drive tray is open.  A message retry or cancel will be presented.
  144.  Close the drive tray and press retry.  This should reset MSCDEX
  145. to read the new session, although this does not always work. 
  146. It is usually best to reboot the machine in between the create
  147. and verify steps.  
  148.    There are several options that modify the behavior of the four
  149. main program options.  The work directory specifies where to create
  150. or find work files needed for the CD creation or verification.
  151.  The "Last Session On CD" button will turn the CD-WO into a CD-ROM
  152. when the CD is fixated.  After the CD is cut with this option
  153. selected no more sessions can be appended to the CD.  In fact
  154. the recorder will not reconize the CD as a CD-WO but will think
  155. it is a CD-ROM.  
  156.    The option "Cleanup When Done" will cause all the files in
  157. the work directly to be deleted and the work directory to be removed.
  158.  If this is specified when creating a new image the image will
  159. be deleted as soon as it is created making the process a waste
  160. of time.  If this is specified for options 2 or 3 the work directory
  161. will be deleted after the CD is cut and verification will not
  162. be possible.  
  163.    The option "Ignore Previous Sessions" will cause the program
  164. to ignore all the files on previous sessions.  The disk will look
  165. like a new CD since directory entries for files in previous sessions
  166. will not be included in the new session.  If this option is used
  167. the files in previous sessions will not be accessible from standard
  168. DOS commands.  Files from previous sessions can be accessed using
  169. an option under the CDWRITER utilities menu.  This only works
  170. for sessions created using CDWRITER.
  171.    The option "Do Not Fixate" will cut the CD as normal but will
  172. not fixate it when it is finished.  This could be used to add
  173. additional tracks onto the CD using a program other than CDWRITER.
  174.  There is an option for fixate a CD under the CDWRITER utilities
  175. menu.  This should only be done by people who really know what
  176. they are doing.
  177.    The "Volume Desc" button allows the user to specify some of
  178. the information in the CDs' primary volume descriptor.  This includes
  179. the volume id that is displayed when using the DOS dir command.
  180.  This button is only accessible when writing the first session
  181. on the CD or when "Ignore Previous Sessions" has been selected.
  182.    The "CD Drive" box contains a list of all the drives on the
  183. PC.  This is used to tell the verify option which drive the CD
  184. Recorder is mapped to.  This is only necessary when using the
  185. verify option.
  186.    The window on the bottom of the setup screen has a list of
  187. all SCSI devices attached to the PC.  This can be used to select
  188. a different CD recorder.
  189.  
  190. CD-ROM Terminology: 
  191.  
  192.    A CD ROM is a small disk which information can be stored on.
  193.  This information can be audio, video or data.  When data is stored
  194. in a CD it is called a CD ROM.  CD ROM stands for compact disk
  195. read only memory.
  196.    Until the third quarter of 1993 there was no way for the average
  197. computer user to archive and exchange large amounts of information
  198. in a truly device independent and operating system independent
  199. manner.  In order for two people to exchange information they
  200. had to have similar machines and operating systems, or use proprietary
  201.  
  202. methods.  The CD ROM overcomes this problem by providing a standard
  203. file system that is not unique to any vendor.  The name of this
  204. file system is called the ISO9660 standard.  ISO stands for International
  205. Standards Orginazation.  All new CD ROM drives and software can
  206. read CD ROM's written using this standard.   Unfortunately, until
  207. recently, there was no easy way to create a CD ROM.
  208.    The CD writer is a hardware device that enables writing to
  209. a CD.  The CD must be a special blank CD that is often called
  210. a CD-WO (write once).   Once a CD-WO is written to It can be accessed
  211. by any machine that is able to read an ISO9660 format CD ROM.
  212.  In order for a CD writer to cut a CD special software is required.
  213.  This software is usually bundled with the machine, although most
  214. vendors will allow users to purchase the machine from them, and
  215. the software somewhere else.
  216.    Although a CD-WO can not be modified, it can be appended to.
  217.   When information is appended to a CD with existing information
  218. it becomes a multi-session CD.  Most CD writers support this feature
  219. although many CD writer programs, as of yet, do not.  There are
  220. many multi-session standards but the most widely accepted is the
  221. Kodak multi-session standard that is used in the Kodak Photo CD
  222. players.  Not all CD ROM readers support multi-session CD ROM's,
  223. although that is quickly changing.  A standard CD ROM reader is
  224. only able to read the first session of a CD ROM, including multi-session
  225. CD ROM's. 
  226.    When appending sessions to a CD ROM the directory structure
  227. is recreated and stored with the new session but the files remain
  228. in the same locations.  Files in older sessions are superseded
  229. by files in later sessions with the same name.  They are not actually
  230. replaced, since the information can not be changed.  The old file
  231. is just ignored.  An example of this is when the user does a full
  232. backup to a new CD.  Each night he does an incremental backup
  233. to that CD as another session.  After several incremental backups
  234. the directory of the CD is displayed.  Only the most recent of
  235. all files are displayed.  The older versions are just ignored.
  236.  They are on the CD but not accessible by standard operating system
  237. commands.  They can only be accessed through special utilities
  238. (example: CDWRITER)..
  239.    SCSI stands for "Small Computer System Interface."  To attach
  240. a SCSI device to a PC the PC must be equipped with a SCSI adapter
  241. card.  A SCSI adapter card can be used to control up to 7 devices.
  242.  The CD writer is a SCSI device and will require a SCSI adapter
  243. card.  Other devices like SCSI disk drives, and scanners can be
  244. attached to the SCSI card.  The devices are "daisy chained" with
  245. the cable coming out of the card, into a port on the device, and
  246. back out another port on the same device.  
  247.    Many CD writer programs require that a device driver called
  248. an ASPI manager be loaded in memory.  ASPI stands for Advanced
  249. SCSI Programming Interface.  This is a device driver that normally
  250. comes with a SCSI adapter card.  It is used as a middleman to
  251. communicate with SCSI devices.  When using an ASPI manager the
  252. writer software does not have to be tailored to each specific
  253. adapter.  In a PC the ASPI manager is often loaded from the file
  254. CONFIG.SYS in the root directory.  For example the syntax of the
  255. command for an Adaptec 1540 SCSI adapter is "DEVICE=C:\SCSI\ASPI4DOS.SYS."
  256.  This should be the first line in the file.
  257.    There are two ways which authoring programs (CD recorder software)
  258. cut CD's.  The first way is to create an intermediate image file.
  259.  The image file contains the entire session to write to the CD.
  260.  It is simply copied byte for byte to the CD after it is created.
  261.  When creating an intermediate image file there must be enough
  262. room on the system to store the entire image.  A compact  disk
  263. can hold over 650MB.  This means an image file can become rather
  264. large.  The other way to create a compact disk is to create the
  265. image "on the fly" without creating an intermediate image file.
  266.  The benefit of this is that it may be faster, and it will not
  267. require the large amount of free of disk space required by an
  268.  
  269. image.  The disadvantage to this is that both the PC and the drives
  270. the data is on must be very quick.  Once writer software begins
  271. adding a session it must keep the buffer of the CD writer from
  272. emptying.  Once the CD writer buffer empties the writer produces
  273. a buffer under flow message and the CD is ruined.  A 2x (double
  274. speed) writer requires a continuous data stream of 300kbs.  If
  275. the image file is being created on the fly from many smaller files
  276. the PC and hard drive may not be able to keep up with the writer.
  277.  In this case a CD-WO is wasted.
  278.    Some CD writers come with a bar code reader built in.  This
  279. bar code reader is able to read the bar code on a CD if it is
  280. present.  For example the Kodak CD's with InfoGuard have a 12
  281. digit number present in human readable form and in bar code form.
  282.  Some CD recording software can detect this bar code and place
  283. it into the CD image when writing the first session (example:
  284. CDWRITER).  
  285.  
  286.  
  287. Installing CDWRITER:
  288.  
  289.    CDWRITER comes on a disk with two files.  The file CDWRITER.EXE
  290. is the actual program.  It should be placed a directory \CDWRITER
  291. on the hard drive.  The file BWCC.DLL should be copied to \WINDOWS\SYSTEM\BWCC.DLL,
  292. unless a more recient one exists.
  293.    The Phillips and Kodak CD Writers require a continuous data
  294. stream at 300kbs.  The PC being used to cut the CD must be able
  295. to sustain over 300kbs from the disk drive, and at the same time,
  296. to the CD writer.  CDWRITER has been tested successfully using
  297. a 486DX-33 with an ISA bus, a Kodak 200 2x CD Writer, a 12ms 1Gig
  298. SCSI Hard drive, and an Adaptec 1540 SCSI adapter card.  Both
  299. the hard drive and the CD Writer were on the same adapter card.
  300.  The CD was created using an interrmediate image file.  CDWRITER
  301. requires an ASPI manager be present in memory.  When writing directly
  302. to a CD two SCSI adapter cards are recomended.  One adapter card
  303. for the hard drive and one for the CD recorder.
  304.