home *** CD-ROM | disk | FTP | other *** search
/ RISC DISC 1 / RISC_DISC_1.iso / pd_share / code / oslib / Hdr / FilerActio < prev    next >
Encoding:
Text File  |  1994-09-14  |  3.0 KB  |  133 lines

  1. ;AAsm header file for FilerAction
  2. ;written by DefMod (Aug  8 1994) on Wed Sep 14 13:21:03 1994
  3.  
  4.         [       :LNOT: :DEF: Get_Types
  5.         GBLS    Get_Types
  6. Get_Types                       SETS    "GET OS:Hdr.Types"
  7.         |
  8. Get_Types                       SETS    ""
  9.         ]
  10.         $Get_Types
  11.  
  12.         [       :LNOT: :DEF: Get_OS
  13.         GBLS    Get_OS
  14. Get_OS                          SETS    "GET OS:Hdr.OS"
  15.         |
  16. Get_OS                          SETS    ""
  17.         ]
  18.         $Get_OS
  19.  
  20.         [       :LNOT: :DEF: Get_WIMP
  21.         GBLS    Get_WIMP
  22. Get_WIMP                        SETS    "GET OS:Hdr.WIMP"
  23.         |
  24. Get_WIMP                        SETS    ""
  25.         ]
  26.         $Get_WIMP
  27.  
  28.         [       :LNOT: :DEF: FilerAction_Hdr
  29.         GBLS    FilerAction_Hdr
  30.  
  31. ;Symbols for constants
  32. FilerAction_Verbose             *       &1
  33. FilerAction_Confirm             *       &2
  34. FilerAction_Force               *       &4
  35. FilerAction_Newer               *       &8
  36. FilerAction_Recurse             *       &10
  37.  
  38. ;Symbols for SWI's and SWI reason codes
  39. XFilerAction_SendSelectedDirectory *       &60F80
  40. FilerAction_SendSelectedDirectory *       &40F80
  41.    ;Entry
  42.    ;  R0 = task (Wimp_T)
  43.    ;  R1 -> name (String)
  44.  
  45. XFilerAction_SendSelectedFile   *       &60F81
  46. FilerAction_SendSelectedFile    *       &40F81
  47.    ;Entry
  48.    ;  R0 = task (Wimp_T)
  49.    ;  R1 -> leaf_name (String)
  50.  
  51. XFilerAction_SendStartOperation *       &60F82
  52. FilerAction_SendStartOperation  *       &40F82
  53.  
  54. FilerActionSendStartOperation_Copy *       &0
  55.    ;Entry
  56.    ;  R0 = task (Wimp_T)
  57.    ;  R1 = &0
  58.    ;  R2 = flags (Bits)
  59.    ;  R3 -> destination (String)
  60.    ;  R4 = size (Int)
  61.  
  62. FilerActionSendStartOperation_MoveLocal *       &1
  63.    ;Entry
  64.    ;  R0 = task (Wimp_T)
  65.    ;  R1 = &1
  66.    ;  R2 = flags (Bits)
  67.    ;  R3 -> destination (String)
  68.    ;  R4 = size (Int)
  69.  
  70. FilerActionSendStartOperation_Delete *       &2
  71.    ;Entry
  72.    ;  R0 = task (Wimp_T)
  73.    ;  R1 = &2
  74.    ;  R2 = flags (Bits)
  75.    ;  R4 = &0
  76.  
  77. FilerActionSendStartOperation_Access *       &3
  78.    ;Entry
  79.    ;  R0 = task (Wimp_T)
  80.    ;  R1 = &3
  81.    ;  R2 = flags (Bits)
  82.    ;  R3 -> access (Int)
  83.    ;  R4 = &4
  84.  
  85. FilerActionSendStartOperation_SetType *       &4
  86.    ;Entry
  87.    ;  R0 = task (Wimp_T)
  88.    ;  R1 = &4
  89.    ;  R2 = flags (Bits)
  90.    ;  R3 -> file_type (Bits)
  91.    ;  R4 = &4
  92.  
  93. FilerActionSendStartOperation_Count *       &5
  94.    ;Entry
  95.    ;  R0 = task (Wimp_T)
  96.    ;  R1 = &5
  97.    ;  R2 = flags (Bits)
  98.    ;  R4 = &0
  99.  
  100. FilerActionSendStartOperation_Move *       &6
  101.    ;Entry
  102.    ;  R0 = task (Wimp_T)
  103.    ;  R1 = &6
  104.    ;  R2 = flags (Bits)
  105.    ;  R3 -> destination (String)
  106.    ;  R4 = size (Int)
  107.  
  108. FilerActionSendStartOperation_CopyLocal *       &7
  109.    ;Entry
  110.    ;  R0 = task (Wimp_T)
  111.    ;  R1 = &7
  112.    ;  R2 = flags (Bits)
  113.    ;  R3 -> destination (String)
  114.    ;  R4 = size (Int)
  115.  
  116. FilerActionSendStartOperation_Stamp *       &8
  117.    ;Entry
  118.    ;  R0 = task (Wimp_T)
  119.    ;  R1 = &8
  120.    ;  R2 = flags (Bits)
  121.    ;  R4 = &0
  122.  
  123. FilerActionSendStartOperation_Find *       &9
  124.    ;Entry
  125.    ;  R0 = task (Wimp_T)
  126.    ;  R1 = &9
  127.    ;  R2 = flags (Bits)
  128.    ;  R3 -> file_name (String)
  129.    ;  R4 = size (Int)
  130.  
  131.         ]
  132.         END
  133.