Japanese
PROGRAMMER'S GUIDEStream system library
BackForward
stream system library

3.Basics


3.1 Definition of terms and abbreviations

Table 3.1 List of terms
 term
 meaning
 stream
 Logically contiguous data separated by subheaders
Flow of.
 stream key
 Key to read stream into CD buffer. flame
address range, file number (FN), channel number (CN),
It consists of submode (SM) and coding information (CI).
Submode (SM) and coding information (CI) are mask patterns
A comparison pattern can be specified,
({SM|CI}&mask pattern==comparison pattern)
Read the sector.
 stream group
 A collection of multiple streams.
 final stream
 The last replayed stream among the streams belonging to the stream group.
stream that is generated.
 loop start stream
 Return after playing the last stream in a stream group
destination stream.
 Number of loops
 After playing the last stream, go to the loop start stream.
Number of times to move the pickup.
 Transfer start FAD
 The data read into the CD buffer is stored in the buffer within the program.
The position of the pickup that starts transferring to F, etc.
 transfer gate
 The data read into the CD buffer is stored in the buffer within the program.
Gate for transferring to F, etc. to close this
Therefore, store the stream data in the CD buffer.
I can.

Figure 3.1 Stream system data flow

┌─────────┐              
│CD drive │              
└────┬────┘              
     │ Load  ──┐         
     ↓         │         
┌─────────┐    │         
│CD buffer│    ├Stream access
└────┬────┘    │         
     │Retrieval│         
     │/Transfer│         
     ↓       ──┘         
┌─────────┐              
│Main CPU │              
│area     │              
└─────────┘              

Table 3.2 List of abbreviations
 Abbreviation
 meaning
 explanation
 GFS
 general file system
 file system
 STM
 stream
 stream
 StmGrpHn
 stream group handle
 Stream group operation handle
 StmHn
 stream handle
 Handle for stream operation
 TrMode
 transfer mode
 Transfer mode
 bn
 buffer number
 buffer partition number
 ci
 coding information
 Coding information
 cn
 chanel number
 channel number
 fad
 frame address
 frame address
 fid
 file ID
 file identifier
 fn
 file number
 file number
 fname
 file name
 file name
 frange
 fad range
 Playback range (frame address range)
 loopstm
 loop stream
 loop start stream
 sinfo
 sector information
 Sector information
 sm
 sub mode
 submode

3.2 Name restrictions

The stream system library uses the following names for function names, variable names, type names, and macro names.

 Function name, variable name
 ST~ and st~
 Model name
 St〜
 macro name
 ST~

The libraries required to use the stream system library use the following global symbols.

Table 3.3 Symbol names of each library
 library name
 Symbols used
 file system
 GF~,gf~,Gf~
 CD communication interface
 CD~,cd~,Cd~

Application programs must not use these symbols.


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