##base _IFFBase
##bias 30
##public
OpenIFF(filename)(A0)
CloseIFF(ifffile)(A1)
FindChunk(ifffile,chunkname)(A1,D0)
GetBMHD(ifffile)(A1)
GetColorTab(ifffile,colortable)(A1/A0)
DecodePic(ifffile,bitmap)(A1/A0)
SaveBitMap(name,bmap,ctab,crmd)(A0/A1/A2,D0)
SaveClip(name,bmap,ctab,crmd,x,y,w,h)(A0/A1/A2,D0/D1/D2/D3/D4)
IffError()
GetViewModes(ifffile)(A1)
NewOpenIFF(filename,memtype)(A0,D0)
ModifyFrame(modifyform,bitmap)(A1/A0)
##end
