X-Git-Url: http://cloudbase.mooo.com/gitweb/z180-stamp-cpm3.git/blobdiff_plain/6dd88c258326e3bc0538c15b3b7fe3e04874ab99..1c7e396322093876bd5405aa6c2beed7c04608ec:/cbios/ioctl.inc diff --git a/cbios/ioctl.inc b/cbios/ioctl.inc index d3a7b7b..8d1f303 100644 --- a/cbios/ioctl.inc +++ b/cbios/ioctl.inc @@ -26,7 +26,7 @@ TIOCGSOFTCAR equ 11h ;Get the status of the CLOCAL flag in the c_cflag field TIOCSSOFTCAR equ 12h ;Set the CLOCAL flag when *argp is nonzero, and clear it otherwise. -; iflag bits (0) +; iflags bits (0) b2m IGNBRK, 0 ;Ignore BREAK condition on input. b2m BRKINT, 1 b2m INPCK, 2 ;Enable input parity checking. @@ -34,7 +34,7 @@ TIOCSSOFTCAR equ 12h ;Set the CLOCAL flag when *argp is nonzero, and clear it b2m PARMRK, 4 ;Prefix a character with a parity error or framing error with FFH 00H. b2m ISTRIP, 5 ;Strip off eighth bit. b2m PARODD, 6 ;If set, then parity for input and output is odd. -; fflag bits (1) +; fflags bits (1) b2m IXON, 0 ;Enable XON/XOFF flow control on output. b2m IXANY, 1 ;Typing any character will restart stopped output. b2m IXOFF, 2 ;Enable XON/XOFF flow control on input. @@ -44,7 +44,7 @@ TIOCSSOFTCAR equ 12h ;Set the CLOCAL flag when *argp is nonzero, and clear it b2m CREAD, 6 ;Enable receiver. -; control mode flags (2) +; cflags (2) M_CBAUD equ 01Fh ;Baud speed mask B0 equ 000h ;hang up B50 equ 011h @@ -70,8 +70,9 @@ M_CBAUD equ 01Fh ;Baud speed mask B192000 equ 016h B288000 equ 017h M_CSIZE equ 020h ;Character size mask. - CS7 equ 000h ; - CS8 equ 020h ; + M_CS7 equ 000h ; + M_CS8 equ 020h ; + CS8 equ 5 ; b2m CSTOPB, 6 ;Set two stop bits, rather than one. b2m PARENB, 7 ;Enable parity generation on output and parity checking for input.