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

  1. ;AAsm header file for Filer
  2. ;written by DefMod (Aug  8 1994) on Wed Sep 14 13:21:06 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: Filer_Hdr
  29.         GBLS    Filer_Hdr
  30.  
  31. ;Symbols for constants
  32. Error_FilerNoRecursion          *       &B80
  33. Error_FilerNoTemplate           *       &B81
  34. Error_FilerFailedSave           *       &B82
  35. Error_FilerBadPath              *       &B83
  36. Message_FilerOpenDir            *       &400
  37. Message_FilerCloseDir           *       &401
  38. Message_FilerOpenDirAt          *       &402
  39. Message_FilerSelectionDir       *       &403
  40. Message_FilerAddSelection       *       &404
  41. Message_FilerAction             *       &405
  42. Message_FilerControlAction      *       &406
  43. Message_FilerSelection          *       &407
  44. Filer_FormatNative              *       &1
  45. Filer_DirNoncanonical           *       &1
  46. Filer_DisplayLargeIcons         *       &0
  47. Filer_DisplaySmallIcons         *       &1
  48. Filer_DisplayFullInfo           *       &2
  49. Filer_Display                   *       &3
  50. Filer_DisplayShift              *       0
  51. Filer_SortByName                *       &0
  52. Filer_SortBySize                *       &1
  53. Filer_SortByType                *       &2
  54. Filer_SortByDate                *       &3
  55. Filer_Sort                      *       &C
  56. Filer_SortShift                 *       2
  57. Filer_GivenDisplay              *       &10
  58. Filer_GivenSort                 *       &20
  59. Filer_ControlAcknowledge        *       0
  60. Filer_ControlVerboseOn          *       1
  61. Filer_ControlVerboseOff         *       2
  62.  
  63. ;Symbols for structure offsets and sizes
  64.                                 ^       0
  65. Filer_MessageDir_fs_no          #       Int
  66. Filer_MessageDir_flags          #       Bits
  67. Filer_MessageDir_dir_name       #       228*Char
  68. Filer_MessageDir                *       @
  69.  
  70.                                 ^       0
  71. Filer_MessageOpenDirAt_fs_no    #       Int
  72. Filer_MessageOpenDirAt_flags    #       Bits
  73. Filer_MessageOpenDirAt_at       #       OS_Coord
  74. Filer_MessageOpenDirAt_width    #       Int
  75. Filer_MessageOpenDirAt_height   #       Int
  76. Filer_MessageOpenDirAt_display  #       Byte
  77. Filer_MessageOpenDirAt_dir_name #       211*Char
  78. Filer_MessageOpenDirAt          *       @
  79.  
  80.                                 ^       0
  81. Filer_MessageSelectionDir_dir_name #       236*Char
  82. Filer_MessageSelectionDir       *       @
  83.  
  84.                                 ^       0
  85. Filer_MessageAddSelection_leaf_list #       236*Char
  86. Filer_MessageAddSelection       *       @
  87.  
  88.                                 ^       0
  89. Filer_MessageAction_operation   #       Int
  90. Filer_MessageAction_options     #       Bits
  91. Filer_MessageAction_data        *       @
  92. Filer_MessageAction_data_destination_dir_name #       228*Char
  93.                                 ^       Filer_MessageAction_data
  94. Filer_MessageAction_data_access_access #       Short
  95. Filer_MessageAction_data_access_mask #       Short
  96.                                 ^       Filer_MessageAction_data
  97. Filer_MessageAction_data_file_type #       Bits
  98.                                 ^       Filer_MessageAction_data
  99. Filer_MessageAction_data_find_leaf #       228*Char
  100. Filer_MessageAction             *       @
  101.  
  102.                                 ^       0
  103. Filer_MessageControlAction_control #       Int
  104. Filer_MessageControlAction      *       @
  105.  
  106.                                 ^       0
  107. Filer_MessageSelection_bbox     #       OS_Box
  108. Filer_MessageSelection_width    #       Int
  109. Filer_MessageSelection_height   #       Int
  110. Filer_MessageSelection_display  #       Bits
  111. Filer_MessageSelection_col0     #       Int
  112. Filer_MessageSelection_row0     #       Int
  113. Filer_MessageSelection_col1     #       Int
  114. Filer_MessageSelection_row1     #       Int
  115. Filer_MessageSelection          *       @
  116.  
  117.                                 ^       0
  118. Filer_Format_next               #       Ptr
  119. Filer_Format_menu_text          #       Ptr
  120. Filer_Format_help_text          #       Ptr
  121. Filer_Format_disc_format_swi    #       Int
  122. Filer_Format_disc_format_handle #       Int
  123. Filer_Format_layout_structure_swi #       Int
  124. Filer_Format_layout_structure_handle #       Int
  125. Filer_Format_flags              #       Bits
  126. Filer_Format                    *       @
  127.  
  128.  
  129. ;Symbols for SWI's and SWI reason codes
  130. Service_StartFiler              *       &4B
  131.    ;Entry
  132.    ;  R0 = task (Wimp_T)
  133.    ;  R1 = &4B
  134.    ;Exit
  135.    ;  R0 -> command (String)
  136.    ;  R1 = unclaimed (Bool)
  137.  
  138. Service_StartedFiler            *       &4C
  139.    ;Entry
  140.    ;  R1 = &4C
  141.  
  142. Service_FilerDying              *       &4F
  143.    ;Entry
  144.    ;  R1 = &4F
  145.  
  146. Service_EnumerateFormats        *       &6A
  147.    ;Entry
  148.    ;  R1 = &6A
  149.    ;  R2 = format_list (pointer to Filer_Format)
  150.    ;Exit
  151.    ;  R2 = format_list_out (pointer to Filer_Format)
  152.  
  153. Service_DiscDismounted          *       &7D
  154.    ;Entry
  155.    ;  R1 = &7D
  156.    ;  R2 -> disc_name (String)
  157.  
  158.         ]
  159.         END
  160.