Intermec m90 Reference Guide

Page of 126
DOS System Call
Chapter
4
48
M90 Series Portable Data Entry Unit Reference Manual
DOS Call (INT 21H)
This describes the supported DOS calls of the M90 System Kernel. All
DOS calls are compatible with MS-DOS version 2.0 invoked by DOS
INT 21H with functions defined in register AH.
00
Terminate Program
Entry Parameter: AH=0
Return Value:
None
01
Read Stdin (wait if no key) and Write to Stdout Excluding Shift Keys
Entry Parameter: AH=1
Return Value:
AL = 8-bit data ASCII code
02
Write Stdout
Entry Parameter: AH=2
DL = 8-bit data ASCII
Return Value:
None
03
Read Stdaux (wait if no input) Excluding ESC Command
Entry Parameter: AH=3
Return Value:
8-bit data ASCII code
04
Write Stdaux
Entry Parameter: AH=4
DL= 8-bit data ASCII code
Return Value:
None
06
Read/Write Stdin
Entry Parameter: AH=6
DL = 0x0FF Read
Other values Write
Return Value:
If DL = 0x0FF
AL = 8-bit data ASCII code
Clear ZERO flag
If char ready
Set ZERO flag
If not ready
If DL = other values
None
07
Read Stdin (wait if no key) Excluding Shift Keys
Entry Parameter: AH=07
Return Value:
AL=8-bit data ASCII code
08
Read Stdin (wait if no key) Excluding Shift Keys
Entry Parameter: AH=08
Return Value:
AL=8-bit data ASCII code
09
Write Character String to Stdout
Entry Parameter: AH=09
DS:DX=Points to string buffer w/ “$” end
Return Value:
None
0A
Key Buffer Input
Entry Parameter: DS:DX = Points to an input buffer
Return Value:
Buffer filled with CR as last character