home *** CD-ROM | disk | FTP | other *** search
/ Almathera Ten Pack 4: Demo 1 / almathera_demo1.bin / commercial / asmonedemo / asm-one / include.strip / devices / prtbase.i < prev    next >
Text File  |  1995-03-16  |  2KB  |  125 lines

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