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 >
Wrap
Text File
|
1995-04-14
|
2KB
|
57 lines
;*DDK*************************************************************************/
;
; COPYRIGHT (C) Microsoft Corporation, 1989
; COPYRIGHT Copyright (C) 1995 IBM Corporation
;
; The following IBM OS/2 WARP source code is provided to you solely for
; the purpose of assisting you in your development of OS/2 WARP device
; drivers. You may use this code in accordance with the IBM License
; Agreement provided in the IBM Device Driver Source Kit for OS/2. This
; Copyright statement may not be removed.;
;*****************************************************************************/
; SCCSID = @(#)prteisa.inc 6.2 90/12/10
;/**********************************************************************
;/* *
;/* *
;/* *
;/**********************************************************************
;
; This structure is used to hold the information obtained
; from the ATTACHDD DevHlp perform at init time from the
; diskdd to OEMHLP$. The entry point is the strategy routine
; of the OEMHLP$ pseudo-driver. There is no configurablity
; for this entry point since Compaq does not have access to
; the header for the OEMHLP$ pseudo-driver.
;
AttachDDstr struc
roffset dw ? ; real mode entry point offset
rcs dw ? ; real mode entry point segment
rds dw ? ; real mode data segment
poffset dw ? ; prot. mode entry point offset
pcs dw ? ; prot. mode entry point selector
pds dw ? ; prot. mode data selector
AttachDDstr ends
; This structure is used to hold information on printer ports that
; was obtained from EISA configuration information.
EISALpt struc
printer_number db ? ; unit number (1-3)
IRQ_number db ? ; interrupt line
sharable_IRQ db ? ; indicates if interrupt line sharable
In_use db ? ; EISA info. matches up with BIOS
base_addr dw ? ; first hw port address
end_addr dw ? ; ending hw port address
EISALpt ends
LEN_EISALPT_STRUC equ SIZE EISALpt
; Mask for determining if interrupt sharing is supported or not.
INT_SHARING equ 1
; Mask for the INT pending bit in the printer status port
INT_PENDING equ 04h
; ASCII code for a TAB character
TAB equ 9