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 10 of 17

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

Pages 93 to 102 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 93

Section 4

DOS Device Drivers "

"

"

"

"

"

"

"

"

"

"

"

"

"

"

"

"

"

"

"

This section contains installation and configuration information for DOS device drivers, communications device drivers, and DOS utilities.

APM Clock Driver CLOCK.EXE is part of the Advanced Power Management system when running under DOS. CLOCK is a device driver that replaces the standard DOS clock driver. It must be installed as a device driver at system startup time. Besides the normal clock driver functions, CLOCK makes sure that the date and time are maintained during suspends. It does this by forcing a read from the real-time clock upon Resume. CLOCK is installed as a device driver in the CONFIG.SYS file. Install CLOCK after NORDOSPM.EXE. A typical entry in CONFIG.SYS to install CLOCK would look like this: DEVICE=NORDOSPM.EXE DEVICE=CLOCK.EXE

After installation, CLOCK displays the following message: CLOCK.SYS: NORAND DOS Clock Driver Version n.nn Copyright (c) nnnn by Norand Corporation All rights reserved.

" NOTE:

In future revisions of this product, the name, Intermec Technologies Corporation may appear above in the Copyright line.

There are no installation switches or user-programmable parts of CLOCK.EXE.

6110 Hand-Held Computer Technical Reference

4-1

Page 94

DOS Device Drivers

SECTION 4

Battery Monitor DOSGAS.EXE monitors charging and discharging of the main battery pack.

Command Line Switches DOSGAS has optional parameters. The switch symbol before the parameter can be “/” or “--.” The parameter letter can be upper- or lower-case. Text within brackets represent numeric values, such as <ms>. Only provide the numeric value. DOSGAS.EXE

–C

[<x> <y>] [–U<ms>] [–W] [–P<scan-code>] [–C]

Change. Battery gauge is only updated when a change in battery level affects the display.

–P<scan-code> Popup display mode. <scan-code> is the keystroke that causes the information to display when that key is pressed. –U<ms> Update. Time between updates if not in popup mode, or duration information is displayed if in popup mode. <ms> represents milliseconds. –W

Windowed. Forces the gauge to display in a VROTATED DOS window; otherwise it is displayed in an absolute screen position.

<x> <y> X,Y coordinates, where <x> and <y> represent the location column and row to display the gauge on screen; supply integer values, in base 10.

Annunciators Four stages of visual and audible low battery warnings should occur according to the following intervals. The annunciators indicate the level of the main battery. The “Bs” represent battery icons on the 6110 Computer. There may be a oneminute delay for the icons to update when the battery pack is replaced. Table 4-1 Low Battery Indications Low Battery Level

% Capacity

Icons

0

1 2 3

76 - 100% 51 - 75% 26 - 50% 21 - 25% 16 - 20% 11 - 15% 6 - 10%

BBBB BBB BB B LLLL LLL LL

4

0 - 5%

L

Beeps

Three beeps on 10% Three beeps on 7% One 5 second beep on 5%

When the capacity reaches 20%, the single annunciator icon changes to four L’s (Table 4-1). When charging, the annunciator icons change to C’s. Each “C” represent 25% of battery capacity: “C” = 0 to 25%, “CC” = 26 to 50%, “CCC” = 51 to 75%, and “CCCC” = 76 to 100%. 4-2

6110 Hand-Held Computer Technical Reference

Page 95

DOS Device Drivers

SECTION 4

BGI Support N6110.BGI is a custom Borland Graphics Interface (BGI), and is located in the DOS Toolkit. It develops Borland graphics based applications for this display. One way to use this in a DOS application is to keep the application and the BGI driver separate. This requires loading the driver from your application. The calls for this are documented in the Borland C++ DOS Reference book. Start with installuserdriver. This is the method used by CALIB.EXE, described elsewhere in this section. You will need the following file: N6110.BGI

Real mode PENKEY.BGI driver

The driver “plugs in” to the Borland BGI graphics library via the installuserdriver() function. Mode selection is accomplished through a series of #define symbols in the BGIDEMO.C file. " NOTE:

You may initialize and close the N6110.BGI driver many times during a program run, but call installuserdriver( ) once and save the value returned for subsequent driver initializations.

Bitmap Text Output The standard Borland BGI drivers do not fill the background color when rendering the bitmap font, thus erase the text before writing over it. Use the bar( ) function to erase (clear) the text area (text cannot be written over with new text or spaces). N6220.BGI fills the bitmap text background, eliminating text erasure gyrations. This new text mode is set using the BGI setwritemode() function and passing the BGI_NIFTYTEXT constant (defined in N6220.H). Pass BGI_NORMALTEXT to the setwritemode() function to return to normal BGI text rendering.

BGI Demonstration Files If you want to copy and modify the demo file, BGIDEMO.C, for your own needs, be sure to copy other files included with #include lines found in the demo file.

DOS Utilities Configuration Utility SC400CFG.COM provides configuration for timers, activity monitors, keypad, and features such as: standby/radio, powerfail, enable/disable suspend key, processor slowdown percent, system clock slowdown rate. The SC400CFG.INI file is located in your Windows 95 image, under the \6110\Sc400cfg folder on your boot PC Card, on the Windows 95 Toolkit in the \Config\Sc400cfg folder, or on the DOS Toolkit in the \Utils folder. For additional information, refer to \Docs\6110SC40.HTM on the Windows 95 Toolkit CD.

Remapping Keypad

You can remap all keypad keys, including the shifted and unshifted keys, with the exception of the [I/O] key (suspend/resume) or the GOLD shift key. " NOTE:

Before reprogramming certain keys, consider the effect it might have on other operations. For example, remapping the [1] and [2] keys would lose the contrast adjustment. 6110 Hand-Held Computer Technical Reference

4-3

Page 96

DOS Device Drivers

SECTION 4

Configuring Power Management

Advanced Power Management (APM) software is implemented to coordinate power-saving operations between applications and the hardware.

Using SC400CFG

You can use this configuration utility to reconfigure the keypad or power management. First, make a copy of the example SC400CFG.INI file from the Toolkit CD. You can also change the name of your copy of the INI file. The example SC400CFG.INI file lists all the parameters that can be reconfigured. Your copy should include only those parameters that you intend to change. Delete all others. After modifying the configuration file, add the following line to the AUTOEXEC.BAT file on the PC Card, then reboot. sc400cfg.com [options]

If your configuration file has a different name, specify that name in the command line, as described below. If an INI file is not specified, SC400CFG.INI is used, if available. " NOTE:

SC400CFG.COM is a DOS utility, which means the only way you can execute it is from the AUTOEXEC.BAT file before running Windows 95. It cannot be executed from a DOS window under Windows 95.

EXAMPLE:

SC400CFG

–F:MyConfig.ini

–S:NewConfigs where MyConfig.ini is the configuration file and [NewConfigs] of the configuration file contains the applicable settings.

–? Displays a help list similar to that shown here. –F:<filename> Specifies file with setting changes. Omitting -F defaults to the default configuration filename, SC400CFG.INI. –S:<section> Specifies section in file to use. Omitting -S tells SC400CFG.COM to use the [Default] section of the configuration file.

Create Download Include File With a list of files, IPLFMT.EXE creates a download include file by concatenating a list of the initial program files to be loaded onto a 6110 Computer, prefixing each file with an appropriate DOSFIL header. Use this format to create a network download file: iplfmt.exe <list file> <include file> list file Name of the file that contains a list of files to include. include file Name of the download include file, such as DOWNLOAD.INC (this file is created by IPLFMT.EXE). IPLFMT.EXE also extracts files from a network download file, using this format: iplfmt.exe –r <include file> [<path>] include file Name of the download include file, such as DOWNLOAD.INC (this file is read by IPLFMT.EXE). path Name of the output directory where the files are to be extracted; this parameter is optional. 4-4

6110 Hand-Held Computer Technical Reference

Page 97

DOS Device Drivers

SECTION 4

A download list file contains the names of the files to be sent to your hand-held computer. Each line in the file specifies one name. The file names may include path information so that all of the files need not be in the same directory on the host. However, the file is transmitted without the source path information, and placed in the current directory of the hand-held computer. To specify a destination path or to rename a file on the computer, use a line with the following format: “newname=oldname”

This causes the file “oldname” to be read from the PC and transmitted to the hand-held computer with the name “newname.” Both “oldname” and “newname” may include path information. Below is a sample download list file: \App\app.lzh=app.lzh \config.sys=config.sys

Drive Mapping Utility MAPDRIVE.EXE works much like SUBST.COM, in that you can assign drive letters to other drives. However, one major difference is that deleting a drive assignment with MAPDRIVE.EXE means the drive letter becomes an invalid drive, whereas deleting a drive assignment with SUBST.COM means that only the drive assignment is invalid. Use this syntax to assign a path to a drive letter: mapdrive.exe d=[path] EXAMPLE:

The following example assigns path (E:\temp) to drive A:. mapdrive.exe A=E:\temp

To delete an assignment, use the following syntax, where “d” represents the drive letter assignment you want to remove: mapdrive.exe d= EXAMPLE:

You can also perform multiple drive mappings with a single command line. The following example deletes drive assignments for A: and B:. mapdrive.exe A= B=

File Integrity Verification Utility " NOTE:

Wildcard processing in the filename is only allowed on the command line, but not within the argument file. CRC32.EXE processes directories with any attribute set, such as ‘read-only.’

The DOS Toolkit contains a utility, CRC32.EXE, which computes a 32-bit Cyclic Redundancy Check (CRC-32) on a set of files. This check is computed using a complex mathematical equation, resulting in a unique, accurate CRC-32 file transfer value. Even a minor file change results in a different CRC. This CRC value can validate corrupt system files. To verify file integrity, run CRC32.EXE to calculates the 32-bit CRC value. Then compare that value with the factory CRC value listed in the RELNOTES.TXT file in the Toolkit. One or more files or directories can be processed at one time. For command line help, use the /? switch. CRC32 [@][filename | pathname] [/s] filename Name of the file on which the CRC is calculated. pathname Location of the file name to be processed. /s Indicates all subdirectories should be searched for matching file names. @ (Optional) Indicates that filename is an argument file with file names to be checked. A valid CRC32.EXE argument file has the same format as an IPLFMT.EXE argument file. 6110 Hand-Held Computer Technical Reference

4-5

Page 98

DOS Device Drivers

SECTION 4

Multi-Purpose Delay Utility DELAY.EXE serves the following functions: " "

" "

Displays a message to the screen (like the Echo command) Waits for specified amount of time before continuing (similar to the Sleep command or DOS 6 Choice command with a time-out specified) Pauses system execution until key is pressed (like the Pause command) Returns an error level based on which key was pressed (like the DOS 6 Choice command)

The first three functions perform even when DELAY.EXE is loaded as a device driver. Since the error level concept does not apply to CONFIG.SYS processing, the fourth function applies to command line (batch file) execution. To perform these functions: 1. To display one or more different messages, supply the new messages within quotes on the command line. Each quoted text string displays on a separate line. Use a null message (“”) to display a blank line. To keep the cursor positioned immediately after the last character displayed, do not supply the trailing quote (”). To display a message without waiting for either a timeout or a keypress, specify a delay timeout of zero (/0). 2. To force DELAY.EXE to exit after a period of time, even with no key press, specify the “/nnnn” switch anywhere on the command line. The decimal value of “nnnn” is the hundredths of seconds to elapse before DELAY.EXE exits. The maximum delay is about 640 seconds or ten minutes. 3. The /K parameter locks the keyboard during execution of DELAY.EXE. 4. When DELAY.EXE is executed from a command shell, the error level set (upon return) is based on the key, if any, that was pressed prior to exiting. The return value is geared to determine which numeric key was pressed. Use the [device=]Delay[.exe] [/nnn [/K]] {”Message(s)”} syntax. device= Loads DELAY.EXE as a device driver. Specify the full pathname for the executable, as follows. When executing DELAY.EXE on the command line, omit “device=” and include full pathname for the executable if path is not in PATH environment variable: device=c:\utils\delay.exe /nnn Forces DELAY.EXE to time out, specifying a timeout period nnn in hundredths of a second. Thus, /100 causes DELAY.EXE to time out after one second. If using DELAY.EXE from a Windows DOS box, the timeout duration is longer due to how Windows implements the timeout function. /K

Disables the keyboard while pausing. Only specify the /K switch after supplying a timeout value. Otherwise there is no way to terminate the delay. Without this switch, the delay terminates when a key is pressed, even if a timeout is specified.

{“Messages(s)” One or more messages can be specified on the command line. Each message starts with a quote (“) that is not displayed. If a trailing quote (”) is not supplied, then the cursor remains positioned immediately following the message. Otherwise a carriage return and line feed is issued at the end of the message. The default message is “Press any key to continue”

4-6

6110 Hand-Held Computer Technical Reference

Page 99

DOS Device Drivers

SECTION 4

Errorlevel return values: When DELAY.EXE is run as a command, use the errorlevel set (at the completion of the delay) to determine which key was pressed or whether a timeout occurred. The return value states which numeric key was pressed. Below are error levels and their common key pressed values. 0 “0” 1 “1” “2” " 2 3 “3” " “4” " 4 “5” " 5 " 12 to 154 " 256 " "

EXAMPLE:

6 “6” 7 “7” “8” " 8 9 “9” " " 221 The ENTER key " 235 The ESC key Value returned consisting of the key value minus 30h No key was pressed, time already expired " "

Standard PC Function Pause Wait for “1” to be pressed

6110 Commands Required to Perform Function DELAY.EXE :Loop DELAY.EXE “Press ‘1’ to continue . . . “ If not Errorlevel 1 goto Loop If Errorlevel 2 goto Loop Echo “message” DELAY.EXE /0 “message” Sleep 100 ms DELAY.EXE /10 “” Echo “Pause for 1 second DELAY.EXE /100 /K “Pause for 1 second” Sleep 1 second (with keyboard disabled) Choice /c:12 “message” DELAY.EXE “message” IF ERRORLEVEL 3 GOTO InvalidDigit IF ERRORLEVEL 2 GOTO PressedTwo IF ERRORLEVEL 1 GOTO PressedOne Echo “message two” DELAY.EXE “message two” “Press any key to continue” Pause

System Reset Utility RESET.EXE enables batch files or other software to reset the system.

FTP Software Drivers The FTP Software drivers (BOOTP.EXE, DHCP.EXE, INET.EXE, TFTP.EXE and ETHDRV.EXE) are no longer in the DOS Toolkit. ODIPKT.COM is still in the Toolkit, but not in the FTP Software version. These drivers were in the toolkit up to version 1.02 and were removed starting in version 1.03. Starting in version 1.03, the TCP/IP protocol stack is embedded in the Norand R Utilities program. See page 6-4

6110 Hand-Held Computer Technical Reference

4-7

Page 100

DOS Device Drivers

SECTION 4

Bootstrap Protocol BOOTP.EXE is a UDP/IP-based protocol that enables a diskless client computer to determine its own IP address, the server host IP address, and the file name to be loaded into memory and executed. Other configuration information such as the local subnet mask, the local time offset, the addresses of default routers, and the addresses of Internet servers can also be communicated to a host via BOOTP. BOOTP.EXE uses this command line format: bootp [–nuvw] [–l <seconds>] [–r <number>] [–t <seconds>] [ini_file] [–version] [–?] where the items in brackets [ ] represent the following: –?

Display the help screen, including switches and descriptions.

–l <seconds> Set the requested lease time in seconds. –n

Specify that the kernel settings are not to be changed.

–r <number> Set the maximum number of retries. –t <seconds> Set the maximum timeout in seconds. –u

Unload the DHCP module.

–version

Display the current version.

–w

Write to the PC/TCP configuration file.

inifile

Use an alternative configuration file as specified.

Display Configurations As part of the FTP, INET.EXE displays configurations, statistics, the IP routing table, and active TCP connections. INET also unloads the PC/TCP kernel from memory and uses this command line format: inet [arguments] Note that the vertical bar represents an “exclusive or” function (one item only) and items in brackets are optional: arp

Lists the Address Resolution Protocol (ARP) cache.

config [advanced | security] Displays the kernel configuration. debug

Displays hardware error statistics.

help

Displays a help screen with command line format and arguments.

ipcp [stats | config] Lists IPCP-layer statistics or configurations. lpc [stats | config] Lists LPC-layer statistics or configurations.

4-8 pap

Lists Password Authentication Protocol (PAP)-layer statistics.

ppp

Lists Point-to-Point Protocol (PPP)-driver statistics.

route

Lists Internet Protocol (IP) routing table.

slip

Lists Serial Line IP (SLIP)-driver statistics.

stats

Displays network statistics.

tcp

Lists active Transmission Control Protocol (TCP) connections.

unload

Unloads the PC/TCP kernel.

version

Displays the version numbers of the PC/TCP kernel.

6110 Hand-Held Computer Technical Reference

Page 101

DOS Device Drivers

SECTION 4

DOS TCP/IP TSR Kernel ETHDRV.EXE is the DOS TCP/IP TSR kernel from FTP. It generates Ethernet II frame types. It can be unloaded from memory using “inet unload.” It expects to find an environment variable like “PCTCP=c:\pctcp.ini” where it can find a configuration file. This is the unprotected, unserialized version of the kernel, so the usual serial number and authentication key pair are not required. ETHDRV.EXE uses the following command line format: ethdrv [–?] | [–version] or ethdrv [–Bm] [–b <address>] [–i <number>] [–p <lg_pkt_count>] [–s <sm_pkt_count] [ t <maxtcpconn>] [–u <maxudpconn>] where the vertical bar represents an “exclusive or” function (one item only) and the items in brackets [ ] are optional and represent the following: –?

Displays the help screen, includes these switches and descriptions

–version

Displays the current version.

–B

Uses BSD-style urgent pointers.

–m

Enables use-emm option.

–b <address> Sets non-standard IP broadcast address. –i <number> Sets interrupt number. –p <lg_pkt_count> Sets the large packet count. –s <sm_pkt_count> Sets the small packet count. –t <maxtcpconn> Sets maximum number of simultaneous TCP connections. –u <maxudpconn> Sets maximum number of simultaneous User Datagram Protocol (UDP) connections.

Dynamic Host Configuration Protocol DHCP.EXE and DHCPHLPR.EXE provide DHCP client support for FTP’s DOS kernel, ETHDRV.EXE. These clients also accept replies from BOOTP servers. Both of the executables use the same command line format and parameters as BOOTP.EXE. ETHDRV.EXE must be loaded first followed by DHCP.EXE. It is not necessary to explicitly load DHCPHLPR.EXE. The Dynamic Host Configuration Protocol (DHCP) provides a framework for passing configuration information to hosts on a TCP/IP network. DHCP is based on the Bootstrap Protocol (BOOTP), adding the capability of automatic allocation of reusable network addresses and additional configuration options. From the client’s point of view, DHCP is an extension of the BOOTP mechanism. This behavior allows existing BOOTP clients to interoperate with DHCP servers without requiring any change to the clients’ initialization software.

6110 Hand-Held Computer Technical Reference

4-9

Page 102

DOS Device Drivers

SECTION 4

IP Address Allocation Mechanisms

DHCP supports three mechanisms for IP address allocation. A particular network may use one or more of these mechanisms. Automatic allocation DHCP assigns a permanent IP address to a client. Dynamic allocation DHCP assigns an IP address to a client (for a limited period of time, or until the client explicitly relinquishes the address). This mechanism simplifies network administration because the software keeps track of IP addresses rather than requiring an administrator to manage that task. This means that a new computer can be added to a network without the hassle of manually assigning it a unique IP address. This is the only mechanism that allows automatic reuse of an address that is no longer needed by the client to which it was assigned. Manual allocation A network administrator assigns a client’s IP address, and DHCP is used simply to convey the assigned address to the client.

DHCP Message Format

The DHCP message format is based on the BOOTP message format, to capture the BOOTP relay agent behavior as part of the BOOTP specification and to allow interoperability of existing BOOTP clients with DHCP servers. Using BOOTP relay agents eliminate having a DHCP server on each physical network segment.

ODI Packet Driver ODIPKT.COM is an ODI Packet Driver for FTP with the following switches. ODIPKT

[?]

[unl] [SINT=XX] [MLID=NAME] [FRAME=FRAME-STRING]

?

Displays command line switches syntax similar to this list unl

Causes ODIPKT to be unloaded

XX

The software interrupt number (Range: Hex 60–80, default: 60)

NAME (case-sensitive) MLID with ETHERNET_II, ETHERNET_SNAP, or TOKEN-RING_SNAP support. Default: ETHERNET_II or TOKEN-RING_SNAP (first found). FRAME-STRING (case-sensitive) Media type ETHERNET_II, ETHERNET_SNAP, or TOKEN-RING_SNAP

4-10

6110 Hand-Held Computer Technical Reference