Creative SB0350 Programming Manual page 132

Hardware programming guide
Table of Contents

Advertisement

B-8
File Format
Here is a discussion of various fields:
Block Type 7
This block indicates the end of a repeat loop. It works in conjunction with Block Type
6. The Block Header is organized as follows:
Here is a discussion of various fields:
bBlockID
The Block Type identifier is 6.
nBlockLen
Length of the block (in bytes), excluding the bBlockID and nBlockLen
fields.
The value is 2.
wRepeatTimes
This is a 2-byte field which specifies the number of times to repeat. It
can be any value between 1 to 0FFFE hex inclusive. If this value is set to
0FFFF hex, an endless loop occurs.
BYTE
bBlockID;
BYTE
nBlockLen[3];
bBlockID
The Block Type identifier is 7.
nBlockLen
Length of the block (in bytes), excluding the bBlockID and nBlockLen
fields.
The value is 0.
// == 7
// 3-byte block length

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents