home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
DP Tool Club 15
/
CD_ASCQ_15_070894.iso
/
vrac
/
intlist1.zip
/
SERIAL2.TXT
< prev
next >
Wrap
Text File
|
1994-01-12
|
1KB
|
61 lines
--------S-1404-------------------------------
INT 14 - SERIAL - EXTENDED INITIALIZE (CONVERTIBLE,PS)
AH = 04h
AL = break status
00h if break
01h if no break
BH = parity (see below)
BL = number of stop bits
00h one stop bit
01h two stop bits (1.5 if 5 bit word length)
CH = word length (see below)
CL = bps rate (see below)
DX = port number
Return: AX = port status code (see AH=00h)
SeeAlso: AH=00h,AH=1Eh,AX=8000h"ARTICOM"
Values for parity:
00h no parity
01h odd parity
02h even parity
03h stick parity odd
04h stick parity even
Values for word length:
00h 5 bits
01h 6 bits
02h 7 bits
03h 8 bits
Values for bps rate:
00h 110
01h 150
02h 300
03h 600
04h 1200
05h 2400
06h 4800
07h 9600
08h 19200
--------S-1405-------------------------------
INT 14 - SERIAL - EXTENDED COMMUNICATION PORT CONTROL (CONVERTIBLE,PS)
AH = 05h
AL = function
00h read modem control register
Return: BL = modem control register (see below)
AH = status
01h write modem control register
BL = modem control register (see below)
Return: AX = status
DX = port number
Note: also supported by ArtiCom
SeeAlso: AH=00h,AH=1Fh,AX=8000h"ARTICOM",AH=FBh
Bitfields for modem control register:
bit 0 data terminal ready
bit 1 request to send
bit 2 OUT1
bit 3 OUT2
bit 4 LOOP
bits 5-7 reserved