home *** CD-ROM | disk | FTP | other *** search
/ Brotikasten / BROTCD01.iso / amiga / c64trans.zoo / miscintf.asm < prev   
Assembly Source File  |  1989-07-17  |  534b  |  26 lines

  1. ***************************************
  2. *                                     *
  3. *  misc.resource C-language interface *
  4. *         by Timo Rossi 1988          *
  5. *                                     *
  6. ***************************************
  7.  
  8.     xdef    _GetMiscResource
  9.     xdef    _FreeMiscResource
  10.  
  11. _GetMiscResource:    ;(UnitNum,Name,MiscResource)
  12.     move.l    A6,-(sp)
  13.     movem.l    8(sp),D0/A1/A6
  14.     jsr    -6(A6)
  15.     move.l    (sp)+,A6
  16.     rts
  17.  
  18. _FreeMiscResource:    ;(UnitNum,MiscResource)
  19.     move.l    A6,-(sp)
  20.     movem.l    8(sp),D0/A6
  21.     jsr    -12(A6)
  22.     move.l    (sp)+,A6
  23.     rts
  24.  
  25.     END
  26.