home *** CD-ROM | disk | FTP | other *** search
/ RISC DISC 1 / RISC_DISC_1.iso / pd_share / code / oslib / Hdr / PDumper < prev    next >
Encoding:
Text File  |  1994-07-01  |  4.3 KB  |  148 lines

  1. ;AAsm header file for PDumper
  2. ;written by DefMod (Jul  1 1994) on Fri Jul  1 16:19:15 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: PDumper_Hdr
  21.         GBLS    PDumper_Hdr
  22.  
  23. ;Symbols for constants
  24. Error_PDumperUndeclared         *       &5D7
  25. Error_PDumperTooOld             *       &5D8
  26. Error_PDumperDuplicateModule    *       &5D9
  27. Error_PDumperBadCall            *       &5DA
  28. Error_PDumperBadStrip           *       &5DB
  29. Error_PDumperBadPalette         *       &5DC
  30. Error_PDumperNotLinked          *       &5DD
  31. Error_PDumperReserved           *       &5DE
  32. Error_PDumperBadOutputType      *       &5DF
  33. Error_PDumperBlockNotFound      *       &5E0
  34. Error_PDumperInUse              *       &5E1
  35. PDumper_DeviceSpriteDevice      *       0
  36. PDumper_DeviceGenericDotMatrix  *       1
  37. PDumper_DeviceLaserjet          *       2
  38. PDumper_DeviceImagewriter       *       3
  39. PDumper_Device24Pin             *       4
  40. PDumper_DeviceDeskjet           *       5
  41. PDumper_StripMonochrome         *       0
  42. PDumper_StripGreyScale          *       1
  43. PDumper_Strip8Bit               *       2
  44. PDumper_Strip24BitMultiple      *       3
  45. PDumper_Strip16Bit              *       4
  46. PDumper_Strip24Bit              *       5
  47. PDumper_FeatureHalftoneGrey     *       &1
  48. PDumper_FeatureDiffusedGrey     *       &2
  49. PDumper_FeatureHalftoneColour   *       &4
  50. PDumper_FeatureDiffusedColour   *       &8
  51. PDumper_FormatHalftoneGrey      *       &1
  52. PDumper_FormatDiffusedGrey      *       &2
  53. PDumper_FormatHalftoneColour    *       &4
  54. PDumper_FormatDiffusedColour    *       &8
  55. PDumper_HalftoneXResolution     *       &FF
  56. PDumper_HalftoneXResolutionShift *       0
  57. PDumper_HalftoneYResolution     *       &FF00
  58. PDumper_HalftoneYResolutionShift *       8
  59.  
  60. ;Symbols for SWI's and SWI reason codes
  61. XPDumper_Info                   *       &61B00
  62. PDumper_Info                    *       &41B00
  63.    ;Exit
  64.    ;  R0 = version (Int)
  65.    ;  R1 = features (Bits)
  66.  
  67. XPDumper_Claim                  *       &61B01
  68. PDumper_Claim                   *       &41B01
  69.    ;Entry
  70.    ;  R0 = anchor (pointer to Int)
  71.    ;  R3 = size (Int)
  72.    ;  R4 = tag (Bits)
  73.    ;Exit
  74.    ;  R2 = blk (pointer to Void)
  75.  
  76. XPDumper_Free                   *       &61B02
  77. PDumper_Free                    *       &41B02
  78.    ;Entry
  79.    ;  R0 = anchor (pointer to Int)
  80.    ;  R2 = blk (pointer to Void)
  81.  
  82. XPDumper_Find                   *       &61B03
  83. PDumper_Find                    *       &41B03
  84.    ;Entry
  85.    ;  R0 = anchor (pointer to Int)
  86.    ;  R2 = tag (Bits)
  87.    ;Exit
  88.    ;  R2 = blk (pointer to Void)
  89.  
  90. XPDumper_StartJob               *       &61B04
  91. PDumper_StartJob                *       &41B04
  92.    ;Entry
  93.    ;  R0 = anchor (pointer to Int)
  94.    ;  R1 = flags (Bits)
  95.    ;  R2 -> palette_file_name (String)
  96.  
  97. XPDumper_TidyJob                *       &61B05
  98. PDumper_TidyJob                 *       &41B05
  99.    ;Entry
  100.    ;  R0 = anchor (pointer to Int)
  101.    ;  R2 = end_of_document (Bool)
  102.    ;  R3 -> tags (Int)
  103.  
  104. XPDumper_SetColour              *       &61B06
  105. PDumper_SetColour               *       &41B06
  106.    ;Entry
  107.    ;  R0 = anchor (pointer to Int)
  108.    ;  R1 = colour (OS_Colour)
  109.    ;  R2 = strip_and_pass_no (Bits)
  110.    ;  R4 = halftone_info (Int)
  111.    ;Exit
  112.    ;  R3 = col (Int)
  113.  
  114. XPDumper_PrepareStrip           *       &61B07
  115. PDumper_PrepareStrip            *       &41B07
  116.    ;Entry
  117.    ;  R0 = anchor (pointer to Int)
  118.    ;  R1 -> image (data)
  119.    ;  R2 = format (Int)
  120.    ;  R3 = width (Int)
  121.    ;  R4 = height (Int)
  122.    ;  R5 = stride (Int)
  123.    ;  R6 = halftone_info (Bits)
  124.  
  125. XPDumper_LookupError            *       &61B08
  126. PDumper_LookupError             *       &41B08
  127.    ;Entry
  128.    ;  R0 -> error (OS_Error)
  129.    ;  R1 -> arg0 (String)
  130.  
  131. XPDumper_CopyFilename           *       &61B09
  132. PDumper_CopyFilename            *       &41B09
  133.    ;Entry
  134.    ;  R0 = buffer (pointer to String)
  135.    ;  R1 = size (Int)
  136.    ;  R2 -> file_name (String)
  137.  
  138. Service_PDumperStarting         *       &66
  139.    ;Entry
  140.    ;  R1 = &66
  141.  
  142. Service_PDumperDying            *       &67
  143.    ;Entry
  144.    ;  R1 = &67
  145.  
  146.         ]
  147.         END
  148.