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

3.6 Definition of interleaving


An example of an interleaved definition is shown below.

                                                    File source Extent ┌────────────┐
    FileInterleave 3 1 ┌ ← ASRC │ AAAAAAAAAAAAA│
        File AFILE │ └────────────┘
            FileSource ASRC │ ┌────────────┐ 
            EndFileSource ├ ← BSRC │ BBBBBBBBBBBBB│
        EndFile │ └────────────┘   
    EndFileInterleave │
    FileInterleave 1 3 │ │ ← −−− Extent −−− → −−
       File BFILE │ ┌──────────────── 
           FileSource BSRC └ → │ AAABAAABAAABAAA
           EndFileSource └────────────────              
        EndFile               
    EndFileInterleave         
EndExtent                     

 List
 Title

Command specifications

 Command

Start of extent definition

 Keyword

Extent

 No

6.1

Form
Extent [relpos]
Parameters
relpos: position on disk to record extents (relative time in session, optional)
function
Start defining extents.

 List
 Title

Command specifications

 Command

End of extent definition

 Keyword

EndExtent

 No

6.2.

Form
EndExtent
Parameters
none
function
Exits the extent definition.

 List
 Title

Command specifications

 Command

Start file interleaved definition

 Keyword

FileInterleave

 No

6.3

Form
FileInterleave usize gsize
Parameters
usize: number of sectors in the unit
gsize: number of sectors in the gap
function
Starts the file interleaved definition.

 List
 Title

Command specifications

 Command

End of file interleaved definition

 Keyword

EndFileInterleave

 No

6.4

Form
EndFileInterleave
Parameters
none
function
Terminates the file interleave definition.

 List
 Title

Command specifications

 Command

Start channel definition

 Keyword

Channel

 No

6.5 6.5

Form
Channel chno
Parameters
chno: Channel number (0 to 255)
function
Start the channel definition.

 List
 Title

Command specifications

 Command

End of channel definition

 Keyword

EndChannel

 No

6.6

Form
EndChannel
Parameters
none
function
Finish the channel definition.

 List
 Title

Command specifications

 Command

File relocation specification

 Keyword

Reallocation

 No

6.7

Form
Reallocation
Parameters
none
function
If another file has already been specified at the position where you tried to place the file, move it back and rearrange it so that it does not overlap with the previously specified file.

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