home *** CD-ROM | disk | FTP | other *** search
/ Club Amiga de Montreal - CAM / CAM_CD_1.iso / files / 480.lha / tool.library_v7.6 / tool_lib.fd < prev    next >
Text File  |  1991-02-10  |  2KB  |  70 lines

  1. *
  2. * tool_lib.fd version 7.6 - © Copyright 1990 Jaba Development
  3. *
  4. ##base  _ToolBase
  5. ##bias  30
  6. ##public
  7. CreatePort(name,pri)(a0,d0)
  8. DeletePort(port)(a0)
  9. CreateExtIO(port,size)(a0,d0)
  10. DeleteExtIO(ioreq)(a0)
  11. CreateStdIO(port)(a0)
  12. DeleteStdIO(stdreq)(a0)
  13. CreateTimeDelay(port,secs,micros)(a0,d0,d1)
  14. DoTimeDelay(timedelay)(a0)
  15. DeleteTimeDelay(timedelay)(a0)
  16. *
  17. * qsort
  18. *
  19. QuickSort(base,num,size,cmp)(a0,d0,d1,a1)
  20. SwapMem(mema,memb,size)(a0,a1,d1)
  21. *
  22. * gadgets
  23. *
  24. TestBits(value,bits)(d0,d1)
  25. SelectGadget(win,gad,req)(a0,a1,a2)
  26. DeSelectGadget(win,gad,req)(a0,a1,a2)
  27. MutualExclude(win,gad,first,req)(a0,a1,a2,a3)
  28. MutualInclude(win,gad,first,req)(a0,a1,a2,a3)
  29. EraseGadget(win,gad,req)(a0,a1,a2)
  30. GadgetOn(win,gad,req)(a0,a1,a2)
  31. GadgetOff(win,gad,req)(a0,a1,a2)
  32. SelectTest(gad)(a0)
  33. ShadowGadget(win,gad,req,col)(a0,a1,a2,d0)
  34. OnGList(win,first,req,num)(a0,a1,a2,d0)
  35. OffGList(win,first,req,num)(a0,a1,a2,d0)
  36. SelectGList(win,first,req,num)(a0,a1,a2,d0)
  37. DeSelectGList(win,first,req,num)(a0,a1,a2,d0)
  38. ShadowGList(win,first,req,col,num)(a0,a1,a2,d0,d1)
  39. EraseGList(win,first,req,num)(a0,a1,a2,d0)
  40. *
  41. * memory
  42. *
  43. InitMemoryChain(chain,size)(a0,d0)
  44. AllocItem(chain,size,reqs)(a0,d0,d1)
  45. FreeItem(chain,memptr)(a0,a1,d0)
  46. FreeMemoryChain(chain)(a0)
  47. *
  48. * string
  49. *
  50. Format(buffer,fstring,args)(a0,a1,a2)
  51. WriteFormat(handle,fstring,args)(a0,a1,a2)
  52. MatchPattern(string,pattern,case)(a0,a1,d0)
  53. Isolate(pathname,buffer)(a0,a1)
  54. BstrToCstr(bstr,buffer)(a0,a1)
  55. GetDate(date,buffer,how)(a0,a1,d0)
  56. *
  57. * dos extension
  58. *
  59. OpenDir(directory,name)(a0,a1)
  60. GetEntry(directory)(a0)
  61. CloseDir(directory)(a0)
  62. FreeDir(directory)(a0)
  63. IoErrToStr()()
  64. *
  65. * FileRequester
  66. *
  67. AllocFreq()()
  68. FreeFreq(freq)(a0)
  69. FileRequest(freq)(a0)
  70.