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

3.8 Definition of file source information


3.8.1 Definition of subheader information


 List
 Title

Command specifications

 Command

Specifying data with subheader

 Keyword

SubHeader

 No

8.1.1

Form
SubHeader
Parameters
none
function
Declares to use the data with subheaders as the file source.
remarks
The validity of the subheader information is not checked. Also, the builder does not set the information in the subheader. Therefore, specify the directory information such as the file number so that it is consistent with the subheader information.

 List
 Title

Command specifications

 Command

Mode 2 form specification

 Keyword

DataType

 No

8.1.2

Form
DataType form
Parameters
form: Form name (FORM1 or FORM2)
function
Specifies the form format for file source data.
remarks
Valid only within MODE2 tracks.

 List
 Title

Command specifications

 Command

File source data type specification

 Keyword

SourceType

 No

8.1.3

Form
SourceType srctype
Parameters
srctype: File source type
function
Specifies the type of file source data.
(1) File source type
Type name explanation
 DATA
 data
 AUDIO
 Audio (audio data other than ADPCM)
 VIDEO
 video
 MONO_A
 ADPCM monaural level A
 MONO_B
 ADPCM monaural level B
 MONO_C
 ADPCM monaural level C
 STEREO_A
 ADPCM stereo level A
 STEREO_B
 ADPCM stereo level B
 STEREO_C
 ADPCM stereo level C
 CDDA
 CDDA data
 ISO11172
 ISO11172 stream (MPEG system layer)
 MPEG_VIDEO
 MPEG video stream
remarks
Valid only within MODE2 tracks.

 List
 Title

Command specifications

 Command

EOR specification of the last sector of the file source

 Keyword

AutoEOR

 No

8.1.4

Form
AutoEOR
Parameters
none
function
Set the EOR bit in the subheader of the sector that stores the last byte of the file source.
remarks

 List
 Title

Command specifications

 Command

Real-time file specification

 Keyword

RealTime

 No

8.1.5

Form
RealTime
Parameters
none
function
Indicates that the file source is a real-time file and sets the RealTime bit in the subheader of the sector to record.
remarks

 List
 Title

Command specifications

 Command

Code information specification

 Keyword

CodingInformation

 No

8.1.6

Form
CodingInformation codeinf
Parameters
codeinf: coding information value
function
Set the value specified in the coding information field of the subheader that records the file source.
remarks
At MpegMultiplex, if the data type is specified as VIDEO with the MpegStream command, it will be set to 0FH, and if it is specified as AUDIO, it will be set to 7FH.

3.8.2 Definition of file placement control information


 List
 Title

Command specifications

 Command

Specify the start position of the file source placement

 Keyword

BeginTimeF

 No

8.2.1

Form
BeginTimeF relpos
Parameters
relpos: Start position to place the file source (relative time from the beginning of the file)
function
Places the file source starting at the specified position.

 List
 Title

Command specifications

 Command

Specifying the end position of file source placement

 Keyword

EndTimeF

 No

8.2.2

Form
EndTimeF relpos
Parameters
relpos: End position where the file is placed (relative time from the beginning of the file)
function
Places the file with the specified position relpos as the end.

 List
 Title

Command specifications

 Command

Specifying partial file source input

 Keyword

Offset

 No

8.2.3

Form
Offset ofs length
Parameters
ofs: File source read start position (in bytes)
length: Size to read the file source (in bytes)
function
Reads the size length of data from the file source location ofs.

 List
 Title

Command specifications

 Command

Channel interleaving unit size specification

 Keyword

UnitSize

 No

8.2.4

Form
UnitSize usize
Parameters
usize: Number of sectors in the unit (sector string in which the same channel is continuously arranged)
function
During channel interleaving, the sectors of the same channel are recorded for each specified unit size.
remarks
The unit size when the UnitSize command is omitted is 1.

 List
 Title

Command specifications

 Command

Channel interleaving gap size specification

 Keyword

GapSize

 No

8.2.5

Form
GapSize gsize
Parameters
gsize: Number of sectors in the gap (sector sequence between units)
function
During channel interleaving, the units are recorded at intervals of the specified gap size.
remarks
The gap size when the GapSize command is omitted is 0.

 List
 Title

Command specifications

 Command

Specifying the bit rate for channel interleaving

 Keyword

BitRate

 No

8.2.6

Form
BitRate bps [seqno]
Parameters
bps: Bit rate (bit / sec unit)
seqno: MPEG stream sequence number (default = 0)
function
Records channel data at the specified bit rate.
remarks

  • The bit rate is a number with a decimal point. Add .0 for integer values.

  • seqno is left for compatibility. No need to write.


BackForward
PROGRAMMER'S GUIDECD builder script grammar
Copyright SEGA ENTERPRISES, LTD ,. 1997