]> cloudbase.mooo.com Git - z180-stamp-cpm3.git/blobdiff - cbios/termios.inc
Extended drive table for use with DRIVE.COM, a dynamic drive re-assignment utility.
[z180-stamp-cpm3.git] / cbios / termios.inc
index 12b1d3aea9e16e98c2d1c6ebfc471c8ce20f9ac3..d1d322c764a583abfda0d76a80922308ba48f8ca 100644 (file)
@@ -1,64 +1,64 @@
-;    tcflag_t c_iflag;           /* input mode flags */
-IGNBRK         equ     00000001B       ;Ignore BREAK condition on input.
-BRKINT         equ     00000010B
-IGNPAR         equ     00000100B       ;Ignore framing errors and parity errors.
-PARMRK         equ     00001000B       ;Prefix a character with a parity error or framing error with  FFH  00H.
-INPCK          equ     00010000B       ;Enable input parity checking.
-ISTRIP         equ     00100000B       ;Strip off eighth bit.
-IXON           equ     01000000B       ;Enable XON/XOFF flow control on output.
-IXANY          equ     10000000B       ;Typing any character will restart stopped output.
-IXOFF          equ     00000000B       ;Enable XON/XOFF flow control on input.
-
-;    tcflag_t c_cflag;           /* control mode flags */
-CBAUD          equ     0x1F            ;Baud speed mask
- B0            equ     0x00            ;hang up
- B50           equ     0x11
- B75           equ     0x12
- B110          equ     0x13
- B134          equ     0x14
- B150          equ     0x05
- B300          equ     0x06
- B600          equ     0x07
- B1200         equ     0x08
- B1800         equ     0x09
- B2400         equ     0x0A
- B3600         equ     0x0B
- B4800         equ     0x0C
- B7200         equ     0x0D
- B9600         equ     0x0E
- B19200                equ     0x0F
- B28800                equ     0x01
- B38400                equ     0x02
- B57600                equ     0x03
- B115200       equ     0x04
- B144000       equ     0x14
- B192000       equ     0x16
- B288000       equ     0x17
-CSIZE          equ     00000000B       ;Character size mask.
- CS7           equ     00000000B       ;
- CS8           equ     00000000B       ;
-CSTOPB         equ     00000000B       ;Set two stop bits, rather than one.
-CREAD          equ     00000000B       ;Enable receiver.
-PARENB         equ     00000000B       ;Enable parity generation on output and parity checking for input.
-PARODD         equ     00000000B       ;If set, then parity for input and output is odd.
-CLOCAL         equ     00000000B       ;Ignore modem control lines.
-CRTS_IFLOW     equ     00000000B       ;RTS flow control of input.
-CCTS_OFLOW     equ     00000000B       ;CTS flow control of output.
-
-;    tcflag_t c_lflag;           /* local mode flags */
-ECHO           equ     00000001B
-
-
-;      tcflow() and TCXONC use these */
-TCOOFF         equ     0
-TCOON          equ     1
-TCIOFF         equ     2
-TCION          equ     3
-;      tcflush() and TCFLSH use these */
-TCIFLUSH       equ     0
-TCOFLUSH       equ     1
-TCIOFLUSH      equ     2
-;      tcsetattr uses these */
-TCSANOW                equ     0
-TCSADRAIN      equ     1
-TCSAFLUSH      equ     2
+;    tcflag_t c_iflag;           /* input mode flags */\r
+IGNBRK         equ     00000001B       ;Ignore BREAK condition on input.\r
+BRKINT         equ     00000010B\r
+IGNPAR         equ     00000100B       ;Ignore framing errors and parity errors.\r
+PARMRK         equ     00001000B       ;Prefix a character with a parity error or framing error with  FFH  00H.\r
+INPCK          equ     00010000B       ;Enable input parity checking.\r
+ISTRIP         equ     00100000B       ;Strip off eighth bit.\r
+IXON           equ     01000000B       ;Enable XON/XOFF flow control on output.\r
+IXANY          equ     10000000B       ;Typing any character will restart stopped output.\r
+IXOFF          equ     00000000B       ;Enable XON/XOFF flow control on input.\r
+\r
+;    tcflag_t c_cflag;           /* control mode flags */\r
+CBAUD          equ     0x1F            ;Baud speed mask\r
+ B0            equ     0x00            ;hang up\r
+ B50           equ     0x11\r
+ B75           equ     0x12\r
+ B110          equ     0x13\r
+ B134          equ     0x14\r
+ B150          equ     0x05\r
+ B300          equ     0x06\r
+ B600          equ     0x07\r
+ B1200         equ     0x08\r
+ B1800         equ     0x09\r
+ B2400         equ     0x0A\r
+ B3600         equ     0x0B\r
+ B4800         equ     0x0C\r
+ B7200         equ     0x0D\r
+ B9600         equ     0x0E\r
+ B19200                equ     0x0F\r
+ B28800                equ     0x01\r
+ B38400                equ     0x02\r
+ B57600                equ     0x03\r
+ B115200       equ     0x04\r
+ B144000       equ     0x14\r
+ B192000       equ     0x16\r
+ B288000       equ     0x17\r
+CSIZE          equ     00000000B       ;Character size mask.\r
+ CS7           equ     00000000B       ;\r
+ CS8           equ     00000000B       ;\r
+CSTOPB         equ     00000000B       ;Set two stop bits, rather than one.\r
+CREAD          equ     00000000B       ;Enable receiver.\r
+PARENB         equ     00000000B       ;Enable parity generation on output and parity checking for input.\r
+PARODD         equ     00000000B       ;If set, then parity for input and output is odd.\r
+CLOCAL         equ     00000000B       ;Ignore modem control lines.\r
+CRTS_IFLOW     equ     00000000B       ;RTS flow control of input.\r
+CCTS_OFLOW     equ     00000000B       ;CTS flow control of output.\r
+\r
+;    tcflag_t c_lflag;           /* local mode flags */\r
+ECHO           equ     00000001B\r
+\r
+\r
+;      tcflow() and TCXONC use these */\r
+TCOOFF         equ     0\r
+TCOON          equ     1\r
+TCIOFF         equ     2\r
+TCION          equ     3\r
+;      tcflush() and TCFLSH use these */\r
+TCIFLUSH       equ     0\r
+TCOFLUSH       equ     1\r
+TCIOFLUSH      equ     2\r
+;      tcsetattr uses these */\r
+TCSANOW                equ     0\r
+TCSADRAIN      equ     1\r
+TCSAFLUSH      equ     2\r