home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Fish 'n' More 2
/
fishmore-publicdomainlibraryvol.ii1991xetec.iso
/
dirs
/
chemesthetics_427.lzh
/
Chemesthetics
/
Source
/
Source.LZH
/
iffglue.asm
< prev
next >
Wrap
Assembly Source File
|
1990-01-10
|
1KB
|
71 lines
* C to Assembler interface for the IFF library and the Manx C compiler
* Version 16.1, 01-Dec-88 Christian A. Weber
XREF _IFFBase
XDEF _OpenIFF
_OpenIFF: move.l 4(sp),a0
move.l _IFFBase,a6
jmp -30(a6)
XDEF _CloseIFF
_CloseIFF: move.l 4(sp),a1
move.l _IFFBase,a6
jmp -36(a6)
XDEF _FindChunk
_FindChunk: move.l 4(sp),a1
move.l 8(sp),d0
move.l _IFFBase,a6
jmp -42(a6)
XDEF _GetBMHD
_GetBMHD: move.l 4(sp),a1
move.l _IFFBase,a6
jmp -48(a6)
XDEF _GetColorTab
_GetColorTab: move.l 4(sp),a1
move.l 8(sp),a0
move.l _IFFBase,a6
jmp -54(a6)
XDEF _DecodePic
_DecodePic: move.l 4(sp),a1
move.l 8(sp),a0
move.l _IFFBase,a6
jmp -60(a6)
XDEF _SaveBitMap
_SaveBitMap: move.l a2,-(sp)
movem.l 8(sp),a0/a1/a2
move.l 20(sp),d0
move.l _IFFBase,a6
jsr -66(a6)
move.l (sp)+,a2
rts
XDEF _SaveClip
_SaveClip: movem.l d4/a2,-(sp)
movem.l 24(sp),d0-d4
movem.l 12(sp),a0-a2
move.l _IFFBase,a6
jsr -72(a6)
movem.l (sp)+,d4/a2
rts
XDEF _IffError
_IffError: move.l _IFFBase,a6
jmp -78(a6)
XDEF _GetViewModes
_GetViewModes: move.l 4(sp),a1
move.l _IFFBase,a6
jmp -84(a6)
XDEF _NewOpenIFF
_NewOpenIFF: move.l 4(sp),a0
move.l 8(sp),d0
move.l _IFFBase,a6
jmp -90(a6)