PROGRAMMER'S GUIDECD builder script grammar
BackForward
CD Builder Script Grammar Manual

3.3 Definition of track structure



 List
 Title

Command specifications

 Command

Start of track definition

 Keyword

Track

 No

3.1 3.1

Form
Track trktype
Parameters
trktype: Track type (MODE1, MODE2 or CDDA)
function
Start the track definition.

 List
 Title

Command specifications

 Command

End of track definition

 Keyword

EndTrack

 No

3.2

Form
EndTrack
Parameters
none
function
Finish the track definition.

 List
 Title

Command specifications

 Command

Definition of pre-gap

 Keyword

PreGap

 No

3.3

Form
PreGap nsect
Parameters
nsect: The number of output sectors in the gap area recorded at the beginning of the MODE2 track.
function
Gap data is output for the specified number of sectors.
remarks
Normally, specify 150 sectors (2 seconds).

 List
 Title

Command specifications

 Command

Definition of post gap

 Keyword

PostGap

 No

3.4 3.4

Form
PostGap nsect
Parameters
nsect: MODE1 and MODE2 The number of output sectors in the gap area recorded at the end of the track.
function
Gap data is output for the specified number of sectors.
remarks
Normally, specify 75 sectors (1 second).

 List
 Title

Command specifications

 Command

Pose definition

 Keyword

Pause

 No

3.5

Form
Pause nsect
Parameters
nsect: The number of output sectors in the pause area recorded at the beginning of the CDDA track.
function
Outputs pause data for the specified number of sectors.
remarks
Normally, specify 150 sectors (2 seconds).
-Example-
PreGap, PostGap, Pause specification example (when disc type SEMIX A)

     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, up to "1st part (1 second or more)" is encoded as MODE1 according to the definition of the previous track, and from "2nd part (2 seconds or more)" to MODE2. It is stipulated that it will be.
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