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

3.6 Definition of interleaving


An example of an interleave definition is shown below.

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

 one
View
table
 Title

Command specifications

 Command

Start of extent definition

 Keyword

Extent

 No

6.1

Format
Extent [relpos]
parameters
relpos: location on disk to record the extent (relative time within the session, optional)
function
Begins defining an extent.

 one
View
table
 Title

Command specifications

 Command

End of extent definition

 Keyword

End Extent

 No

6.2

Format
End Extent
parameters
none
function
Finish the extent definition.

 one
View
table
 Title

Command specifications

 Command

Starting file interleaving definition

 Keyword

FileInterleave

 No

6.3

Format
FileInterleave usize gsize
parameters
usize: number of sectors in the unit
gsize: number of sectors in the gap
function
Begins file interleaving definition.

 one
View
table
 Title

Command specifications

 Command

End of file interleaving definition

 Keyword

EndFileInterleave

 No

6.4

Format
EndFileInterleave
parameters
none
function
Finish the file interleaving definition.

 one
View
table
 Title

Command specifications

 Command

Starting channel definition

 Keyword

Channel

 No

6.5

Format
Channel channel
parameters
chno: Channel number (0 to 255)
function
Begin channel definition.

 one
View
table
 Title

Command specifications

 Command

End of channel definition

 Keyword

EndChannel

 No

6.6

Format
EndChannel
parameters
none
function
Finish the channel definition.

 one
View
table
 Title

Command specifications

 Command

File relocation specification

 Keyword

Reallocation

 No

6.7

Format
Reallocation
parameters
none
function
If another file is already specified at the location where you are trying to place the file, it will be moved and relocated so that it does not overlap with the previously specified file.

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