Go to the documentation of this file.
17 #define DZ_TRDY 0x8000
19 #define DZ_TLINE 0x0300
20 #define DZ_RDONE 0x0080
24 #define DZ_MAINT 0x0008
29 #define DZ_RBUF_MASK 0x00FF
30 #define DZ_LINE_MASK 0x0300
31 #define DZ_DVAL 0x8000
32 #define DZ_OERR 0x4000
33 #define DZ_FERR 0x2000
34 #define DZ_PERR 0x1000
36 #define DZ_BREAK 0x0800
38 #define LINE(x) ((x & DZ_LINE_MASK) >> 8)
40 #define UCHAR(x) ((unsigned char)(x & DZ_RBUF_MASK))
45 #define DZ_LINE_KEYBOARD 0x0001
46 #define DZ_LINE_MOUSE 0x0002
47 #define DZ_LINE_MODEM 0x0004
48 #define DZ_LINE_PRINTER 0x0008
50 #define DZ_MODEM_RTS 0x0800
51 #define DZ_MODEM_DTR 0x0400
52 #define DZ_PRINT_RTS 0x0200
53 #define DZ_PRINT_DTR 0x0100
54 #define DZ_LNENB 0x000f
59 #define DZ_MODEM_RI 0x0800
60 #define DZ_MODEM_CD 0x0400
61 #define DZ_MODEM_DSR 0x0200
62 #define DZ_MODEM_CTS 0x0100
63 #define DZ_PRINT_RI 0x0008
64 #define DZ_PRINT_CD 0x0004
65 #define DZ_PRINT_DSR 0x0002
66 #define DZ_PRINT_CTS 0x0001
71 #define DZ_BRK0 0x0100
72 #define DZ_BRK1 0x0200
73 #define DZ_BRK2 0x0400
74 #define DZ_BRK3 0x0800
79 #define DZ_KEYBOARD 0x0000
80 #define DZ_MOUSE 0x0001
81 #define DZ_MODEM 0x0002
82 #define DZ_PRINTER 0x0003
84 #define DZ_CSIZE 0x0018
90 #define DZ_CSTOPB 0x0020
92 #define DZ_PARENB 0x0040
93 #define DZ_PARODD 0x0080
95 #define DZ_CBAUD 0x0E00
98 #define DZ_B110 0x0200
99 #define DZ_B134 0x0300
100 #define DZ_B150 0x0400
101 #define DZ_B300 0x0500
102 #define DZ_B600 0x0600
103 #define DZ_B1200 0x0700
104 #define DZ_B1800 0x0800
105 #define DZ_B2000 0x0900
106 #define DZ_B2400 0x0A00
107 #define DZ_B3600 0x0B00
108 #define DZ_B4800 0x0C00
109 #define DZ_B7200 0x0D00
110 #define DZ_B9600 0x0E00
112 #define DZ_RXENAB 0x1000
126 #define DZ_XMIT_SIZE 4096
127 #define DZ_WAKEUP_CHARS DZ_XMIT_SIZE/4