Intel 386 User Manual

Page 552

Advertising
background image

C-3

EXAMPLE CODE HEADER FILES

#define IIR0 0xF4FA

#define LCR0 0xF4FB

#define MCR0 0xF4FC

#define LSR0 0xF4FD

#define MSR0 0xF4FE

#define SCR0 0xF4FF

/* ASYNCHRONOUS SERIAL CHANNEL 0 -- SLOT 0 ADDRESSES */

#define RBR0DOS 0x03F8

#define THR0DOS 0x03F8

#define TBR0DOS 0x03F8

#define DLL0DOS 0x03F8

#define IER0DOS 0x03F9

#define DLH0DOS 0x03F9

#define IIR0DOS 0x03FA

#define LCR0DOS 0x03FB

#define MCR0DOS 0x03FC

#define LSR0DOS 0x03FD

#define MSR0DOS 0x03FE

#define SCR0DOS 0x03FF

/* ASYNCHRONOUS SERIAL CHANNEL 1 -- SLOT 15 ADDRESSES */

#define RBR1 0xF8F8

#define THR1 0xF8F8

#define TBR1 0XF8F8

#define DLL1 0xF8F8

#define IER1 0xF8F9

#define DLH1 0xF8F9

#define IIR1 0xF8FA

#define LCR1 0xF8FB

#define MCR1 0xF8FC

#define LSR1 0xF8FD

#define MSR1 0xF8FE

#define SCR1 0xF8FF

/* ASYNCHRONOUS SERIAL CHANNEL 1 -- SLOT 0 ADDRESSES */

#define RBR1DOS 0x02F8

#define THR1DOS 0x02F8

#define TBR1DOS 0x02F8

#define DLL1DOS 0x02F8

#define IER1DOS 0x02F9

#define DLH1DOS 0x02F9

#define IIR1DOS 0x02FA

#define LCR1DOS 0x02FB

#define MCR1DOS 0x02FC

#define LSR1DOS 0x02FD

#define MSR1DOS 0x02FE

#define SCR1DOS 0x02FF

/* SYNCHRONOUS SERIAL CHANNEL REGISTERS */

#define SSIOTBUF 0xF480

#define SSIORBUF 0xF482

#define SSIOBAUD 0xF484

#define SSIOCON1 0xF486

Advertising