Japanese
PROGRAMMER'S GUIDEFile system library
BackForward
file system library

2. Basics


2.1 Definition of terms

Table 2.1 defines the terms used in the description of file system libraries.

Table 2.1 Definition of terms
 term
 meaning
 cd buffer
 A buffer that stores data read from a CD in sectors.
Fa. It has a capacity of 200 sectors.
 DOS file
 on an IBM-PC accessible via SCSI interface
File. Can be used with debugging libraries.
 memory file
 File placed on SIMM. Debugging library
Available in
 access pointer
 Location (unit: sector) to access the file.
 current directory
 Directory referenced when opening a file.
 debug file
 A generic term for DOS files and memory files.
 buffer compartment
 A partition of the CD buffer into multiple logical partitions.
One buffer area per open file
The image will be exclusive.
 file identifier
 Sequential number within the directory to identify the file.
Takes a value from 0 to (number of directory records - 1). Ta
where 0 indicates your directory and 1 indicates the parent directory.
To do.
 frame address
(FAD)
 The absolute time on the CD, 00:00:00, is set to 0, and it is linked frame by frame.
Sequentially numbered. corresponds one-to-one with absolute time.
vinegar. For CDs, frame addresses are used instead of absolute times.
access as a key.
 Main processing
 A series of processes starting from resetting the CPU. For interrupt handling
It is a term for
 Interrupt handling
 A process triggered by an interrupt. for main processing
It's a term.

2.2 Notation

This section explains the notation used to explain file systems.

(1) Grouping names
ABC_~ means that there are several names starting with ABC_. For example, ABC_X, ABC_Y, ABC_Z.

(2) Symbol specification
!MMM/SSS, represents the symbol SSS defined in module MMM. This is also the notation used in E7000 commands.

(3) Hexadecimal notation
A number with an "H" after it means it is a hexadecimal number.

2.3 Name restrictions
The file system library uses the following names as function names, variable names, type names, and macro names.

 Function name, variable name
 GF~ and gf~
 Model name
 Gf~
 macro name
 GF~

Applications using this library must be careful not to conflict with these names.

2.4 Access Macro
In CD libraries, including file system libraries, structure members are referenced using macros called "access macros." Access macros can also retrieve and set member values.
Using access macros provides the following advantages:


BackForward
PROGRAMMER'S GUIDEFile system library
Copyright SEGA ENTERPRISES, LTD., 1997