home *** CD-ROM | disk | FTP | other *** search
/ Amiga ISO Collection / AmigaUtilCD2.iso / Programming / Assembler / DVD!OMA2.DMS / in.adf / Include1.3.LHA / Include1.3 / devices / prtbase.i < prev    next >
Encoding:
Text File  |  1994-10-12  |  2.4 KB  |  142 lines

  1.  IFND DEVICES_PRTBASE_I
  2. DEVICES_PRTBASE_I EQU 1
  3.  
  4.  IFND EXEC_TYPES_I
  5.  INCLUDE "exec/types.i"
  6.  ENDC
  7.  IFND EXEC_NODES_I
  8.  INCLUDE "exec/nodes.i"
  9.  ENDC
  10.  IFND EXEC_LISTS_I
  11.  INCLUDE "exec/lists.i"
  12.  ENDC
  13.  IFND EXEC_PORTS_I
  14.  INCLUDE "exec/ports.i"
  15.  ENDC
  16.  IFND EXEC_LIBRARIES_I
  17.  INCLUDE "exec/libraries.i"
  18.  ENDC
  19.  IFND EXEC_TASKS_I
  20.  INCLUDE "exec/tasks.i"
  21.  ENDC
  22.  IFND DEVICES_PARALLEL_I
  23.  INCLUDE "devices/parallel.i"
  24.  ENDC
  25.  IFND DEVICES_SERIAL_I
  26.  INCLUDE "devices/serial.i"
  27.  ENDC
  28.  IFND DEVICES_TIMER_I
  29.  INCLUDE "devices/timer.i"
  30.  ENDC
  31.  IFND LIBRARIES_DOSEXTENS_I
  32.  INCLUDE "libraries/dosextens.i"
  33.  ENDC
  34.  IFND INTUITION_INTUITION_I
  35.  INCLUDE "intuition/intuition.i"
  36.  ENDC
  37.  
  38.  RSRESET
  39. DeviceData rs.b LIB_SIZE
  40. dd_Segment rs.l 1
  41. dd_ExecBase rs.l 1
  42. dd_CmdVectors rs.l 1
  43. dd_CmdBytes rs.l 1
  44. dd_NumCommands rs 1
  45. dd_SIZEOF rs.b 0
  46.  
  47.  BITDEF IO,QUEUED,4
  48.  BITDEF IO,CURRENT,5
  49.  BITDEF IO,SERVICING,6
  50.  BITDEF IO,DONE,7
  51.  BITDEF DU,STOPPED,0
  52.  
  53. du_Flags equ LN_PRI
  54. P_PRIORITY equ 0
  55. P_STKSIZE equ $800
  56. P_BUFSIZE equ 256
  57. P_SAFESIZE equ 128
  58.  
  59.  BITDEF P,IOR0,0
  60.  BITDEF P,IOR1,1
  61.  BITDEF P,EXPUNGED,7
  62.  
  63.  RSRESET
  64. PrinterData rs.b dd_SIZEOF
  65. pd_Unit rs.b MP_SIZE
  66. pd_PrinterSegment rs.l 1
  67. pd_PrinterType rs 1
  68. pd_SegmentData rs.l 1
  69. pd_PrintBuf rs.l 1
  70. pd_PWrite rs.l 1
  71. pd_PBothReady rs.l 1
  72.  IFGT IOEXTPar_SIZE-IOEXTSER_SIZE
  73. pd_IOR0 rs.b IOEXTPar_SIZE
  74. pd_IOR1 rs.b IOEXTPar_SIZE
  75.  ELSE
  76. pd_IOR0 rs.b IOEXTSER_SIZE
  77. pd_IOR1 rs.b IOEXTSER_SIZE
  78.  ENDC
  79. pd_TIOR rs.b IOTV_SIZE
  80. pd_IORPort rs.b MP_SIZE
  81. pd_TC rs.b TC_SIZE
  82. pd_Stk rs.b P_STKSIZE
  83. pd_Flags rs.b 1
  84. pd_pad rs.b 1
  85. pd_Preferences rs.b pf_SIZEOF
  86. pd_PWaitEnabled rs.b 1
  87. pd_SIZEOF rs.b 0
  88.  
  89.  BITDEF PPC,GFX,0
  90.  BITDEF PPC,COLOR,1
  91.  
  92. PPC_BWALPHA equ 0
  93. PPC_BWGFX equ 1
  94. PPC_COLORALPHA equ 2
  95. PPC_COLORGFX equ 3
  96. PCC_BW equ 1
  97. PCC_YMC equ 2
  98. PCC_YMC_BW equ 3
  99. PCC_YMCB equ 4
  100. PCC_4COLOR equ 4
  101. PCC_ADDITIVE equ 8
  102. PCC_WB equ 9
  103. PCC_BGR equ $A
  104. PCC_BGR_WB equ $B
  105. PCC_BGRW equ $C
  106. PCC_MULTI_PASS equ $10
  107.  
  108.  RSRESET
  109. PrinterExtendedData rs.b 0
  110. ped_PrinterName rs.l 1
  111. ped_Init rs.l 1
  112. ped_Expunge rs.l 1
  113. ped_Open rs.l 1
  114. ped_Close rs.l 1
  115. ped_PrinterClass rs.b 1
  116. ped_ColorClass rs.b 1
  117. ped_MaxColumns rs.b 1
  118. ped_NumCharSets rs.b 1
  119. ped_NumRows rs 1
  120. ped_MaxXDots rs.l 1
  121. ped_MaxYDots rs.l 1
  122. ped_XDotsInch rs 1
  123. ped_YDotsInch rs 1
  124. ped_Commands rs.l 1
  125. ped_DoSpecial rs.l 1
  126. ped_Render rs.l 1
  127. ped_TimeoutSecs rs.l 1
  128. ped_8BitChars rs.l 1
  129. ped_PrintMode rs.l 1
  130. ped_ConvFunv rs.l 1
  131. ped_SIZEOF rs.b 0
  132.  
  133.  RSRESET
  134. PrinterSegment rs.b 0
  135. ps_NextSegment rs.l 1
  136. ps_runAlert rs.l 1
  137. ps_Version rs 1
  138. ps_Revision rs 1
  139. ps_PED rs.b 0
  140.  
  141.  ENDC
  142.