Japanese
PROGRAMMER'S GUIDEWrite Once System User's Manual
BackForward
write once system

2.Command reference


CD writer command

command name
segacdw

Syntax
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 the system prompt.

argument
image_prefix image_prefix specifies 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 C-Trac Builder.

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

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

C> segacdw test

Next, we will test writing to the writing device with SCSI ID 6 at double speed.

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


TOC file generator command

command name
gentoc

Syntax
gentoc [-v] image_prefix

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

argument
image_prefix image_prefix specifies 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
Displays information such as the contents of the cue sheet.

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

C> gentoc test


Back| Forward
PROGRAMMER'S GUIDEWrite Once System User's Manual
Copyright SEGA ENTERPRISES, LTD. 1997