home *** CD-ROM | disk | FTP | other *** search
/ Club Amiga de Montreal - CAM / CAM_CD_1.iso / files / 390.lha / iff_library_v18.5 / IFFGlue.asm < prev    next >
Assembly Source File  |  1990-06-01  |  1KB  |  80 lines

  1. * IFF library C to Assembler interface for the Manx C compiler (32 bit ints).
  2. * Version 18.4, 28-Feb-90 by Christian A. Weber
  3. * If you use Aztec C V3.6, you should assemble this file ('as IFFGlue.asm')
  4. * and link it to all programs which use the IFF library.
  5.  
  6.  
  7.         XREF    _IFFBase
  8.  
  9.         XDEF    _OpenIFF
  10. _OpenIFF:    move.l    4(SP),a0
  11.         move.l    _IFFBase,a6
  12.         jmp    -30(a6)
  13.  
  14.         XDEF    _CloseIFF
  15. _CloseIFF:    move.l    4(SP),a1
  16.         move.l    _IFFBase,a6
  17.         jmp    -36(a6)
  18.  
  19.         XDEF    _FindChunk
  20. _FindChunk:    move.l    4(SP),a1
  21.         move.l    8(SP),d0
  22.         move.l    _IFFBase,a6
  23.         jmp    -42(a6)
  24.  
  25.         XDEF    _GetBMHD
  26. _GetBMHD:    move.l    4(SP),a1
  27.         move.l    _IFFBase,a6
  28.         jmp    -48(a6)
  29.  
  30.         XDEF    _GetColorTab
  31. _GetColorTab:    move.l    4(SP),a1
  32.         move.l    8(SP),a0
  33.         move.l    _IFFBase,a6
  34.         jmp    -54(a6)
  35.  
  36.         XDEF    _DecodePic
  37. _DecodePic:    move.l    4(SP),a1
  38.         move.l    8(SP),a0
  39.         move.l    _IFFBase,a6
  40.         jmp    -60(a6)
  41.  
  42.         XDEF    _SaveBitMap
  43. _SaveBitMap:    move.l    a2,-(SP)
  44.         movem.l    8(SP),a0/a1/a2
  45.         move.l    20(SP),d0
  46.         move.l    _IFFBase,a6
  47.         jsr    -66(a6)
  48.         move.l    (SP)+,a2
  49.         rts
  50.  
  51.         XDEF    _SaveClip
  52. _SaveClip:    movem.l    d4/a2,-(SP)
  53.         movem.l    24(SP),d0-d4
  54.         movem.l    12(SP),a0-a2
  55.         move.l    _IFFBase,a6
  56.         jsr    -72(a6)
  57.         movem.l    (SP)+,d4/a2
  58.         rts
  59.  
  60.         XDEF    _IffError
  61. _IffError:    move.l    _IFFBase,a6
  62.         jmp    -78(a6)
  63.  
  64.         XDEF    _GetViewModes
  65. _GetViewModes:    move.l    4(SP),a1
  66.         move.l    _IFFBase,a6
  67.         jmp    -84(a6)
  68.  
  69.         XDEF    _NewOpenIFF
  70. _NewOpenIFF:    move.l    4(SP),a0
  71.         move.l    8(SP),d0
  72.         move.l    _IFFBase,a6
  73.         jmp    -90(a6)
  74.  
  75.         XDEF    _ModifyFrame
  76. _ModifyFrame:    move.l    4(SP),a1
  77.         move.l    8(SP),a0
  78.         move.l    _IFFBase,a6
  79.         jmp    -96(a6)
  80.