home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
minnie.tuhs.org
/
unixen.tar
/
unixen
/
PDP-11
/
Distributions
/
ucb
/
2.9-derivatives
/
2.9-pro350
/
incl-sys
/
ivecpos.h
< prev
next >
Wrap
Text File
|
1985-02-26
|
434b
|
19 lines
/* These constants are used by ienable, idisable calls to
* indicate which device is calling.
* The macro IVEC generates the numbers for option slots using
* the device's base address and APOS or BPOS to define which
* vector.
*/
#define KBRPOS 1
#define KBXPOS 2
#define CMPOS 3
#define CMMPOS 4
#define PLRPOS 5
#define PLXPOS 6
#define CLPOS 7
#define APOS 0
#define BPOS 8
#define IVEC(a,b) (((((unsigned)a)>>7)&07)+8+(b))