Intermec m90 Reference Guide

Page of 126
DOS System Call
Chapter
4
76
M90 Series Portable Data Entry Unit Reference Manual
RS-232 Function: INT 33H
0
Set Communication Parameters
Entry Parameter: AH=0
AL Bits 7–4: 0001xxxx
Baud 150
0010xxxx
Baud 300
0011xxxx
Baud 600
0100xxxx
Baud 1200
0101xxxx
Baud 2400
0110xxxx
Baud 4800
0111xxxx
Baud 9600
1000xxxx
Baud 19200
1001xxxx
Baud 38400
1010xxxx
Baud 57600
Bits 3–2: xxxx00xx
No parity
xxxx01xx
Odd parity
xxxx11xx
Even parity
Bit 1:
xxxxxx0x
One stop bit
xxxxxx1x
Two stop bits
Bit 0:
xxxxxxx0
7 data bits
xxxxxxx1
8 data bits
Return Value:
None
1
Input Character
Entry Parameter: AH=1
Return Value:
If no character received:
AH=1
AL=Unpredictable
If a character received:
AH=0
AL=Character input
2
Output Character
Entry Parameter: AH=2
AL=Character output
Return Value:
None
3
Enable RS-232 Port
Entry Parameter: AH=3
Return Value:
None
4
Disable RS-232 Port
Entry Parameter: AH=4
Return Value:
None
5
Set RTS/DTR
Entry Parameter: AH=5
AL= Bit 0:
0 Set RTS low level
1 Set RTS high level
Bit 1:
0 Set DTR low level
1 Set DTR high level
Return Value:
None