SECTION 6
Conversions and Interfaces
PEN*KEY
R
6200/6300 Hand-Held Computer Programmer’s Reference Guide 6-63
INT 14h, Function AH = 04h: Extended Initialize
BIOS, 4000API, NGENMOD, NGENWAN
Programs Baud Rate and Byte Format Registers for selected port and returns
Line and Modem Status Register values. Enables UART power on intercept,
then passes call on to BIOS INT 14h entry point for initialization.
On Entry:
AH = 04h
DX = COM port # (NGENMOD or NGENWAN (2 or 3))
BH =Parity setting:
0 = None
1 = Odd
2 = Even
BL = Stop bits:
0 = One
1 = Two
CH =Word length:
2 = 7 bits
3 = 8 bits
CL = Baud rate:
0 = 110
1 = 150
2 = 300
3 = 600
4 = 1200
5 = 2400
6 = 4800
7 = 9600
8 = 19200
9 = 38400
10 = 57600
11 = 115200
12 = 125000
13 = 250000
14 = 500000
On Return:
AH = Line Status register (see values on page 6Ć61)
AL = Modem Status register (see values on page 6Ć61)
"
NOTE:
This is a nonstandard PC function. It may not be available in every PC BIOS. Use caution
where portability is a concern.
6. Conversions and
Interfaces