The text of a manual · part 4 of 7
6220 Hand-Held Computer Technical Reference, pages 31 to 40
Pages 31 to 40 of 70
The original document is the PDF (358 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 6220
Page 31
SECTION 2
DOS Device Drivers
Interrupts Supported by FONTMAP.EXE The 4000 Series interrupts supported by FONTMAP.EXE are listed in Table 2-2. Table 2-2 FONTMAP Interrupts Supported INT # FONTMAP Interrupts 10h
Register Values
Display Services Set Display Mode
AH=00h
Set Cursor Type
AH=01h
Set Cursor Position
AH=02h
Read Cursor Position and Type
AH=03h
Set Active Display Page
AH=05h
Scroll Active Display Page Up
AH=06h
Scroll Active Display Page Down
AH=07h
Read Character and Attribute at Cursor Position
AH=08h
Write Character and Attribute at Cursor Position
AH=09h
Write Character (only) at Cursor Position
AH=0Ah
Teletype Character Write
AH=0Eh
Return Current Video State
AH=0Fh
Set Physical Display Size
AH=12h BL=FAh
Return Pointer to Current Display Parameters Packet and Font Information
AH=12h BL=FBh
Return Invert Mode
AX=12DDh BL=FCh
Enable Invert Mode
AX=12DEh BL=FCh
Disable Invert Mode
AX=12DFh BL=FCh
Set Chase Mode
AX=12E0h BL=FCh
Set Fixed Mode
AX=12E1h BL=FCh
Return Physical Display Size
AH=12h BL=FDh
Read or Write Contrast
AH=12h BL=FEh
Activate, Toggle, or Turn Backlight Off
AH=12h BL=FFh
Load User Font
AX=1400h
Load System Default Font
AX=1401h
Unsupported 4000 Series Video Interrupts The following functions remain unimplemented within FONTMAP.EXE: " " " "
Function AX = 12E2h BL = FCh: Select Setparms Mode Function AX = 12E3h BL = FCh: Set Graphics Mode Function AH = 12h BL = FDh: Return Physical Display Size Function AH = FFh: Refresh the Screen
6220 Hand-Held Computer Technical Reference
2-17
Page 32
DOS Device Drivers
SECTION 2
Tethered Scanner H2THRSCN is the tethered scanner driver. It collects and passes scanned data to an application. It also manages power for the scan operations and has the following features: " " " " " "
The data is transferred through the serial connector. A key cannot be reprogrammed as a trigger. Nothing is displayed on the screen. If a fully decoded RS-232 scanner is needed, it provides that capability. It handles SE1223 hardware. Baud rates up to 19200 are available.
Installation and Configuration The tethered scanner is generally installed from AUTOEXEC.BAT by the H2THRSCN statement. Make sure the NORDOSPM.EXE and H2THRSCN.EXE files are located in the root directory on the computer. Load the NORDOSPM.EXE driver first, then H2THRSCN.EXE. Both drivers are located in the \Drivers on the flash. The following entry is required in the CONFIG.SYS file for DOS scanning: device=nordospm.exe
Usage After a resume, press the scanner button again to activate the scanner. EXAMPLE:
This sample scanner testware enables the scanner, displays the DOS keystrokes until the return or newline character is encountered, then exits. #include <dos.h> #include <stdio.h> #include <conio.h> void main (void) { int c; _AH = 0x80;
// // Collect only one scan, 4500 compatible // // Thread thru scan tsr geninterrupt(0x7a); // while ((c != ‘\n’) && (c != ‘\r’)) { while (kbhit()){ c = getch(); putchar(c); if (c == ‘\n’ || c == ‘\r’) break; } } }
2-18
6220 Hand-Held Computer Technical Reference
Page 33
SECTION 2
DOS Device Drivers
Command Line Switches When using the get help switch (H2ThrScn/?), the following is displayed: Norand Tethered Scanner Driver vx.xx (C) 1995–1999 Intermec Technologies Corporation All rights reserved.
The tethered scanner uses command line switches to drive the desired functions. The syntax is as follows: H2THRSCN [<switches>] where <switches> include combinations of the following: ćH
Displays this information
ćA[n] Enables the aiming beam for n 1/2 secondĆintervals. If the wand or handĆheld scanner supports the aiming beam, use this switch to enable it. The message at load time is beam set to Xms." where x is n (interval) times 500 ms. ćE " NOTE:
Causes the tethered bar code reader to always be enabled for used. The message is permanently enabled."
–SCANBIOS requires the program to use the API calls to enable and disable the scanner. The message at load time will be “SCANBIOS API enabled.”
ćSCANBIOS Controlled using the SCANBIOS API
EXAMPLE:
ćU
The scanner driver may be unloaded if the TSR finds it can safely do so, thus freeing memory for other uses. If the unload is successful, a message is displayed.
ćR
Appends a carriage return (CR) to the end of the data string. Some devices supply this in the form of a post amble string. When using this switch, the driver message is appending enabled." If the hardware is in working order, the initialized!" message appears; if not, then HW initialization failed!" appears.
The following is an example command line for the tethered scanner: H2THRSCN [–E] [–R]
If the driver is successfully loaded, then driver reinitialized" appears and the command line options are updated. This way, driver operations can be changed from always enabled to using the SCANBIOS APIs. If the driver is reloaded and is a different version, the command line switches are not updated. The driver is an incorrect version" will appear. Tethered bar code reader power is supplied through the ring indicate (RI) signal when the device is enabled. Scanner UART base of 0x3E8 and IRQ 4.
6220 Hand-Held Computer Technical Reference
2-19
Page 34
DOS Device Drivers
SECTION 2
Upper Memory Provider H2UMP.SYS is an upper memory provider. Since it is based on the Elan H2 processor, it supports the minimal set of XMS function calls required to provide upper memory to MS-DOS when you have a statement in the CONFIG.SYS file. It does not support the XMS calls that deal with either the deallocation or reallocation of upper memory blocks. H2UMP supplies up to 128 KB of upper memory block elements, in the range of C000ćDFFF. Option ROM blocks are automatically scanned for and reserved (that is, untouched). It can be used with HIMEM.SYS, or as a standĆalone proĆ gram. If used with HIMEM, H2UMP must be loaded after HIMEM. H2UMP is similar to EMM386.EXE for loading devices into HMA. Unlike EMM386 with the NOEMS switch, H2UMP supplies DOS with memory from the first megabyte of the system memory. This is memory that would otherwise be available for use as shadow RAM. H2UMP is much smaller and simpler than EMM386. Since EMM386 is a virtual mode system extension, it also slows down processing somewhat as it handles special exception interrupts that are required when providing virtual memory to DOS. H2UMP uses less system memory, therefore making more memory availĆ able to the system, but does not use expanded memory. A single command line switch is provided to force H2UMP to reserve memory block elements, other than those with option ROM signatures in them. The synĆ tax for this switch is: /X=aaaa[,aaaa] where the addresses specified are hexadecimal starting addresses for each block of memory to be reserved. The H2UMP provides two 64 KB blocks of upper memory; one at C000, and the other at D000. EXAMPLE 1:
DEVICE=H2UMP.SYS DOS=UMB DEVICEHIGH=...
EXAMPLE 2:
DEVICE=HIMEM.SYS DOS=HIGH DEVICE=H2UMP.SYS DOS=UMB DEVICEHIGH=...
EXAMPLE 3:
DEVICE=HIMEM.SYS DOS=HIGH DEVICE=H2UMP.SYS /X=D000 DOS=UMB DEVICEHIGH=.. . Example 3 reserves the D000 address range for PC Card support.
2-20
6220 Hand-Held Computer Technical Reference
Page 35
Section 3
Converting Applications "
"
"
"
"
"
"
"
"
"
"
"
"
"
"
"
"
"
"
"
This section contains information applicable for converting 4000 Series ApplicaĆ tions for use on a 6000 Series Computer.
Converting to the 6000 Series Computers When applications are converted from a 4000 Series System to a 6000 Series Computer, consider the following information:
Files No Longer Supported The following 4000 Series Files are not used in the 6000 Series Configurations: File
Comments
10X16.EXT
Use FONTMAP.EXE (see page 3-3)
BOOT.SYS BOOTCFG.SYS BOOTPH0.SYS CATFILES.EXE
Use IPLFMT.EXE (see page 3-3)
CATMAKE.BAT
Use IPLFMT.EXE
CATPREAM.BIN DEXIO.BIN
Use PC-DEXIO.BIN
FONTBUF.COM FPNOP.COM IO.SYS
ROM DOS 5 is loaded from flash
MAXI-DOS.SYS
ROM DOS 5 is loaded from flash
MEMIO.EXT
XLMEMIO is not supported
MINI-DOS.SYS
ROM DOS 5 is loaded from flash
MINI-IO.SYS
ROM DOS 5 is loaded from flash
MINI-NET.COM
Use MININET.EXE (see page 3-3)
NOR-ANSI.SYS NORANDBB.EXE NP4805.EXT
The 4805 Endcap Printer is specific to 4000 Series systems.
NPRTBIOS.EXT
Use PC4800.SYS (see page 3-2)
NT4800.SYS
Use PC4800.SYS (see page 3-2) 6220 Hand-Held Computer Technical Reference
3-1
Page 36
Converting Applications
SECTION 3
File
Comments
PRTBIOS.EXT
RCT printers (NP207, NP111) are not supported
RAMCARD.SYS RAMCFMT.EXE RAMDISK.EXT
A RAM drive is created as drive C: by NorandR Utilities or the RAMDFMT utility. The RAM drive on 4000 Series Computer is Drive B.
RPLHOST.EXE
Use INTERLNK.EXE
SCAN4000.EXE SETDISP.EXE
Use FONTMAP.EXE (see page 3-3)
SOFTBIOS.EXT
BIOS is loaded from flash.
TNETBIOS.EXE XLMEMIO.EXE
XLMEMIO is not supported.
Changed Files The following 4000 Series Files are used differently on a 6000 Series Computer. You can make the changes as specified. CONFIG.SYS
The extended CONFIG.SYS commands in the 4000 Series version of IO.SYS are no longer supported: Command Comments EXT=
BIOS is loaded from flash. Remove these lines from CONFIG.SYS.
TSR=
Use INSTALL= or execute Terminate and Stay Residents (TSR) from AUTOEXEC.BAT.
VERIFY
The VERIFY ON command, a feature of COMMAND.COM, can be used. However, this command is not identical with its use on 4000 Series platĆ forms, where MINI-DOS/MAXI-DOS wrote through the disk buffers, as well as to directory information to the media whenever it changed. These actions do not occur in DOS. The application is responsible for performing file commits.
See the CONFIG.SYS file in your DOS toolkit, to see how CONFIG.SYS is used for applications with the 6000 Series Computer. CPLNI.COM
Do not use the ćd command line switch. Do not delete driver files from the RAM drive after they are loaded. All files needed to restart the application after a reset must remain on the RAM drive.
PC4800.SYS
Use Version 1.80 or later for a 6000 Series Platform. This driver is used for Norand Portable Communications Protocol (NPCP) printer support for both PL/N and non-PL/N applications. 4000API.EXE must be loaded when PC4800.SYS is used.
PC-DEXIO.BIN Use Version 1.26 or later for a 6000 Series Configuration. 4000API.EXE must be loaded when PC-DEXIO.BIN is used.
3-2
6220 Hand-Held Computer Technical Reference
Page 37
SECTION 3
Converting Applications
New 6000 Series Files The following files are new 6000 Series Files that were not used on the 4000 SeĆ ries Platform: AUTOEXEC.BAT This is a standard DOS configuration file. See the AUTOEXEC.BAT file in the DOS toolkit to see examples of how this file is used. 4000API.EXE
This program provides functionality for certain applications written for the 4000 Series to run unmodified on the 6000 Series Platform. See page 3-4 for additional information.
FONTMAP.EXE Use FONTMAP.EXE to change the screen font. This program also provides functionality expected by applications written for the 4000 Series so that these applications can run unmodified on the 6000 Series Computer. See page 2-16 for additional information. *.FNT
Font files for use with FONTMAP.EXE.
IPLFMT.EXE
This program concatenates a list of files into a single file suitable for download in a Norand communications session. For additional information, see page 2-3.
MININET.EXE This program replaces the 4000 Series MINI-NET.COM on the 6000 Series Platforms. It provides the NET BIOS interface to the NPCP LAN. To use NPCP, load MININET.EXE, a TSR that supplies a NetBIOS compatible interface to access the NPCP LAN. For additional information, see page 2-8.
Unchanged Files The following 6000 Series files have not changed from the 4000 Series. " " " " " " " "
CLKIO.BIN " MV.EXE DELETE.COM " NORSESS.COM HOSTIO.BIN " PRN2COM.COM KBDIO.BIN " PRN2COM.SYS LZEXE.DOC " PRTIO.BIN LZEXE.EXE " TTYIO.BIN MEMIO.BIN " XYXFER.COM INT15.EXE (For a PC only, do not run on PEN*KEY 6000 Series platform)
6220 Hand-Held Computer Technical Reference
3-3
Page 38
Converting Applications
SECTION 3
4000 Series Programming Interfaces 4000API.EXE is a TSR that supplies Application Programming Interfaces (APIs) that are compatible with those previously supplied on 4000 Series Terminals. With the capability to port 4000 Series Applications to the 6000 Series EnvironĆ ment, the amount of work required to port an application is greatly reduced. Note that 4000API functions are not industry standards. The use of certain 4000API functions limits the ability of the application to function on standard platforms. If you desire portability and standardization of applications, consider modifying old programs and developing new programs to conform to industry standards. The 6000 Series platforms are PCĆcompatible.
Installation and Configuration To load 4000API.EXE for use with a C++ application (disabling the interrupt override) use the following command: 4000API.EXE /C3 /PC /10 /14 /16
To load 4000API.EXE for use with a PL/N application, use the following comĆ mands: "
If an internal modem is used: 4000API.EXE /C3 /16 /10 /PC
"
If an internal modem is not used: 4000API.EXE /16 /10 /PC
" NOTE:
Either the slash (/) or the dash (–) can be used for command line switches.
Command Line Switches Typically, you should supply the following switches, unless your application is a PL/N application originally designed to run on a 4000 Series Computer. /C3
Do not redirect COM3 to COM1. Do not ignore modem control signals. Existing PL/N applications frequently use COM3 to communicate with COM1, only without using modem control signals.
/PC
Change the value returned by INT 15h AX=01FBh. The default value is BIOS V3.00". When this switch is supplied, the value returned is BIOS V3.00".
/10
Do not trap INT 10h (video BIOS interrupt). There are a few 4000Ćcompatible video BIOS extensions enabled by default and disabled with this switch.
/14
Do not trap INT 14h (COM port BIOS interrupt). By default, 4000API supplies 4000Ćcompatible BIOS extensions to communicating with COM ports. Supplying this switch, the 4000API services are replaced by the COM port BIOS (from ROM BIOS).
/16
Do not trap INT 16h (keyboard BIOS interrupt). By default, 4000API emulates the 4000 keyboard, complete with the ability to remap keys. Since a 6000 Series Computer has INT 16h support, you can apply this switch, resulting in PCĆcompatible key codes returned instead of 4000Ćstyle key codes.
3-4
6220 Hand-Held Computer Technical Reference
Page 39
Section 4
System Information "
"
"
"
"
"
"
"
"
"
"
"
"
"
"
"
"
"
"
"
This section contains system information for the PEN*KEYR 6220 Computer. If the binary image files are downloaded from the Intermec Customer Support Bulletin Board System (BBS), go to page 4-2 to create four flash update disks from the image files. If you received your flash update on four disks, then refer to the appropriate paragraph for one of the following methods for reflashing. " Updating flash from an application supporting softĆdownloading (page 4-2) " Updating flash using INTERLNK (page 4-3) " Updating flash using an ATA card (page 4-4) " Updating flash using an Initial Flash Load (IFL) SRAM card (page 4-5)
Binary Image Files Posted to Bulletin Board 6220FL2A version 1.04 files are renamed before being posted to the BBS. If you are downloading these files, Table 4-1 has the files as they appear in 6620FL2A, their BBS equivalent, and descriptions. See 6220FL2A.TXT for instructions. Table 4-1 6220FL2A BBS Equivalents 6220FL2A Filename
BBS Filename
Description
RELNOTES.TXT FL20A104.TXT PEN*KEY 6220FL2A Flash Release V1.04 Release notes, including annotated file listing. README.TXT
6220FL2A.TXT PEN*KEY 6220FL2A Flash Release V1.04 README.TXT Contains reflash instructions for 6220FL2A flash version 1.04.
6220FL2A.INC
6220FL2A.104
6220FL2A Flash Update, version 1.04 download file Reflashes from 6220FL2A version 1.03 to version 1.04. Download this file and rename it 6220FL2A.INC.
6220FF2A.INC
6220FF2A.104
6220FL2A Full Flash, version 1.04 download file Reflashes from any version of any 6220 flash to 6220FL2A version 1.04. Download this file and rename it 6220FF2A.INC.
230125-2.EXE
20A104-2.EXE
6220FL2A Flash, Disk #2 of 4, version 1.04 SelfĆextracting executable with DOS system files and 6220FL2A.EXE. Used to create a bootable ATA card to reflash the 6220 Computer or to reflash the 6220 Computer using INTERLNK.
230125-3.EXE
20A104-3.EXE
6220FL2A Flash, Disk #3 of 4, version 1.04 SelfĆextracting executable with 6220FL2A.IFL, a binary image that creates a 4 MB SRAM card to reflash a 6220 Computer.
230125-4.EXE
20A104-4.EXE
6220FL2A Flash, Disk #4 of 4, version 1.04 SelfĆextracting executable with 6220FL2A.BIN, a binary image that creates a temporary 2 MB SRAM flash card. 6220 Hand-Held Computer Technical Reference
4-1
Page 40
System Information
SECTION 4
Flash Release Contents Locate the following files on the four flash upgrade disks. If you downloaded these files from the BBS, see Table 4-1 for their equivalents. All diskettes conĆ tain a README.TXT file with information similar to what is in this section. " NOTE:
Use an SRAM card when the 6220 Computer flash is corrupted or was never programmed.
Non-Ethernet 6220FL2A Diskette #1 (230125-1) SoftĆdownload files: " 6220FL2A.INC Application softĆdownload file (update). " 6220FF2A.INC Application softĆdownload file (full reflash). Diskette #2 (230125-2) MS-DOS system and ATA card files: " 230125-2.EXE SelfĆextracting executable with MS-DOS system files and Initial Program Load (IPL) files required to build a bootable ATA card used to reflash a terminal. This also reflashes with INTERLNK. Diskette #3 (230125-3) 4 MB SRAM card files: " 230125-3.EXE SelfĆextracting executable with DD.EXE and an IPL binary file required to build a 4 MB bootable SRAM card to reflash a terminal. Diskette #4 (230125-4) 2 MB SRAM card files: " 230125-4.EXE SelfĆextracting executable with DD.EXE and a flash binary file that can be programmed to a 2 MB SRAM card, then booted directly.
Ethernet 6220FL2B Diskette #1 (230126-1) SoftĆdownload files: " 6220FL2B.INC Application softĆdownload file (update). " 6220FF2B.INC Application softĆdownload file (full reflash). Diskette #2 (230126-2) MS-DOS system and ATA card files: " 230126-2.EXE Same as 230125-2.EXE. Diskette #3 (230126-3) 4 MB SRAM card files: " 230126-3.EXE Same as 230125-3.EXE. Diskette #4 (230126-4) 4 MB SRAM card files: " 230126-4.EXE Same as 230125-4.EXE
Updating Flash Using an Application Soft-Download Use this procedure to reflash a 6220 Computer as part of a normal application download session. The following example procedures are written for the 6220FL2A flash release, fileĆ names are from the flash release diskettes, the floppy disk drive is assumed to be A:, and the 6220 PC Card slot is assumed to be E:. If applying flash release 6220FL2B, replace all files with files and replace all files with 4-2
6220 Hand-Held Computer Technical Reference