When using this document, keep the following in mind:nti
alGeneral Notice

1. This document is confidential. By accepting this document you acknowledge that you are boundby the terms set forth in the non-disclosure and confidentiality agreement signed separately and /inthe possession of SEGA. If you have not signed such a non-disclosure agreement, please contact
SEGA immediately and return this document to SEGA.

de2. This document may include technical inaccuracies or typographical errors. Changes are periodically made to the information herein; these changes will be incorporated in new versions of thedocument. SEGA may make improvements and/or changes in the product(s) and/or theprogram(s) described in this document at any time.

nfi

3. No one is permitted to reproduce or duplicate, in any form, the whole or part of this document
without SEGA’S written permission. Request for copies of this document and for technicalinformation about SEGA products must be made to your authorized SEGA Technical Services
representative.
4. No license is granted by implication or otherwise under any patents, copyrights, trademarks, orother intellectual property rights of SEGA Enterprises, Ltd., SEGA of America, Inc., or any thirdparty.

Co

5. Software, circuitry, and other examples described herein are meant merely to indicate the characteristics and performance of SEGA’s products. SEGA assumes no responsibility for any intellectualproperty claims or other problems that may result from applications based on the examples
describe herein.

GA

6. It is possible that this document may contain reference to, or information about, SEGA products(development hardware/software) or services that are not provided in countries other than Japan.
Such references/information must not be construed to mean that SEGA intends to provide such
SEGA products or services in countries other than Japan. Any reference of a SEGA licensed product/program in this document is not intended to state or simply that you can use only SEGA’slicensed products/programs. Any functionally equivalent hardware/software can be used instead.
7. SEGA will not be held responsible for any damage to the user that may result from accidents or any
other reasons during operation of the user’s equipment, or programs according to this document.

SENOTE: A reader's comment/correction form is provided with thisdocument. Please address comments to :SEGA of America, Inc., Developer Technical Support (att. Evelyn Merritt)
150 Shoreline Drive, Redwood City, CA 94065

SEGA may use or distribute whatever information you supply in any way
it believes appropriate without incurring any obligation to you.

(11/2/94- 002)

SEGA

Co

nfi

denti
al

TM

WRITE-ONCE
CD-R System
User's ManualDoc. # ST-201-B-092994© 1994 SEGA. All Rights Reserved.

nti
alREADER CORRECTION/COMMENT SHEETKeep us updated!
If you should come across any incorrect or outdated information while reading through the attacheddocument, or come up with any questions or comments, please let us know so that we can make therequired changes in subsequent revisions. Simply fill out all information below and return this form tothe Developer Technical Support Manager at the address below. Please make more copies of this form if
more space is needed. Thank you.
General Information:

Phone

Document number
Document namedeYour Name

Date

ST-201-B-092994

WRITE-ONCE CD-R System User's ManualCorrections:Correctionnfipg. #GA

CoChpt.

SE

Questions/comments:

Fax:

Where to send your corrections:(415) 802-1440
Attn: Sr. Coordinator,
Technical Publications Group

Mail:

SEGA OF AMERICA
Attn: Sr. Coordinator,
Technical Publications Group
130 Shoreline Dr.
Redwood City, CA 94065

ntialWRITE-ONCE CD-R System

Co

nfi

deUser’s Manual

Introduction ............................................................................................................................. 3

GA

Installation ............................................................................................................................... 4
Hardware Installation ..................................................................................................... 4
Software Installation ........................................................................................................ 4
Command Reference ............................................................................................................. 5
The CD Writer Command ............................................................................................... 5
The TOC File Generator Command .............................................................................. 6SETroubleshooting ..................................................................................................................... 7
Image File Errors .............................................................................................................. 7
Image File Format Errors ................................................................................................ 7
IRSC Length Errors .......................................................................................................... 7Cue Sheet Errors ............................................................................................................... 7Errors Generated by the Relationship between the Host
Machine and CD-R Recording Unit .............................................................................. 8
CD-R Image Transmission Error ............................................................................. 8
CD-R Recording Unit Setting Errors ...................................................................... 8Errors Returned by CD-R Recording Unit ............................................................ 8WRITE-ONCE CD-R System User's Manual

1

SEGA

Co

nfi

denti
al

(This page was blank in the original Japanese document.)2

Introduction

SEGA

Co

nfi

denti
alSegacdw is a program that records a CD image file created on a virtual CD system(command VCDBUILD) on a CD-R disc using a CD-R recording unit. This command is invoked from the system command prompt.

WRITE-ONCE CD-R System User's Manual3InstallationntialHardware Installation
Connect the YAMAHA CDE/CDR100 CD-R recording unit (CDE100 is the model
name for CDR100 with the system case) to the host machine using the SCSI interface.
See the CDR100 manual for details and how to connect the recording unit.
Setting CDR100 SCSI ID to 5, eliminates the necessity of setting the SCSI ID to thecommand segacdw argument each time.

SEGA

Co

nfi

deSoftware Installation
Copy the segacdw execution file from the floppy disk distribution medium to thehard disk of your host machine. Set the PATH if necessary.

4The CD Writer Command
Command name:segacdw
Syntax:segacdw [-i #] [-s #] [-t] image_prefix
Description:

ntialCommand ReferencedeThis command writes to a CD image file a CD-R using YAMAHA’s CDR100
CD-R recording unit. The command is invoked from the system commandprompt.
Arguments:

nfi

The name of the CD image file is specified to the image_prefix image_prefix.
The name of CD image file is the prefix of files which have the .dsk, the .emu
and the .toc file name extensions. These files must all be in the same directory. The CD image files created with the Virtual CD System should have thefile name extension .dsk. Use the file name extension .emu for the CD image
files created with the C-Trac Builder.
Options:

Specifies the distination to be transmitted the CD image files by theSCSI ID 0 to 7. In other word, specify SCSI ID of CDR 100. The default
is 5.

-s

Specifies the writing speed. Specify any one out of the values 1(normal speed), 2 (double speed) and 4 (quadruple speed). The default
is 4, which writes at quadruple speed.

-t

Write with CDR100 test mode. The actual CD-R is not written on it.

GACo-iExamples:

To record a CD image file consisting of test.dsk and test.toc onto a CD-R,specify as follows.
C> segacdw test

SEThe following is the test to record at double speed on a recording unit with aSCSI ID of 6.
C> segacdw -i 6 -s 2 -t test

WRITE-ONCE CD-R System User's Manual5

The TOC File Generator Commandnti
alCommand name:

gentoc
Syntax:

gentoc [-v] image_prefix
Description:

deThis command generates a TOC file from a CD image file created using CTrac Builder for MEGA-CD/SEGA-CD. The command is invoked from thesystem prompt.
Arguments:

The name of the CD image file is specified at an image_prefix image_prefix.
The CD image file name is the prefix of a file which has the an .emu file nameextension.
-v

nfi

Options:

Displays such information as the contents of the Cue sheet.

Example:To generate TOC file test.toc from test.emu, specify as follows.

SEGA

Co

C> gentoc test6Troubleshootingntial

The following sections describe the measures against the error message display.

Image File Errors
The error messages described in this section will be displayed when there are problems with the CD image. Make sure the .dsk file or the .emu file is in the same
directory as the .toc file. Make sure the files are created correctly using the Virtual
CD System. If the error still remains, you will have to create the CD image again.

deImage File Format Errors
The following error message displays indicate that the format of the CD image to berecorded is incorrect.
• Bad data form
• unknown data form in line
• Error Data Length• Unknown data modenfi

The following error message display indicates either the mode of the CD-ROM to becreated is incorrect or a CD image format is not supported by segacdw.

CoISRC Length Errors
The following error message display indicates that there is a problem with thelength of the ISRC stored in the CD image. Check the original data and regenerate
the CD image.
• ISRC length error in line.

GACue Sheet Errors
The following error message display indicates that there are problems with the Cuesheet. Recreate the .dsk file and .toc file using the Virtual CD System.
• Cue Sheet intermediate conversion failed• Cue Sheet parsing failed• Cue Sheet conversion failed• Cue sheet size error• Cue sheet too large• Empty cue sheet• No track definitions in cue sheet

SE• Can’t find lead-out in cue sheet• Nocore for cue sheet

The following error message indicates that there is not a Cue Sheet generated or
there is not a file that contains the Cue Sheet not in the same directory as the image
file.
• No cue sheet

WRITE-ONCE CD-R System User's Manual7nti
alErrors Generated by the Relationship Between the Host Machine and CD-R
Recording Unit
CD Image Transmission Error

The following error message indicates that the I/O speed of the host hard disk
cannot keep the same the writing speed as of its CD-R writing unit. Specify thecorrect speed using option-s.
• Buffer Under Run

CD-R Recording Unit Setting Errors

deThe following error message is displayed when an incorrect writing speed wasspecified. Specify the correct writing speed using the option-s.
• Error:Bad speed valuenfi

The following error message is displayed when the CDR100 firmware version of theis old and cannot create CD discs for SEGA Saturn. Change to the correct version ofthe CDR100 firmware.
• Firmware upgrade of CD recorder is needed to use this software.

Errors Returned by CD-R Recording Unit

The following error messages are returned by the CD-R recording unit.

Co• Unknown sense key• Unknown additional sense code
• Field Replaceable Unit failed• Number of Errors• Error Number [%d] at Logical Block Address• No Additional Sense• Caddy out• Drive Not Ready• Communication FailureGA• Track Following Error• Unrecoverd Read Error• Positioning Error• Recovered Read Data With Retries• Recovered Read With ECC Correction• Parameter List Length Error• Invalid CommandSE• Invalid Block Address• Illegal Field in Command Descriptor• Invalid LUN• Invalid Field Parameter List
• Medium Changed• Power-on Reset or Bus Reset Occurred8• Command Sequence Error• Medium Format Corrupted

ntial• Write Data Error with CU• Monitor Atip Error• Invalid Bits in Identify Message• Diagostic Failure• Power-On or Self Test Failure• Internal Controller Error• SCSI Parity Error• Write Operation in Progress• Medium(Caddy) Load or Eject Failed• Unable to Read TOC, PMA or Subcodede• Operator Medium Removal Request• End Of User Area encountered on this Track• Illegal Mode for this Track• Illegal Track• Command Currently Not Valid• Medium Removal Is Prevented• Invalid Start Addressnfi• Stopped on Non-data block• Attempt to cross track-boundary• Illegal Medium• Application Code Conflict• Ilegal block-size for command• Block-size ConflictCo• Request for Fixation Failed• End Of Medium Reached• Illegal Track Number• Data Track Length Error• Buffer Under Run• Illegal Track Mode

• Optimum Power Calibration Error• Calibration Area Almost Full

• Current Program Area EmptyGA• No EFM at search address• Link Area Encountered• Calibration Area Full

• Dummy blocks added• Block size format conflict• Current Command Aborted• BARCODE READING ERROR• Recovery Needed

SE• Can’t Recover from track• Can’t Recover from Program Memory Area
• Can’t Recover from Lead-in Area
• Can’t Recover from Lead-out Area
• Laser Current OverWRITE-ONCE CD-R System User's Manual9