home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Chip 2000 May
/
Chip_2000-05_cd1.bin
/
sharewar
/
FFE
/
GRAPH.SWG
/
0009_IFF.pas
< prev
next >
Wrap
Pascal/Delphi Source File
|
1996-09-04
|
978b
|
25 lines
--------f-IFF-M-----------------------------
The IFF format is comparable to the RIFF file format, but it uses
Motorola byte ordering. After the FORM header, the different records
follow. Each record has a header ID of 4 bytes and then following the
size of the data (in Motorola byte ordering). Each IFF record starts on
an even byte boundary, that means if the record length is odd, you will
have to skip one more byte to get the next record.
OFFSET Count TYPE Description
0000h 4 char ID='FORM'
0004h 1 dword Size of the whole IFF block
0008h 4 char Type of the IFF file
Each IFF record has the following format :
OFFSET Count TYPE Description
0000h 4 char ID
0004h 1 dword Blocksize
0008h ? byte Block data, depends on block type.
OCCURENCES:Amiga,PC
SEE ALSO:8SVX,LBM,RIFF