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

3.7 IOS file definition


3.7.1 Definition of file attributes


List
 Title

Command specifications

 Command

Definition of the first position in the disk

 Keyword

BeginTimeS

 No

7.1.1

Form
BeginTimeS relpos
Parameters
relpos: Start position to place the file (relative time from the start of the session)
function
Places the file starting at the specified position relpos.

List
 Title

Command specifications

 Command

Definition of in-disk termination position

 Keyword

EndTimeS

 No

7.1.2

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

List
 Title

Command specifications

 Command

Definition of the first position in the extent

 Keyword

BeginTimeE

 No

7.1.3

Form
BeginTimeE relpos
Parameters
relpos: Start position to place the file (relative time from the start of extent)
function
Places the file starting at the specified position relpos.

List
 Title

Command specifications

 Command

Definition of end position in extent

 Keyword

EndTimeE

 No

7.1.4

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

List
 Title

Command specifications

 Command

File number specification

 Keyword

FileNo

 No

7.1.5

Form
FileNo fno
Parameters
fno: File number (1-255)
function
Assign a file number to the file.
remarks
Only MODE2 track files (CD-ROM XA standard) are meaningful.
Set in the file number area of the subheader and directory record.

caution
If you use data with a subheader as the file source, the subheader information of the file source takes precedence. (Refer to the command SubHeader) At this time, specify the same file number as the subheader of the file source so as not to be inconsistent with the directory record.


List
 Title

Command specifications

 Command

Pack specification after channel interleaving

 Keyword

Pack

 No

7.1.6

Form
Pack
Parameters
none
function
After channel interleaving, empty sectors (unused sectors) are removed.
remarks
Normally, specify a Pack to use the disk capacity efficiently.
If Pack is not specified, empty sectors will be included by the difference between the sector rate and the bit rate.

caution

BeginTimeF and EndTimeF specifications are invalid. If MinLength is specified, the file area will be secured for the specified size.


List
 Title

Command specifications

 Command

Specify sector rate during channel interleaving

 Keyword

Sector Rate

 No

7.1.7

Form
SectorRate [nsect]
Parameters
nsect: Number of sectors consumed per second (0 to 65535, default 150)
function
Specifies the number of sectors consumed per second in the file.
If you specify 0 or 65535 for nsect, the sector rate that minimizes empty sectors (unused sectors) is calculated automatically.
remarks
Empty sectors are included by the difference between the sector rate and the bit rate.

List
 Title

Command specifications

 Command

Definition of Trigger bit position in file

 Keyword

Trigger

 No

7.1.8

Form
Trigger relpos
Parameters
relpos: Position where the Trigger bit is set (relative time from the beginning of the file)
function
Set the Trigger bit of the sector at the specified position.

List
 Title

Command specifications

 Command

Definition of EOR bit position in file

 Keyword

Eors

 No

7.1.9

Form
Eors relpos
Parameters
relpos: Position where the EOR bit is set (relative time from the beginning of the file)
function
Set the EOR bit of the sector at the specified position.

3.7.2 Definition of directory record information


List
 Title

Command specifications

 Command

Definition of minimum file size

 Keyword

MinLength

 No

7.2.1

Form
MinLength len
Parameters
len: Number of bytes (for files) or number of sectors (for directories)
function
Reserves an area of the specified size on the disk, regardless of the actual size of the file or directory.
As a result, even if the size of the file increases, it will not affect the subsequent disk layout as long as it is within the minimum size.
remarks
According to the ISO9660 standard, directory files are secured on sector (2048 byte) boundaries.
Therefore, specify the number of sectors for the directory.

List
 Title

Command specifications

 Command

File invisible attribute definition

 Keyword

Attributes

 No

7.2.2

Form
Attributes atr
Parameters
atr: File attributes (HIDDEN, NOHIDDEN, RECORD, or NOTRECORD)
function
Sets the invisible attribute bit or extended attribute record bit of the directory record.
remarks
This command is left for compatibility. No need to write.

List
 Title

Command specifications

 Command

Definition of file recording date and time

 Keyword

RecordingDate

 No

7.2.3

Form
RecordingDate date time
Parameters
date: Recording date DD / MM / YYYY
time: Recording time hh: mm: ss: cc: gg
function
Set the recording date and time of the file.
remarks
Describe the date and time in the following format. One hundredth of a second is ignored.

DD / MM / YYYY… day / month / year
hh: mm: ss: cc: gg… hours: minutes: seconds: 1/100 second: GMT time difference *

* GMT time difference is the time difference from Greenwich Mean Time (in 15-minute units). It will be 36 in Japan.


List
 Title

Command specifications

 Command

Owner ID definition (CD-ROM XA)

 Keyword

SysOwnerID

 No

7.2.4

Form
SysOwnerID number
Parameters
number: Owner ID number
function
Set a value in the owner ID field of the directory record system information.
remarks
This command is left for compatibility. No need to write.

List
 Title

Command specifications

 Command

Definition of read permission attribute (CD-ROM XA)

 Keyword

SysReadAttributes

 No

7.2.5

Form
SysReadAttributes owner group world
Parameters
owner: Owner attribute specification (OWNER or NOTOWNER)
group: Group attribute specification (GROUP or NOTGROUP)
world: World attribute specification (WORLD or NOTWORLD)
function
Set a value in the read attribute bit of the directory record system information.
remarks
This command is left for compatibility. No need to write.

List
 Title

Command specifications

 Command

Execution permission attribute definition (CD-ROM XA)

 Keyword

SysExecuteAttributes

 No

7.2.6

Form
SysExecuteAttributes owner group world
Parameters
owner: Owner attribute specification (OWNER or NOTOWNER)
group: Group attribute specification (GROUP or NOTGROUP)
world: World attribute specification (WORLD or NOTWORLD)
function
Set a value in the execute attribute bit of the directory record system information.
remarks
This command is left for compatibility. No need to write.

List
 Title

Command specifications

 Command

Definition of the same name in the secondary volume descriptor

 Keyword

SameName

 No

7.2.7

Form
SameName svdname
Parameters
svdname: Same name
function
For the file, set the file name (same name) used in the directory hierarchy controlled by the secondary volume descriptor (SVD).
remarks
Valid only when a secondary volume is defined.

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