Browse
(440) 299-7778
Menu
(440) 299-7778
One-year parts and labor warranty30-day money-back guaranteeEnglishEspañolContact

The text of a manual · part 12 of 17

6110 Hand-Held Computer Technical Reference: Section 4: DOS Device Drivers, pages 113 to 122

Pages 113 to 122 of 160, from 6110 Hand-Held Computer Technical Reference

The original document is the PDF (1.9 MB). 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 6110

Page 113

DOS Device Drivers

SECTION 4

When data for all four targets are acquired, the program displays a screen to check the calibration results. Match the cursor with the location of the pen near the four corners of the screen. The best way to do this is to place the pen down near each corner of the display and see if the cursor appears at the location of the pen. If the cursor is offset from the pen location by some fixed amount, adjust it by pressing the appropriate UP, DOWN, LEFT, or RIGHT buttons on the screen. (You may prefer to add some amount of offset to place the cursor away from the pen using the same buttons.) If the cursor position varies significantly from the pen location, as the pen is placed at the different corners, the four target calibration process was not successful. Restart the program and pay closer attention to how the pen is pressed against the targets. When satisfied with the calibration, press SAVE on the screen to store the results. The results are then available for use by the pen (or mouse) driver. Press CANCEL to lose any changes. In either case, the program exits. If the calibration program is unable to recognize the pen, press [Esc] to quit the program and not store the new calibration values.

Pen Driver The 61MOUSE.COM pen driver is actually a DOS mouse driver that interprets the standard INT 33h mouse interface. Most of the functions are supported. For detailed information relating to the standard mouse interface, see the DOS Applications Programming Interfaces (APIs) on the internet: http://partners.intermec.com/regions/devspt/api/index.htm The pen driver installs as a Terminate-and-Stay-Resident (TSR) as a result of placing the 61MOUSE.COM statement in the AUTOEXEC.BAT file. If the drive and directory for this driver is not in the path, include the information as follows: d:\path\61MOUSE.COM d: is the driver; path is the directory path to the driver After installation, the driver displays the following message: Driver installed 6110 Digitizer enabled

PenPrint PENPRINT.EXE provides the capability of printing to INTERMEC printers with appropriate error handling. It is currently shipped with the 6110 DOS Toolkit. PENPRINT [options] <print-file> <print-device>

[options]: –a

Cancels report printing when error message is displayed. If not specified, “PenPrint” cancels printing only if a fatal error occurs.

–h

Displays a help screen.

–m

Suppresses the “Fix top-of-page” message.

–p

Disables using a pointing device. If not specified, “PenPrint” attempts to auto detect a touch pad. It can not always reliably determined whether such a device is present. In these situations, use this option to ensure the proper prompts are used for error messages. 6110 Hand-Held Computer Technical Reference

4-21

Page 114

DOS Device Drivers

SECTION 4

–r

Provides the option to restart the report, after a fatal error occurred. If selected, “PenPrint” does not restart the report itself, but returns to the calling application with a return code of choice. The calling application then restarts the report because a report may consist of a header and trailer. The calling application may need to make two separate calls to “PenPrint” to print them to do a prompt like “TICKET OKAY?” before printing the trailer. If not specified, cancel the report after fatal errors. –v<f> File name with VOID message. Overrides default VOID message sent to printer when either fatal error occurs or the report cancels. “PenPrint” sends the data in <f> to the printer like it handles print-file, except error processing is disabled. If <f> is not specified, nothing is sent to the printer after a fatal error. Do this only if printing a VOID message when detecting a fatal error. Otherwise, indicate an invalid report. print-file Name of the file with the data to be sent to the printer. “PenPrint” does not modify this file in any way. The data is sent “as is” to print-device. print-device Name of the DOS device driver that provides the printer interface (LPT1). Return Codes: Report OK; report was not canceled. 0 Report was canceled by the user after a non-fatal printer error. 2 3 5 128 253 254

Report was canceled after a fatal printer error. After a fatal printer error, user selected to restart report. An error occurred on a device other than the printer. The print file could not be opened. The display could not be initialized.

Invalid parameter or incorrect number of parameters. 255 PenPrint depends upon BGI graphics drivers to implement the graphics needed. Thus the correct BGI driver must reside in the current directory. See page 4-3. " Recoverable errors require manual intervention. PenPrint will: a. Display the error message. b. Display the response options: “Continue” or (optionally) “Cancel” (see “–a” parameter). c. Require an option to be selected. d. Restore the display. With “Continue,” PenPrint continues printing. With “Cancel,” PenPrint attempts to print a VOID message. If VOID message fails, PenPrint prompts for “Fix-top-of-page”. PenPrint then exits with a return code. The calling application prompts you to change the printer type or to restart the report (either choice is optional). "

4-22

When handling fatal (unrecoverable) errors, PenPrint will: a. Display the error message and response options: “Cancel” and (optional) “Restart Report” (see “–r” parameter). b. Prompt for an option and restore the display. c. Attempt to print the VOID message. If the VOID message fails, prompt for “Fix top-of-page.” d. Exit with the return code

6110 Hand-Held Computer Technical Reference

Page 115

DOS Device Drivers

SECTION 4

With “Restart Report,” calling the application will restart the report. With “Cancel,” calling the application will either change the printer type or restart the report (both choices optional). " NOTE:

If the –v parameter is not specified, the following VOID message is printed by “PenPrint” (bold double-wide mode): VOID * VOID * VOID

This message requires at least a 38-column printer. For printers that have more than 38 columns, the default message is printed at the left margin. "

"

When printing the VOID message, error handling is disabled (such as you see only the error message for the original error). This is because you could be stuck in an infinite loop of error messages in “PenPrint,” if the original error was a result of a nonfunctional printer. If a pointing device is detected and the –p switch is not used, PenPrint displays the choices as buttons/boxes on the screen. The prompts are displayed as “Continue” or “Restart Report” or “Cancel.” Any touch within a box activates that response. If –p is specified, or no pointing device is detected, the prompts display as “[YES] Continue” or “[YES] Restart Report” or “[NO] Cancel.”

Power Management NORDOSPM.EXE, part of the Advanced Power Management (APM) system, is the DOS power management driver interface between applications and the APM BIOS. The power management driver must be installed as a device driver at system startup time. This driver implements the following general functions: " Attempts to determine when the DOS environment is idle and saves power by idling the CPU. " Polls for APM events and broadcasts them to DOS drivers and applications. Mediates events that can be failed such as suspend, user suspend, standby, and user standby requests. " Incorporates code that patches around bugs in SystemSoft PC Card drivers. Figure 4-1 has a simplified diagram of the Power Management Software. NORDOSPM.EXE

DOS APM driver

BIOS Extension

APM BIOS

BIOS

System BIOS

Hardware

600 Series Computer hardware

Figure 4-1 Power Management Software

The APM BIOS is a BIOS extension. Both the APM BIOS and the system BIOS are factory installed. NORDOSPM.EXE, installed as a device driver in the CONFIG.SYS file, must be installed before H2PODSCN.EXE and H2THRSCN.EXE. Both the APM BIOS and the system BIOS load automatically before DOS loads. 6110 Hand-Held Computer Technical Reference

4-23

Page 116

DOS Device Drivers

SECTION 4

RS-485 Communications RS485ATT.COM provides communications over Local Area Networks (LANs), and is the RS-485 version of OWLATTCH.COM that was originally developed for Proxim radio enabled hand-held computers. RS485ATT.COM sends periodic OWL protocol “attach” messages to refresh their route table entries in the access point. RS485ATT.COM must receive an attach response before it accepts the fact that it is successfully attached to the access point. RS485ATT.COM also passively determines the host IP address and includes this information in the attach message. The access point then uses this information to provide the socalled Proxy ARP services. RS485ATT.COM performs the task of a protocol driver in the ODI specification from Novell. The RS485ATT.COM module attempts to attach to an access point, looking for a response. If no response is received it will retry up to ten times (in three-second intervals). After completing ten retries, it waits for 3.5 minutes before attempting it again. If an attach response is received then RS485ATT remains silent for 3.5 minutes, at which time it attempts to attach again. If a TCP/IP protocol driver is present and active, RS485ATT.COM attempts to determine the host IP address and puts the address in the attach message so the access point can become aware of it and use Proxy ARP services on the RS-485 LAN. RS485ATT.COM determines the IP address by “sniffing” ARP requests as the TCP/IP driver sends them. If the TCP/IP driver changes its IP address (via BOOTP or DHCP) and the RS485ATT.COM module becomes aware of the change, the module will immediately send an attach message to the access point with the updated IP address in it. The RS485ATT module also detects whether or not AC power is present. If it is present, that is an indicator that the 6110 Computer is in the dock and able to participate in RS-485 communications; RS485ATT attempts to send attach messages. If AC power is not present, the RS485ATT holds itself in a reset state and attempts an attach as soon as AC power is applied. The first attach message is sent three seconds after the module is loaded or after AC power is applied. If the IP address changes, an attach message is sent one second after the address change is detected. RS485ODI.COM provides a standard ODI layer interface to an RS-485 based network. It autoselects either COM1 or COM2, based upon the terminal type.

Scanners Pod Scanner H2PODSCN.EXE is the internal pod scanner. It collects and passes scanned data to an application via the standard DOS type-ahead buffer, where the scanned bar code is available to an application as simple keystrokes. The program also manages power for the scan operations. Its features are as follows: " " " "

4-24

I/O is transferred through the standard DOS type-ahead buffer Scanner provides the capability of a fully decoded RS-232 scanner Handles SE1223 hardware Baud rate: 19200

6110 Hand-Held Computer Technical Reference

Page 117

DOS Device Drivers

SECTION 4

The pod scanner uses command line switches to drive the desired functions. The syntax is as follows: H2PODSCN [<switches>] where <switches> include combinations of the following: –? or –H Either option displays a help screen that briefly describes the various options. –C

Appends CR/LF to decoded data.

–E

Enables scanner immediately, and continually, not just when enabled via software API.

–O[n] Power off delay, where n is the number of seconds from trigger release to the time power is removed from the scanner. –SAVEPARMS Saves the current configuration parameters to H2PODSCN.PAR. –SCANBIOS Uses the SCANBIOS API interface. –U EXAMPLE:

Unloads this TSR.

The following is an example command line for the pod scanner: H2PODSCN –E

EXAMPLE:

This example scanner testware enables the scanner, displays the DOS keystrokes until the return or newline character is encountered, then it exits. #include <dos.h> #include <stdio.h> #include <conio.h> void main (void) { int c; // // collect only one scan, 4500 compatible // geninterrupt(0x7a); // thread thru scan tsr // while ((c != ‘\n’) && (c != ‘\r’)) { while (kbhit()){ c = getch(); putchar(c); if (c == ‘\n’ || c == ‘\r’) break; } } _AH = 0x80;

}

H2 CPU Series Tethered Scanner Driver H2THRSCN.EXE is the tethered scanner. Its features are as follows: " " " "

I/O is transferred through the 9-pin D-sub serial port connector Scanner provides the capability of a fully decoded RS-232 scanner Handles SE1223 hardware. Baud rate: 9600 6110 Hand-Held Computer Technical Reference

4-25

Page 118

DOS Device Drivers

SECTION 4

H2PODSCN is generally installed from the AUTOEXEC.BAT file using the following statement: H2PODSCN [–option[value]] ...

This program must be installed after the CardSoft drivers and TSRs are installed (if they are used) and after NORDOSPM.EXE is installed. Also, if CardSoft drivers and TSRs are present in the system, the command line option on NORDOSPM.EXE that “fixes” some CardSoft bugs (/ss:1) must not be used on NORDOSPM.EXE. Make sure the NORDOSPM.EXE, H2PODSCN.EXE, and H2THRSCN.EXE files are located in the C:\Drivers folder of the 6110 Computer. NORDOSPM.EXE should already be in the flash, all other files listed above can be found in the toolkit. The following entry is required in the CONFIG.SYS file for DOS scanning, because the scanner driver uses features of the APM system: device=nordospm.exe

The following is required in the AUTOEXEC.BAT entry: h2podscn.exe h2thrscn.exe

The format of the configuration parameters is the same as it is in the SSI protocol in the SE1223 Integration Guide. Even the checksum is included and is used to verify data integrity. " NOTE:

The default baud rate is 9600, which is determined when Set-all-defaults is scanned. To gain speed, the baud rate is automatically changed to 19,200 (which is the maximum rate), when the H2PODSCN driver is loaded.

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 “Aiming beam set to Xms.” where x is n (interval) times 500 ms. –E Causes the tethered bar code reader to always be enabled for used. The message is “Scanning permanently enabled.” However, –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 –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 “disabled” 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 “Enter appending enabled.” If the hardware is in working order, the “Scanner initialized!” message appears; if not, then “Scanner HW initialization failed!” appears. 4-26

6110 Hand-Held Computer Technical Reference

Page 119

DOS Device Drivers

SECTION 4

EXAMPLE:

The following is an example command line for the tethered scanner: H2THRSCN [–E] [–R]

If the driver is successfully loaded, then “Existing 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 “existing 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 6.

Screen Emulation 6110RTAT.EXE and FONTSEL.EXE are 4000 Series screen emulation programs for the 6110 Computer, in DOS text mode. These programs port applications written for the 4000 Series platform to the 6110 Computer without modifying the display logic. 6110RTAT is a TSR program that provides screen rotation and FONTSEL switches between fonts which are already loaded, or loads a new user defined font. 6110RTAT and FONTSEL provide 4000 Series screen features, such as character mapping, cursor fixed mode, or variable font sizes (20, 21, or 16 characters across the screen). 6110RTAT and FONTSEL.EXE work together providing several font selections, as described below. These programs replace the standard VGA BIOS interface for the 6110 Computer with a 4000 Series compatible video BIOS interface. Since they replace the standard VGA BIOS, standard VGA calls are not available once 6110RTAT and FONTSEL are loaded. The 6110RTAT utility provides a rotate INT 10 interface that rotates the INT 10 calls into a portrait mode. It filters out video BIOS calls. 6110RTAT and FONTSEL work only with the 320x240 pixel display of the 6110 Computer. In the absence of command line switches, the default mode for 6110RTAT and FONTSEL are as follows: " " "

"

Cursor chase video mode 8x16 bitmap font Inverse mode on (characters above 127 are mapped to inverse video characters 0–127 when the high bit is turned off) Cursor turned off

FONTSEL.EXE Command Line Switches FONTSEL.EXE either switches between fonts already selected or loads a new defined font. It works in conjunction with 6110RTAT. FONTSEL [<font_number>] | [<font_number>=<[path\]font_file_name>]

If the format includes the font_number only, then the current active font is selected, where <font_number> is one of the following: 0

Sets up the display for 8x8 pixels per character resulting in a 40-column, 30-line display.

1

Sets up the display for 8x16 pixels per character resulting in a 30-column, 20-line display.

2

Sets up a user-selectable display. 6110 Hand-Held Computer Technical Reference

4-27

Page 120

DOS Device Drivers

SECTION 4

If the file name (and optional path) is included, the font represented by the font number supplied is replaced by that which is defined in the font file, where: <font_number> Represents the font number. path\ is the DOS path where the font file is located. <font_file_name> Represents the name of the font to be loaded. If you replace the currently used font, select the font again to use the new character size. If not trashed, it shows up on the display. The font file format is: Version Char_width Char_height Font_data dw dw dw db

1 ? ? ?

dup(?)

The 8x8 and 8x16 fonts can only be replaced with an 8x8 and 8x16 font. The user font can be replaced by any size font that meets the following requirements: width must be a multiple of 4, height must be a multiple of 8, and the total font data size cannot exceed 9216 bytes, the 12x24 font size (maximum default).

6110RTAT.EXE Command Line Switches The 6110RTAT command line format is as follows. The brackets [ ] indicate optional parameters. 6110RTAT [x y [width height]] [–Repaint_scroll] [–Nowrap] [–PLN] [Disable] xy

Coordinates of the upper-left corner of the display.

width height Window size and rotated position of the display, under which the INT 10 calls are limited or emulated. –Repaint_scroll Causes the rotated BIOS to repaint the screen on all scroll operations, which is much slower, but very compatible. –Nowrap Truncates the screen at the right margin. –PLN Applies hacks to support the PL/N error screen. –Disable Disables the screen rotation driver, which remains in memory, and can be reenabled by running it again.

4-28

6110 Hand-Held Computer Technical Reference

Page 121

DOS Device Drivers

SECTION 4

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 “DOS=UMB” 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 program. 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 available 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 syntax 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. Below are three sample configurations: 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.

6110 Hand-Held Computer Technical Reference

4-29

Page 122

DOS Device Drivers

4-30

6110 Hand-Held Computer Technical Reference

SECTION 4