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

  1. ;AAsm header file for DOSFS
  2. ;written by DefMod (Aug  8 1994) on Thu Sep 22 15:28:54 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_FileCore
  21.         GBLS    Get_FileCore
  22. Get_FileCore                    SETS    "GET OS:Hdr.FileCore"
  23.         |
  24. Get_FileCore                    SETS    ""
  25.         ]
  26.         $Get_FileCore
  27.  
  28.         [       :LNOT: :DEF: DOSFS_Hdr
  29.         GBLS    DOSFS_Hdr
  30.  
  31. ;Symbols for constants
  32. DOSFS_FormatDOSQ                *       0
  33. DOSFS_FormatDOSM                *       1
  34. DOSFS_FormatDOSH                *       2
  35. DOSFS_FormatDOSN                *       3
  36. DOSFS_FormatDOSP                *       4
  37. DOSFS_FormatDOST                *       5
  38. DOSFS_FormatDOSU                *       6
  39. DOSFS_FormatAtariM              *       7
  40. DOSFS_FormatAtariN              *       8
  41.  
  42. ;Symbols for SWI's and SWI reason codes
  43. XDOSFS_DiscFormat               *       &64B00
  44. DOSFS_DiscFormat                *       &44B00
  45.    ;Entry
  46.    ;  R0 = buffer (pointer to FileCore_Format)
  47.    ;  R1 = vet_format_swi (Int)
  48.    ;  R2 = vet_format_handle (Int)
  49.    ;  R3 = format (Int)
  50.  
  51. XDOSFS_LayoutStructure          *       &64B01
  52. DOSFS_LayoutStructure           *       &44B01
  53.    ;Entry
  54.    ;  R0 -> disc (FileCore_Disc)
  55.    ;  R1 -> defect_list (FileCore_DefectList)
  56.    ;  R2 -> disc_name (String)
  57.    ;  R3 = image_file (OS_F)
  58.  
  59.         ]
  60.         END
  61.