home *** CD-ROM | disk | FTP | other *** search
- ;AAsm header file for Filer
- ;written by DefMod (Aug 8 1994) on Wed Sep 14 13:21:06 1994
-
- [ :LNOT: :DEF: Get_Types
- GBLS Get_Types
- Get_Types SETS "GET OS:Hdr.Types"
- |
- Get_Types SETS ""
- ]
- $Get_Types
-
- [ :LNOT: :DEF: Get_OS
- GBLS Get_OS
- Get_OS SETS "GET OS:Hdr.OS"
- |
- Get_OS SETS ""
- ]
- $Get_OS
-
- [ :LNOT: :DEF: Get_WIMP
- GBLS Get_WIMP
- Get_WIMP SETS "GET OS:Hdr.WIMP"
- |
- Get_WIMP SETS ""
- ]
- $Get_WIMP
-
- [ :LNOT: :DEF: Filer_Hdr
- GBLS Filer_Hdr
-
- ;Symbols for constants
- Error_FilerNoRecursion * &B80
- Error_FilerNoTemplate * &B81
- Error_FilerFailedSave * &B82
- Error_FilerBadPath * &B83
- Message_FilerOpenDir * &400
- Message_FilerCloseDir * &401
- Message_FilerOpenDirAt * &402
- Message_FilerSelectionDir * &403
- Message_FilerAddSelection * &404
- Message_FilerAction * &405
- Message_FilerControlAction * &406
- Message_FilerSelection * &407
- Filer_FormatNative * &1
- Filer_DirNoncanonical * &1
- Filer_DisplayLargeIcons * &0
- Filer_DisplaySmallIcons * &1
- Filer_DisplayFullInfo * &2
- Filer_Display * &3
- Filer_DisplayShift * 0
- Filer_SortByName * &0
- Filer_SortBySize * &1
- Filer_SortByType * &2
- Filer_SortByDate * &3
- Filer_Sort * &C
- Filer_SortShift * 2
- Filer_GivenDisplay * &10
- Filer_GivenSort * &20
- Filer_ControlAcknowledge * 0
- Filer_ControlVerboseOn * 1
- Filer_ControlVerboseOff * 2
-
- ;Symbols for structure offsets and sizes
- ^ 0
- Filer_MessageDir_fs_no # Int
- Filer_MessageDir_flags # Bits
- Filer_MessageDir_dir_name # 228*Char
- Filer_MessageDir * @
-
- ^ 0
- Filer_MessageOpenDirAt_fs_no # Int
- Filer_MessageOpenDirAt_flags # Bits
- Filer_MessageOpenDirAt_at # OS_Coord
- Filer_MessageOpenDirAt_width # Int
- Filer_MessageOpenDirAt_height # Int
- Filer_MessageOpenDirAt_display # Byte
- Filer_MessageOpenDirAt_dir_name # 211*Char
- Filer_MessageOpenDirAt * @
-
- ^ 0
- Filer_MessageSelectionDir_dir_name # 236*Char
- Filer_MessageSelectionDir * @
-
- ^ 0
- Filer_MessageAddSelection_leaf_list # 236*Char
- Filer_MessageAddSelection * @
-
- ^ 0
- Filer_MessageAction_operation # Int
- Filer_MessageAction_options # Bits
- Filer_MessageAction_data * @
- Filer_MessageAction_data_destination_dir_name # 228*Char
- ^ Filer_MessageAction_data
- Filer_MessageAction_data_access_access # Short
- Filer_MessageAction_data_access_mask # Short
- ^ Filer_MessageAction_data
- Filer_MessageAction_data_file_type # Bits
- ^ Filer_MessageAction_data
- Filer_MessageAction_data_find_leaf # 228*Char
- Filer_MessageAction * @
-
- ^ 0
- Filer_MessageControlAction_control # Int
- Filer_MessageControlAction * @
-
- ^ 0
- Filer_MessageSelection_bbox # OS_Box
- Filer_MessageSelection_width # Int
- Filer_MessageSelection_height # Int
- Filer_MessageSelection_display # Bits
- Filer_MessageSelection_col0 # Int
- Filer_MessageSelection_row0 # Int
- Filer_MessageSelection_col1 # Int
- Filer_MessageSelection_row1 # Int
- Filer_MessageSelection * @
-
- ^ 0
- Filer_Format_next # Ptr
- Filer_Format_menu_text # Ptr
- Filer_Format_help_text # Ptr
- Filer_Format_disc_format_swi # Int
- Filer_Format_disc_format_handle # Int
- Filer_Format_layout_structure_swi # Int
- Filer_Format_layout_structure_handle # Int
- Filer_Format_flags # Bits
- Filer_Format * @
-
-
- ;Symbols for SWI's and SWI reason codes
- Service_StartFiler * &4B
- ;Entry
- ; R0 = task (Wimp_T)
- ; R1 = &4B
- ;Exit
- ; R0 -> command (String)
- ; R1 = unclaimed (Bool)
-
- Service_StartedFiler * &4C
- ;Entry
- ; R1 = &4C
-
- Service_FilerDying * &4F
- ;Entry
- ; R1 = &4F
-
- Service_EnumerateFormats * &6A
- ;Entry
- ; R1 = &6A
- ; R2 = format_list (pointer to Filer_Format)
- ;Exit
- ; R2 = format_list_out (pointer to Filer_Format)
-
- Service_DiscDismounted * &7D
- ;Entry
- ; R1 = &7D
- ; R2 -> disc_name (String)
-
- ]
- END
-