|
|
1.1 root 1: /*
2: * PC_def.h
3: *
4: * serial port definitions used external to PC_com.c
5: *
6: * copyright 1992 by Microsoft Corporation
7: * portions copyright 1991 by Insignia Solutions Ltd., used by permission.
8: *
9: * revision history:
10: * 24-Dec-1992 John Morgan: written based on XT.h from Insignia Solutions
11: *
12: */
13:
14: #define PC_BIOS_VAR_START 0x400
15:
16: #define PC_COM1_PORT_START 0x3F8
17: #define PC_COM2_PORT_START 0x2F8
18: #define PC_COM3_PORT_START 0x3E8
19: #define PC_COM4_PORT_START 0x2E8
20:
21: #define PC_COM1_PORT_END 0x3FF
22: #define PC_COM2_PORT_END 0x2FF
23: #define PC_COM3_PORT_END 0x3EF
24: #define PC_COM4_PORT_END 0x2EF
25:
26: #define PC_COM1_INT 4
27: #define PC_COM2_INT 3
28: #define PC_COM3_INT 4
29: #define PC_COM4_INT 3
30:
31: #define PC_COM1_TIMEOUT (PC_BIOS_VAR_START + 0x7c)
32: #define PC_COM2_TIMEOUT (PC_BIOS_VAR_START + 0x7d)
33: #define PC_COM3_TIMEOUT (PC_BIOS_VAR_START + 0x7e)
34: #define PC_COM4_TIMEOUT (PC_BIOS_VAR_START + 0x7f)
35:
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.