Category : C Source Code
Archive   : XINU.ZIP
Filename : SLU.H
/* standart serial line unit device constants */
# define SLUENABLE 0100 /* device interrupt enable bit */
# define SLUREADY 0200 /* device ready bit */
# define SLUDISABLE 0000 /* device interrupt disable mask */
# define SLUTBREAK 0001 /* transmitter break-mode bit */
# define SLUERMASK 0170000 /* mask for error flags on input */
# define SLUCHMASK 0377 /* mask for input character */
/* SLU device register layout and correspondence to vendor's names */
struct csr {
int crstat; /* receiver control and status (RCSR) */
int crbuf; /* receiver data buffer (RBUF) */
int ctstat; /* transmitter control and status (XCSR) */
int ctbuf; /* transmitter data buffer (XBUF) */
};
Very nice! Thank you for this wonderful archive. I wonder why I found it only now. Long live the BBS file archives!
This is so awesome! 😀 I’d be cool if you could download an entire archive of this at once, though.
But one thing that puzzles me is the “mtswslnkmcjklsdlsbdmMICROSOFT” string. There is an article about it here. It is definitely worth a read: http://www.os2museum.com/wp/mtswslnk/