The text of a manual · part 11 of 16
M90 Series Portable Data Entry Unit Reference Manual, pages 101 to 110
Pages 101 to 110 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 101
SECTION 4
DOS System Call
Table 4-1 (Continued) Implemented DOS Functions (INT 21h) Function Description
Comment
49h
Free Allocated Memory
4Ah
Modify Allocated Memory
4Bh
Execute or Call Program
4Ch
Terminate Process
50h
Get Bar Code Data
M90 special
51h
Bar Code Port ON or OFF
M90 special
56h
Rename File
5Bh
Create New File
" NOTE:
All of these INT 21h functions are compared to INT 21h functions in DOS 3. Table 4-2 Unsupported DOS Functions (INT 21h)
Function Description 0Ch
Flush Buffer, Read Keyboard
0Dh
Disk Reset
0Eh
Select Disk
0Fh
Open File (FCB)
10h
Close File (FCB)
11h
Find First File (FCB)
12h
Find Next File (FCB)
13h
Delete File (FCB)
14h
Sequential Read (FCB)
15h
Sequential Write (FCB)
16h
Create File (FCB) M90 Series Portable Data Entry Unit Reference Manual
4-31
Page 102
DOS System Call
SECTION 4
Table 4-2 (Continued) Unsupported DOS Functions (INT 21h) Function Description 17h
Rename File (FCB)
19h
Get Current Disk
1Ah
Set DTA Address
1Bh
Get Default Drive Data
1Ch
Get Drive Data
21h
Random Read (FCB)
22h
Random Write (FCB)
23h
Get File Size (FCB)
24h
Set Relative Record (FCB)
26h
Create New PSP
27h
Random Block Read (FCB)
28h
Random Block Write (FCB)
29h
Parse Filename
2Fh
Get DTA Address
31h
TSR
33h
Get or Set Ctrl-C Check
34h
Get Addr of InDOS Flag
38h
Get or Set Country
39h
Create Directory
3Ah
Remote Directory
3Bh
Change Current Directory
45h
Duplicate File Handle
46h
Force Duplicate File Handle
47h
Get Current Directory
4Dh
Get Return Code
4-32
M90 Series Portable Data Entry Unit Reference Manual
Page 103
SECTION 4
DOS System Call
Table 4-2 (Continued) Unsupported DOS Functions (INT 21h) Function Description 4Eh
Find First File
4Fh
Find Next File
54h
Get Verify File
57h
Get or Set Date and Time of File
BIOS Call Display Font Functions: INT 09H 0 Select Large Font Entry Parameter: AH=0 Return Value:
None
1 Select Small Font Entry Parameter: AH=1 Return Value:
None
2 Set Font Type Entry Parameter: AH=2 AL=0 AL=1 Return Value: None 3 Get Font Type Entry Parameter: AH=3 Return Value: AL=0 AL=1
Select 8x16Ćdot character font (4Ćline x 12Ćcolumn display)
Select 6x8Ćdot character font (8Ćline x 16Ćcolumn display)
Set to large font Set to small font
Large font Small font
M90 Series Portable Data Entry Unit Reference Manual
4-33
Page 104
DOS System Call
SECTION 4
4 Set User-Defined Font for All Characters Entry Parameter: AH=4 AL=0 Large font AL=1 Small font DS:DX=Pointer to buffer with font data (for large font: buffer size=16x256 =4096 bytes (for small font: buffer size= 6x256 =1536 bytes) Return Value: None 5 Get Font Data for All Characters Entry Parameter: AH=5 AL=0 Large font AL=1 Small font DS:DX=Pointer to the buffer (for large font: buffer size=16x256 =4096 bytes (for small font: buffer size= 6x256 =1536 bytes) Return Value: Font data in the buffer 6 Set User-Defined Font for One Character Entry Parameter: AH=6 AL=0 Large font AL=1 Small font CL=0ć255 character DS:DX=Pointer to buffer with font data (for large font: buffer size=16 bytes for small font: buffer size=6 bytes) Return Value: None
4-34
M90 Series Portable Data Entry Unit Reference Manual
Page 105
SECTION 4
DOS System Call
7 Get Font Data for One Character Entry Parameter: AH=7 AL=0 Large font AL=1 Small font CL =0ć255 characters DS:DX=Pointer to the buffer (for large font: buffer size=16 bytes for small font: buffer size=6 bytes) Return Value: Font data in the buffer Table 4-3 Implemented BIOS Functions (INT 09h) Function Description
Comment
00h
Select Large Font
M90 special
01h
Select Small Font
M90 special
02h
Set Font Type
M90 special
03h
Get Font Type
M90 special
04h
Set User-Defined Font for All Characters
M90 special
05h
Get Font Data for All Characters
M90 special
06h
Set User-Defined Font for One Character
M90 special
07h
Get Font Data for One Character
M90 special
M90 Series Portable Data Entry Unit Reference Manual
4-35
Page 106
DOS System Call
SECTION 4
Kermit Function: INT 0x0F 0 Kermit Application Invoke Entry Parameter: AH=0 Return Value: None " NOTE:
To exit Kermit, send command “BYE” to M90 or press the [4] key. Table 4-4 Implemented Kermit Functions (INT 0x0f)
Function Description
Comment
00h
M90 special
Kermit Application Invoke
LCD Function: INT 10H 0 Clear LCD Screen Entry Parameter: AH=0 Return Value: None 1 Enable/Disable Scroll Entry Parameter: AH=1 AL=0 Disable AL=1 Enable Return Value: None 2 Set Cursor Position Entry Parameter: AH=2 DH=0-3 (Row) DL=0-19 (Column) Return Value: None 3 Get Cursor Position Entry Parameter: AH=3 Return Value: DH=0-3 (Row) DL=0-19 (Column)
4-36
M90 Series Portable Data Entry Unit Reference Manual
Page 107
SECTION 4
DOS System Call
4 Display 5x8 Bit Map Pattern Font Entry Parameter: AH=4 DH=0-3 (Row) DL=0-19 (Column) DS:BX=Pattern data (5 bytes) Return Value: None 5 Enable/Disable Cursor Entry Parameter: AH=5 AL=0 Disable AL=1 Enable Return Value: None 6 Set Cursor Shape Entry Parameter: AH=6 AL=0 Block AL=1 Underline Return Value: None 7 Set Display Size Entry Parameter: AH=7 AL=0 AL=1 Return Value: None 8 Get Display Size Entry Parameter: AH=8 Return Value: AL=0 AL=1
4x20 character display 6x20 character display
4x20 character display 6x20 character display
9 Enable/Disable PowerĆon Logo Display Entry Parameter: AH=6 AL=0 Disable AL=1 Enable Return Value: None A Display Character Entry Parameter: AH=0AH AL=0ć255 character to display Return Value: None M90 Series Portable Data Entry Unit Reference Manual
4-37
Page 108
DOS System Call
SECTION 4
4F
Display 16x16 Bitmap at Current Cursor Position Entry Parameter: AH=4FH DS:BX=Pointer to bitmap (32Ćbyte pattern data) Return Value: None " NOTE:
4-38
Function 4F is available only in large font, the bit map is twice as wide as two normal characters. You need to consider this when you mix bit maps and characters and when you set cursor positions.
M90 Series Portable Data Entry Unit Reference Manual
Page 109
SECTION 4
DOS System Call
Figure 4-1 Sample Bit Map EXAMPLE:
C string example of above bit map:
Unsigned char logo[32]= {0x00,0x00,0x00,0x00,0x80,0xf8,0xfc,0xfc,0xfe,0x0f,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0xe0,0x7f,0x7f,0x3f,0x1f,0x03,0x00, 0x00,0x00,0x00,0x00,0x00,0x00};
M90 Series Portable Data Entry Unit Reference Manual
4-39
Page 110
DOS System Call
" NOTE:
SECTION 4
User Menu/Set/Cursor also sets the cursor shape. Table 4-5 Implemented BIOS Functions (INT 10h)
Function Description
Comment
00h
Clear LCD Screen
M90 special
01h
Enable or Disable Scroll
M90 special
02h
Set Cursor Position
03h
Get Cursor Position
04h
Display 8x5 bit font
M90 special
05h
Enable or Disable Cursor
M90 special
06h
Set Cursor Shape
M90 special
07h
Set Display Size
M90 special
08h
Get Display Size
M90 special
09h
Enable/Disable PowerĆon Logo
M90 special
0ah
Display Character
4fh
Display 16x16 bit bitmap at Current Cursor
M90 special
Power Management Function: INT 22H 0 Power Off Entry Parameter: AH=0 Return Value: None 1 Wait Interrupt Ċ Input Data Entry Parameter: AH=1 Return Value: AL=0 Keypad AL=1 Scanner AL=2 RS-232 receiver AL=3 Other or userĆdefined interrupts AL=4 PowerĆon 4-40
M90 Series Portable Data Entry Unit Reference Manual