home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / ddkx86v5.zip / DDKX86 / SRC / DEV / PRINTER / PRTEISA.INC < prev    next >
Text File  |  1995-04-14  |  2KB  |  57 lines

  1. ;*DDK*************************************************************************/
  2. ;
  3. ; COPYRIGHT (C) Microsoft Corporation, 1989
  4. ; COPYRIGHT    Copyright (C) 1995 IBM Corporation
  5. ;
  6. ;    The following IBM OS/2 WARP source code is provided to you solely for
  7. ;    the purpose of assisting you in your development of OS/2 WARP device
  8. ;    drivers. You may use this code in accordance with the IBM License
  9. ;    Agreement provided in the IBM Device Driver Source Kit for OS/2. This
  10. ;    Copyright statement may not be removed.;
  11. ;*****************************************************************************/
  12.  
  13. ; SCCSID = @(#)prteisa.inc    6.2 90/12/10
  14. ;/**********************************************************************
  15. ;/*                                       *
  16. ;/*                                       *
  17. ;/*                                       *
  18. ;/**********************************************************************
  19. ;
  20. ; This structure is used to hold the information obtained
  21. ; from the ATTACHDD DevHlp perform at init time from the
  22. ; diskdd to OEMHLP$.  The entry point is the strategy routine
  23. ; of the OEMHLP$ pseudo-driver.  There is no configurablity
  24. ; for this entry point since Compaq does not have access to
  25. ; the header for the OEMHLP$ pseudo-driver.
  26. ;
  27. AttachDDstr    struc
  28.     roffset dw    ?        ; real mode entry point offset
  29.     rcs    dw    ?        ; real mode entry point segment
  30.     rds    dw    ?        ; real mode data segment
  31.     poffset dw    ?        ; prot. mode entry point offset
  32.     pcs    dw    ?        ; prot. mode entry point selector
  33.     pds    dw    ?        ; prot. mode data selector
  34. AttachDDstr ends
  35.  
  36. ; This structure is used to hold information on printer ports that
  37. ; was obtained from EISA configuration information.
  38.  
  39. EISALpt struc
  40.     printer_number    db    ?    ; unit number (1-3)
  41.     IRQ_number    db    ?    ; interrupt line
  42.     sharable_IRQ    db    ?    ; indicates if interrupt line sharable
  43.     In_use        db    ?    ; EISA info. matches up with BIOS
  44.     base_addr    dw    ?    ; first hw port address
  45.     end_addr    dw    ?    ; ending hw port address
  46. EISALpt ends
  47. LEN_EISALPT_STRUC    equ    SIZE EISALpt
  48.  
  49. ; Mask for determining if interrupt sharing is supported or not.
  50. INT_SHARING    equ    1
  51.  
  52. ; Mask for the INT pending bit in the printer status port
  53. INT_PENDING    equ    04h
  54.  
  55. ; ASCII code for a TAB character
  56. TAB        equ    9
  57.