The text of a manual · part 8 of 16
M90 Series Portable Data Entry Unit Reference Manual, pages 71 to 80
Pages 71 to 80 of 156
The original document is the PDF (352 KB). This is its text as extracted, unedited; tables and drawings read best in the PDF, and each page heading opens it at that page.
For the Intermec M90
Page 71
Section 4
DOS System Call "
"
"
"
"
"
"
"
"
"
"
"
"
"
"
"
"
"
"
"
"
"
"
"
"
"
"
"
DOS Call (INT 21H) This section 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 deĆ fined 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 M90 Series Portable Data Entry Unit Reference Manual
4-1
Page 72
DOS System Call
SECTION 4
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 0B Keyhit Check Entry Parameter: AH=0B Return Value: AL=0 If character is not ready AL=FF If character is ready 1A LCD Backlight ON/OFF Control Entry Parameter: AH=0x1A BH=0 AL=0 Set LCD backlight OFF AL=1 Set LCD backlight ON Return Value: None
4-2
M90 Series Portable Data Entry Unit Reference Manual
Page 73
SECTION 4
DOS System Call
1A Buzzer ON/OFF Control Entry Parameter: AH=0x1A BH=1 AL=0 Set Buzzer OFF AL=1 Set Buzzer ON Return Value: None 1A Key Enable/Disable Setting Entry Parameter: AH=0x1A BH=2 AL=0 All keys except ON, OFF, four function keys AL=1 Supervisor mode key AL=2 Cold start key AL=3 Warm start key AL=4 User menu key BL=0 Disable BL=1 Enable Return Value: None 1A Beeper Volume Entry Parameter: AH=0x1A BH=3 AL=0 Set low beeper volume AL=1 Set middle beeper volume AL=2 Set high beeper volume Return Value: None 1A Battery Check Entry Parameter: AH=0x1A BH=8 Return Value: AL=0 Main battery normal AL=1 Main battery low AH=0 Backup battery normal AH=1 Backup battery low
M90 Series Portable Data Entry Unit Reference Manual
4-3
Page 74
DOS System Call
SECTION 4
1A Keypad Language Setting Entry Parameter: AH=0x1A BH=9 AL=0 English AL=1 Swedish or Finnish AL=2 Danish AL=3 Spanish AL=4 French AL=5 German AL=6 Italian Return Value: None 1A Set GoodĆread LED (green light) Entry Parameter: AH=1AH BH=0AH AL=0 Set GoodĆread LED OFF AL=1 Set GoodĆread LED ON AL=2 Set GoodĆread LED controlled by system " NOTE:
If the Set Good-read LED function is called by AL=0 or AL=1, the system will not control Good-read LED ON/OFF when a bar code label is decoded successfully.
1A Buzzer Sound Entry Parameter: AH=0x1A BH=0x0B Return Value: None 1A
Enable/Disable Double Verification When Reading Bar Code Label Entry Parameter: AH=1AH BH=0CH AL=0 Disable double verification AL=1 Enable double verification Return Value: None
4-4
M90 Series Portable Data Entry Unit Reference Manual
Page 75
SECTION 4
DOS System Call
1A Check Laser Scanner Entry Parameter: AH=1AH BH=0DH Return Value: AL=0 Has no builtĆin laser scanner AL=1 Has builtĆin laser scanner 1B Get Scanner Port Status Entry Parameter: AH=1BH BH=5 Return Value: AL=0 Scanner port is disabled AL=1 Scanner port is enabled 1C Communication Parameter Setting Entry Parameter: AH=0x1C BH=1 AL= Bits 4-7: 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 2-3: 00 None parity 01 Odd parity 11 Even parity Bit 1: 0 1 stop bit 1 2 stop bits Bit 0: 0 7 data bits 1 8 data bits Return Value: None
M90 Series Portable Data Entry Unit Reference Manual
4-5
Page 76
DOS System Call
SECTION 4
1C Communication Control Flow Setting Entry Parameter: AH=0x1C BH=2 AL=0 Null AL=1 XON/XOFF control flow AL=2 CTS/RTS control flow Return Value: None 1D Set Terminal ID Entry Parameter: AH=0x1D BH=0 DS:DX=String of ASCIIZ Return Value: None 1D Set Online/Local Entry Parameter: AH=0x1D BH=1 AL=0 Online AL=1 Local Return Value: None 1D Set Echo ON/OFF Entry Parameter: AH=0x1D BH=2 AL=0 Set echo ON AL=1 Set echo OFF Return Value: None 1D AutoLF ON/OFF Entry Parameter: AH=0x1D BH=3 AL=0 Set autoĆlineĆfeed ON AL=1 Set autoĆlineĆfeed OFF Return Value: None
4-6
M90 Series Portable Data Entry Unit Reference Manual
Page 77
SECTION 4
DOS System Call
1D Mode Setup Entry Parameter: AH=0x1D BH=4 AL=0 Character AL=1 Block DX=0 Line DX=1 Page DX=2 Both Return Value: None 1D Line Terminal Character Entry Parameter: AH=0x1D BH=5 AL = ASCII code Return Value: None 1D Page Terminal Character Entry Parameter: AH=0x1D BH=6 AL = ASCII code Return Value: None 1E Key Map Definition Entry Parameter: AH=0x1E BH=1 DS:DX = Keyboard map with 128 bytes in ASCII code corresponding to unshifted, shift 1, shift 2, shift 3 and function scan codes (see Keypad Subsystem). Return Value: None 1E Get Key Map Definition Entry Parameter: AH=0x1E BH=0 DS:DX = Pointer to 160 bytes buffer Return Value: Buffer with keyboard map of 160 bytes in ASCII code corresponding to unshifted, shift 1, shift 2, shift 3, and function scan codes (see Keypad Subsystem). M90 Series Portable Data Entry Unit Reference Manual
4-7
Page 78
DOS System Call
SECTION 4
1E Set Key Map Definition Entry Parameter: AH=0x1E BH=1 DS:DX = Keyboard map with 160 bytes in ASCII code corresponding to unshifted, shift 1, shift 2, shift 3, and function scan codes (see Keypad Subsystem). Return Value: None 1F
Enable/Disable Decoding of All Bar Code Symbologies Entry Parameter: AH=0x1F AL=0 Disable all codes AL=1 Enable all codes BH=1 BL=0 Return Value: None
4-8
M90 Series Portable Data Entry Unit Reference Manual
Page 79
SECTION 4
DOS System Call
1F
Enable/Disable the Decoding of a Bar Code Symbology Entry Parameter: AH=0x1F BH=1 AL=0 Disable AL=1 Enable BL=1 Code 39 BL=2 I 2 of 5 BL=3 Codabar BL=4 EAN/UPC BL=5 Code 128 BL=6 EAN 128 BL=7 Code 93 CL (See next note) Return Value: None " NOTE:
If AL=1 and BL=1 (enable Code 39) when the Enable/Disable the Decoding . . . function is called, do CL=0 to disable Full ASCII decoding or CL=1 to enable Full ASCII decoding. If AL=1 and BL=4 (enable EAN/UPC) when the Enable/Disable the Decoding . . . is called, do CL=0 to disable 2- or 5- digit add-on decoding; CL=1 to make 2- or 5-digit decoding optional; or CL=2 to require 2- or 5- digit decoding.
M90 Series Portable Data Entry Unit Reference Manual
4-9
Page 80
DOS System Call
SECTION 4
1F Get the Decoding Status of Bar Code Symbology Entry Parameter: AH=0x1F BH=2 BL=1 Code 39 BL=2 I 2 of 5 BL=3 Codabar BL=4 EAN/UPC BL=5 Code 128 BL=6 EAN 128 BL=7 Code 93 Return Value: AL=0 Disable AL=1 Enable CL (See next note) " NOTE:
If BL=1 (get Code 39 status) when the Get the Decoding . . . function is called, CL=1 is returned if Full ASCII decoding is enabled and CL=0 is returned if it is disabled. If BL=4 (get EAN/UPC status) when the Get the Decoding . . . function is called, CL=0 (2- or 5-digit add-on) is off, CL=1 (2- or 5-digit add-on) is optional, and CL=2 (2 or 5 digits add-on) is required.
4-10
M90 Series Portable Data Entry Unit Reference Manual