74 lines
1.8 KiB
HTML
74 lines
1.8 KiB
HTML
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
|
|
|
|
<html>
|
|
|
|
<head>
|
|
<meta http-equiv="Content-Type"
|
|
content="text-html; charset=Windows-1252">
|
|
<title>INT 14,0 - Initialize Communications Port Parameters</title>
|
|
<meta name="FORMATTER" content="Microsoft FrontPage 2.0">
|
|
</head>
|
|
|
|
<body>
|
|
|
|
<h1><a name="kap_interrupt_0690"></a>INT 14,0 - Initialize
|
|
Communications Port Parameters</h1>
|
|
|
|
<p> AH = 00</p>
|
|
|
|
<p> AL = parms for initialization (see tables below)</p>
|
|
|
|
<p> DX = zero based serial port number (0-1) (0-3 for AT)</p>
|
|
|
|
<p> ¦7¦6¦5¦4¦3¦2¦1¦0¦ AL Parity (bits 4 & 3)</p>
|
|
|
|
<p> ¦ ¦ ¦ ¦ ¦ ¦ +------ word length bits 00 = none</p>
|
|
|
|
<p> ¦ ¦ ¦ ¦ ¦ +------- stop bits flag 01 = odd</p>
|
|
|
|
<p> ¦ ¦ ¦ +---------- parity bits 10 = none</p>
|
|
|
|
<p> +--------------- baud rate bits 11 = even</p>
|
|
|
|
<p> % Word length (bits 1 & 0) Stop bit count (bit 2)</p>
|
|
|
|
<p> 10 = 7 bits 0 = 1 stop bit</p>
|
|
|
|
<p> 11 = 8 bits 1 = 2 stop bits</p>
|
|
|
|
<p> % Baud rate (bits 7, 6 & 5)</p>
|
|
|
|
<p> 000 = 110 baud 100 = 1200 baud</p>
|
|
|
|
<p> 001 = 150 baud 101 = 2400 baud</p>
|
|
|
|
<p> 010 = 300 baud 110 = 4800 baud</p>
|
|
|
|
<p> 011 = 600 baud 111 = 9600 baud (4800 on PCjr)</p>
|
|
|
|
<p> on return:</p>
|
|
|
|
<p> AH = port status</p>
|
|
|
|
<p> AL = modem status</p>
|
|
|
|
<p> - for status bits see ~INT 14,STATUS~</p>
|
|
|
|
<hr>
|
|
|
|
<table border="0" width="100%" cols="3">
|
|
<tr>
|
|
<td width="33%">Zurück zum <a href="inte1at0.htm">Interrupt
|
|
Info</a>. </td>
|
|
<td align="center" width="33%"><a
|
|
href="mailto:Roger.Morgan@htl-steyr.ac.at">Roger Morgan</a>
|
|
/ 1998 </td>
|
|
<td align="right" width="33%"><font size="1">L.Änderung <!--webbot
|
|
bot="Timestamp" s-type="EDITED" s-format="%d.%m.%y"
|
|
startspan -->29.03.99<!--webbot bot="Timestamp" endspan
|
|
i-checksum="13964" --> </font></td>
|
|
</tr>
|
|
</table>
|
|
</body>
|
|
</html>
|