Japanese
PROGRAMMER'S GUIDECD Builder Script Grammar
BackForward
CD Builder Script Grammar Manual

3.3 Definition of track structure



 one
View
table
 Title

Command specifications

 Command

Start track definition

 Keyword

Track

 No

3.1

Format
Track type
parameters
trktype: Track type (MODE1, MODE2 or CDDA)
function
Start track definition.

 one
View
table
 Title

Command specifications

 Command

End of track definition

 Keyword

EndTrack

 No

3.2

Format
EndTrack
parameters
none
function
Finish track definition.

 one
View
table
 Title

Command specifications

 Command

Definition of pre-gap

 Keyword

PreGap

 No

3.3

Format
PreGap nsect
parameters
nsect: Number of output sectors in the gap area recorded at the beginning of the MODE2 track.
function
Outputs gap data for the specified number of sectors.
remarks
Normally, specify 150 sectors (2 seconds).

 one
View
table
 Title

Command specifications

 Command

Definition of postgap

 Keyword

PostGap

 No

3.4

Format
PostGap nsect
parameters
nsect: Number of output sectors in the gap area recorded at the end of MODE1 and MODE2 tracks.
function
Outputs gap data for the specified number of sectors.
remarks
Normally, specify 75 sectors (1 second).

 one
View
table
 Title

Command specifications

 Command

Pose definition

 Keyword

Pause

 No

3.5

Format
Pause nsect
parameters
nsect: Number of output sectors of the pause area recorded at the beginning of the CDDA track.
function
Outputs pose data for the specified number of sectors.
remarks
Normally, specify 150 sectors (2 seconds).
-Example-
Example of specifying PreGap, PostGap, and Pause (for disk type SEMIXA)

     Track  MODE1      ; Track number TNO=01
      :
      PostGap 75      ; 1 second or more
     EndTrack
          Track  MODE2      ; Track number TNO=02
      PreGap  150     ; 2 seconds or more
      :
      PostGap 75      ; 1 second or more
     EndTrack
          Track  CDDA       ; Track number TNO=03
      Pause   150     ; 2 seconds or more
      :
     EndTrack

*
In YELLOW BOOK, the pre-gap is divided into two parts. The first part (more than 1 second) is encoded as MODE1 according to the definition of the previous track, and the second part (more than 2 seconds) is encoded as MODE2. It is stipulated that
In this script, the PostGap command is interpreted as the "first part of the pre-gap" and the PreGap command is interpreted as the "second part of the pre-gap."


BackForward
PROGRAMMER'S GUIDECD Builder Script Grammar
Copyright SEGA ENTERPRISES, LTD. 1997