Intermec m90 Reference Guide

Page of 126
DOS System Call
Chapter 4
75
M90 Series Portable Data Entry Unit Reference Manual
(continued)
3
Wait Interrupt — Input Data with Timeout
Entry Parameter: AH=3
CX=Timeout 10-30,000 ms
Return Value:
AL=0
Keypad
AL=1
Scanner
AL=2
RS-232 receiver
AL=3
Other or user-defined interrupts
AL=4
Power-on
AL=5
Timeout
Note: This function does not check system input data buffers. It waits for interrupts
and new input data. M90 shuts off according to system settings. The function returns
after the specified timeout period if no data event has occurred within the timeout.
4
Wait Interrupt — Input Data with Buffer Check and Timeout
Entry Parameter: AH=4
CX=Timeout 10-30,000 ms
Return Value:
AL=(bit sets)
Bit 0:
Keypad
Bit 1:
Scanner
Bit 2:
RS-232 receiver
Bit 3:
Other or user-defined interrupts
Bit 4:
Power-on
Bit 5:
Timeout
Note: This function does check system input data buffers. If there is input data in the
system buffers, the function returns directly. Otherwise, it waits for interrupts and new
input data. M90 shuts off according to system settings. The function returns after the
specified timeout period if no data event has occurred within the timeout.
Beeper Frequency and Time Control: INT 31H
Entry Parameter: AX=Frequency
BX=Time duration
Return Value:
None
AX
Frequency (Hz)
BX
Time Duration
0
200
0
10 ms
1
400
1
50 ms
2
600
2
100 ms
3
800
3
200 ms
4
1K
4
500 ms
5
2K
5
800 ms
6
2.5K
6
1 second
7
3K
7
1.5 seconds
8
5K
8
2 seconds
Implemented BIOS Functions (INT 31h)
Function
Description
Comment
(Not applicable) Beeper fruequency and Time Control
Added function