PROGRAMMER'S GUIDEWrite-once system user's manual
BackForward
Write once system

2. Command reference


CD writer command

Command name
segacdw

Composition
segacdw [-i #] [-s #] [-t] image_prefix

explanation
This command writes to a CD image file CD-R using the CD-R recording device YAMAHA CDR100. This command is launched from a system prompt.

argument
image_prefix For image_prefix, specify the name of the CD image file. The name of the CD image file is the prefix part of the file with the extensions .dsk, .emu and .toc. These files must be in the same directory.
Use the .dsk extension for CD image files generated by the virtual CD system and the .emu extension for CD image files generated by the C-Trac Builder.

option
-i
Specifies the destination to which the CD image file is transferred, with a SCSI ID from 0 to 7. That is, specify the SCSI ID for the CDR100.
The default is 5.
-s
Specify the write speed. Specify one of 1 (constant speed), 2 (double speed), and 4 (4x speed). The default is 4, which writes at 4x speed.
-t
Write in the test mode of CDR100. It does not write to the actual CD-R.

-Example-
To record a CD image file consisting of test.dsk and test.toc on a CD-R, specify as follows.

C> segacdw test

Next, we will test writing to a writer with a SCSI ID of 6 at double speed.

C> segacdw -i 6 -s 2 -t test


TOC file generator command

Command name
gentoc

Composition
gentoc [-v] image_prefix

explanation
This command generates a TOC file from a CD image file generated by C-Trac Builder for MEGA-CD / SEGA-CD. This command is launched from a system prompt.

argument
image_prefix For image_prefix, specify the name of the CD image file. The name of the CD image file is the prefix part of the file with the extension .emu.

option
-v
Information such as the contents of the Cue sheet is displayed.

-Example-
To generate the TOC file test.toc from test.emu, specify:

C> gentoc test


Back | Forward
PROGRAMMER'S GUIDEWrite-once system user's manual
Copyright SEGA ENTERPRISES, LTD ,. 1997