Intermec PEN*KEY 6400 Programmer's Reference Manual

Intermec PEN*KEY 6400 Programmer's Reference Manual

Intermec 6400: reference guide
Hide thumbs Also See for PEN*KEY 6400:
Table of Contents

Advertisement

R
PEN*KEY
6400 Computer
PROGRAMMER'S
REFERENCE GUIDE
"
"
"
"
"
"
"
"
"
"
"
"
"
"
"
"
"
"
"
"
"
"
"
"
"
"
"
NPN: 977-054-004
Revision B
October 1998

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the PEN*KEY 6400 and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

Summary of Contents for Intermec PEN*KEY 6400

  • Page 1 PEN*KEY 6400 Computer PROGRAMMER’S REFERENCE GUIDE " " " " " " " " " " " " " " " " " " " " " " " " " " " NPN: 977-054-004 Revision B October 1998...
  • Page 2 This publication is furnished for information only, and the information in it is subject to change without notice. Although every effort has been made to provide complete and accurate information, Intermec Technologies Corporation assumes no responsibility or liability for any errors or inaccuracies that may appear in this document.
  • Page 3: European Notice

    Antenna Requirements " NOTICE FCC rules section 15.203 and Canada’s RSS-210 require that this device be operated using an antenna furnished by Norand Corporation. The antenna coupling on this product has been designed to accept only antennas manufactured by Norand. Use of an antenna other than that furnished with the equipment is prohibited by FCC and Industry Canada rules.
  • Page 4 " CAUTION: Intermec Technologies Corporation suggests you buy cables from us to connect with other devices. Our cables are safe, meet FCC rules, and suit our products. Other cables may not be tested. They may cause problems from electrostatic discharge or induced energy. Our warranties do not cover loss, injury, or damage from other cables.
  • Page 5: Table Of Contents

    How the Hardware is Different Input, Output, and Storage Devices More Varied Keep the System Environment in Mind Hardware Ports Tool Kit for the 6400 Computer File Integrity Verification Utility: CRC32.EXE Tips for Getting Started System Configuration Minimum Development Configuration...
  • Page 6 DOS Power Management Driver: NORDOSPM.EXE ELAN Configuration Driver: ELANCFG.EXE Command Line Switches DOS Scanning 64SCN7B / 641223.EXE Command Line Options Integrated Long Range Laser Engines 6400 Laser Engine Decode Capability Scanning Methods Tethered Scanning Internal Scanning Wedge Scanning API Scanning API Scanning Application Architecture...
  • Page 7 ........... . . 6400 Keyboard Definition and Redefinition References .
  • Page 8: Bios Interrupt Support

    INT 13h, NORAND Extensions PEN*KEYR 6400 Programmer’s Reference Guide ............
  • Page 9 ......... . . PEN*KEYR 6400 Programmer’s Reference Guide CONTENTS "...
  • Page 10 Table 1-2 DOS Device Drivers Table 1-3 DELAY.EXE Error Levels Table 1-4 MMBFLAG.COM Return Values Table 2-1 641223 Options Table 2-2 6400 Laser Engine Decode Capability Table 2-3 Engine Default Values Table 2-4 Scanning API Functions Table 2-5 NET.CFG File Information...
  • Page 11 Support Available ........Scope The majority of the material in this publication pertains specifically to the 6400 Computer.
  • Page 12: Preface

    PEN*KEY 6400 Hand-Held Computer: â â PEN*KEY How to setup, operate, and maintain the 6400 Computer, including terminal emulation menu screens for setting parameters. SE 1223 Integrated VLD Scanner (961-032-042) Includes information about the scanner, and definitions of bar codes.
  • Page 13: Structure Of The Book

    Contains information to help you become familiar with your 6400 Computer. Topics include: an open system environment, differences between the 6400 Computer and a standard PC, the Tool Kit, some helpful tips, a typical development configuration, reprogramming flash memory, some development environments, set up for development from a PC, and a few development resources.
  • Page 14: Locating Information

    Table 1-2, DOS Device Drivers, in Section 1, Getting Started, on page " 1-18, includes the major device drivers supported for your 6400 computer. A few Utility Programs are briefly described in Section 1, Getting Started, "...
  • Page 15: Locating Interrupt Definitions

    Refer to the Reference, Open Systems Publications section, for the names of names of publications that provide additional information about general and special purpose interrupts. PEN*KEYR 6400 Programmer’s Reference Guide PREFACE...
  • Page 16: Support Available

    1 stop bit. If you are using a high-speed modem, disable XON/XOFF and enable RTS/CTS. If you are signing on for the first time, type “new” and follow the " instructions. The BBS takes you through a new-user sign-up procedure. PEN*KEYR 6400 Programmer’s Reference Guide...
  • Page 17: Getting Started

    Differences between this computer and standard PCs. Tool Kit for the 6400 Computer ......
  • Page 18: An Open System Environment

    Table 1-4, MMBFLAG.COM Return Values ....An Open System Environment The 6400 operating system consists of standard ROM DOS, version 5.0. One of the major benefits of this open-system approach is that you can acquire development equipment and software from many different vendors, including Intermec Technologies Corporation.
  • Page 19: Introduction To The 6400 Computer

    SECTION 1 Introduction to the 6400 Computer From the viewpoint of an application, the 6400 Computer is a PC compatible computer, with some exceptions, as described below. How the Hardware is Different The 6400 Computer is a ruggedized, ergonomic, battery powered computer, with input from (keyboard or scanner), backlit display, integrated communications, and various combinations of external and internal peripherals.
  • Page 20: Input, Output, And Storage Devices More Varied

    After a default software load, the available flash memory is dependent upon the size of your flash card and the amount of space used for files. If your 6400 Computer has additional applications loaded, the amount of available flash will be lower.
  • Page 21: Tool Kit For The 6400 Computer

    SECTION 1 Tool Kit for the 6400 Computer The file complement of the PEN*KEY 6400 Tool Kit differs from one release to the next. For an accurate list of Tool Kit files, consult the RELNOTES.TXT file included in the Tool Kit distribution package.
  • Page 22: File Integrity Verification Utility: Crc32.Exe

    " NOTE: CRC32.EXE processes directories with any attribute set, such as read-only, etc. One or more files or directories can be processed at one time. PEN*KEYR 6400 Programmer’s Reference Guide SECTION 1...
  • Page 23: Tips For Getting Started

    Utilize the available storage solutions, remembering that devices can be moved about as required by different configurations. Keep in mind the general system design of the 6400 Computer; with its key " oriented input, flash memory file system, built-in CGA screen, etc.
  • Page 24: System Configuration

    Introduction to the 6400 Computer paragraph) and 2 megabytes of Flash memory. Main battery: at least one. " A NULL modem cable for connecting the PEN*KEY 6400 Dock to a host " If printing is needed, cable for connecting the PEN*KEY 6400 Dock to a "...
  • Page 25: Reprogramming Flash Memory

    Bulletin Board. Contact an Intermec sales representative to obtain the media. Read all of the instructions below before proceeding. " NOTE: Always keep the 6400 Computer on charge while performing any setup, reprogramming, or reflashing. INTERLNK Session Prerequisites for INTERLNK Flash Update Process...
  • Page 26: Reflashing Procedure

    Getting Started Reflashing Procedure Begin with the 6400 Computer at the C:\ prompt. In order to get to the C:\ prompt, you may need to reboot. To do this perform a reset (as described in the paragraph on the Four-Key Reset operation, on page 1-12). Quickly after the reset, press the Alt key to bring up the Boot Selection Menu.
  • Page 27: Development Environments

    This is certainly not the case with a hand-held computer; memory is still at a premium. 2. The 6400 Computer uses a processor that is common to other PCs. But, be sure to test the performance of your application on a comparable computer.
  • Page 28: Setup For Pc Development

    4. Insert the 6400 Computer into the dock (or communication adapter). 5. As the 6400 Computer starts the boot process, you hear two beeps followed by 30 seconds of quick beeps, if the AC adapter is connected and the PC terminal program is running.
  • Page 29: Figure 1-1 Reset Keys On 41-Key Keyboard

    Getting Started SECTION 1 1. Right enter key 2. Yellow (or gold) shift plane key 3. Blue shift plane key 4. Left enter key Figure 1-1 Reset Keys on 41-Key Keyboard 1-13 PEN*KEYR 6400 Programmer’s Reference Guide...
  • Page 30: Figure 1-2 Reset Keys On 51-Key Keyboard

    Getting Started Figure 1-2 depicts the 51-key keyboard. The four numbered lines point to the locations of the four keys that reset the 6400 Computer. 1-14 PEN*KEYR 6400 Programmer’s Reference Guide 1. Right enter key 2. Yellow (or gold) shift plane key 3.
  • Page 31: Development Resources

    INTERSVR, press [ALT] followed by F4. RAM Drive The RAM drive on a 6400 Computer is a block of system memory treated as a DOS drive. The data stored on the RAM drive is maintained as long as power is supplied to the system and the drive is not reformatted.
  • Page 32: Table 1-1 Ram Drive Sizes

    RAM drive (if one does not already exist). The size depends on the amount of total memory in the 6400 Computer, as follows: For a system with 8 megabytes of total memory, only 4 megabytes is used as a RAM drive.
  • Page 33: Norand Utilities And Communications

    1. Create a download list file. A download list file contains the names of the files to be sent to the 6400 Computer. Each line in the file specifies one name. The file names may include path information so that all the files need not be in the same directory on the host computer.
  • Page 34: Npcp Network

    ELANCFG.EXE ELANUMP.SYS IRDAPDRV.EXE MISCTSR.EXE NORDOSPM.EXE PC4800.SYS PRDRV.SYS RAMDFMT.EXE 1-18 PEN*KEYR 6400 Programmer’s Reference Guide Table 1-2 DOS Device Drivers Description DOS Norand OEM APM extensions driver DOS Scanner driver Version of BIOS DOS Clock bug patch Battery indicator APM BIOS installation for DOS...
  • Page 35: Pen*Keyr 6400 Programmer's Reference Guide

    Getting or setting the keyboard mode, type, and version. " BIOS.EXE Displays the version level of the BIOS currently in the 6400 computer. BOOTDRV.COM This application is specifically designed for use in batch files that are required to know which drive is the default drive when the system was first booted. It returns an error level indicating which drive is the boot drive: 1=A, 2=B, 3=C, .
  • Page 36: Delay.exe

    No command line parameter is required to cause this program to wait for a " key press. DELAY always exits whenever a key is pressed, even if it is waiting for time to elapse first. 1-20 PEN*KEYR 6400 Programmer’s Reference Guide where n is the number of seconds to delay. SECTION 1...
  • Page 37: Ethdrv.exe

    IF ERRORLEVEL 1 GOTO PressedOne IF ERRORLEVEL 0 GOTO PressedZero = = DELAY.EXE ”message two” ”Press any key to continue . . . ” for A20 gating to be performed by port 92h. PEN*KEYR 6400 Programmer’s Reference Guide Getting Started 1-21...
  • Page 38: Isramdrv.com

    Displays a help screen Removes the resident program from memory /C=[path\]filename MISCTSR.EXE This utility provides the following features, for use on your 6400 computer. Command line switches: —A Enables the reset annunciator line at program termination —Fn Select annunciator character set...
  • Page 39: Mmbflag.com

    Drive E is the default boot drive Drive D is the default boot drive Drive C is the default boot drive Drive B is the default boot drive Drive A is the default boot drive PEN*KEYR 6400 Programmer’s Reference Guide Getting Started 1-23...
  • Page 40: Mode.com

    Command line switches: Displays a help screen, showing these command line switches Removes the resident program from memory 1-24 PEN*KEYR 6400 Programmer’s Reference Guide Displays a help screen Causes ODIPKT to be unloaded The software interrupt number (range: 60–80 hex, default: 60)
  • Page 41: Supporting Dos Applications

    Table 2-1, 641223 Options ....... . Table 2-2, 6400 Laser Engine Decode Capability ... .
  • Page 42: Dos Power Management Driver: Nordospm.exe

    1 = Auto-Contrast enabled 3 = Battery Hot Swap enabled 5 = Suspend In Dock enabled 7 = INTs are NOT activity in DOZE PEN*KEYR 6400 Programmer’s Reference Guide SECTION 2 0 = disabled 2 = disabled 4 = disabled...
  • Page 43 7 addresses past the starting address (8 total). If activity is detected in this I/O range, the count-down timer is reset to zero. (e.g., /IOx380 sets up I/O addresses 380h through 387h as activity). activity. port 2Eh). PEN*KEYR 6400 Programmer’s Reference Guide Supporting DOS Applications...
  • Page 44 ELANAPM.EXE returns FFh upon bootup or after a resume until it gets the battery packets it needs to calculate the true battery status. PEN*KEYR 6400 Programmer’s Reference Guide access. Note that Windows frequently accesses video memory to repaint screens, etc.
  • Page 45 However, when in Doze mode the 6400 Computer is unable to receive any battery packets. Thus, it will be a very long time (if ever) for ELANAPM.EXE to give back a non-FFh value.
  • Page 46: Dos Scanning

    –C –E –I –P –R –T PEN*KEYR 6400 Programmer’s Reference Guide Table 2-1 641223 Options Description Both options display help screen, briefly describing various options. Enable the engine aiming beam in “n” half second intervals for long-range scan engines with aiming beams. The “n” is optional, and specifies the number of intervals desired.
  • Page 47: Integrated Long Range Laser Engines

    There are some differences in the capabilities of the internal laser engine used in the 6400 and the non-decoded laser technology used in the RF terminals. The 1122 and the 1223 scanners are supported as described in the following table.
  • Page 48: Scanning Methods

    6400 Computer. The scanner driver controls the power to the engine, which means the scanner driver must be loaded before the 6400 SCAN key can operate. When using the internal laser engine without a tethered laser, add the “–t0”...
  • Page 49: Wedge Scanning

    A DOS terminal emulator, such as ProComm, can be used (without the scanner driver loaded) to verify the data received at the serial com port. Supporting DOS Applications Table 2-3 Engine Default Values PEN*KEYR 6400 Programmer’s Reference Guide...
  • Page 50: Api Scanning

    RF terminal Application Development Kit (ADK) applications to the 6400 Computer and development of DOS client scanning applications for the 6400 Computer, by hiding the complexities of scanning and validation algorithms from the application developer. The API enables an application to: Disable the internal scanner engine when scanning is not desired.
  • Page 51: Api Scanning Application Architecture

    Set Bar Code Options Read Bar Code Data Flush Scanner Concatenation Buffer Data Refer to the BIOS Interrupt Support section, for details of these functions, which are provided by Intermec Technologies Corporation. Figure 2-1 API Scanning System Architecture 64SCNPRM.EXE 64SCNPRM.DAT...
  • Page 52: Api Calling Sequence

    Any delay in the application calling Scanner Task Switch is reflected in scanner responsiveness. Internal Laser Configuration Tool: 64SCNPRM.EXE is provided in the 6400 DOS Tool Kit to facilitate setting the internal laser engine configuration parameters. 64SCNPRM uses multi-tasking functions and must be loaded over 6400IKPS.
  • Page 53: Scandos

    SE 1223 Integrated VLD Scanner User ’s Supporting DOS Applications disabled disabled disabled disabled disabled disabled none enabled if addon-2 or 5 enabled in menus disabled disabled disabled system character only disabled disabled PEN*KEYR 6400 Programmer’s Reference Guide 2-13...
  • Page 54: Scan Barcodes Menu

    The “1) Laser” menu item cannot be changed; Laser is always enabled, as there is no other scanner device type supported by the 6400 Computer. Scan Barcodes Menu The Scan Barcodes menu enables the scanner so you can test your setup. The symbology type is displayed to the right of the “Type>”...
  • Page 55: Tethered Laser Symbology Validations

    If the symbology type is not in the Decoded_Symbology_Type list, then the symbology type character and the bar code data is returned to the application as-is without any validation checks. 2-15 PEN*KEYR 6400 Programmer’s Reference Guide...
  • Page 56: Dos Npcp Printing: Pc4800.Sys

    DOS NPCP Printing: PC4800.SYS NPCP Printing Support, under DOS, consists of DOS device driver PC4800.SYS, which allows DOS and PL/N applications written for 6400 Computers to print to NORANDR 4810, 4815, and 4820 Printers, using the NPCP protocol. Installation and Configuration Required CONFIG.SYS Entry...
  • Page 57 PL/N support. The BIOS interface provided for INT 17h is not 100 percent PC compatible: it is meant to be compatible with PL/N. The support that the BIOS interface provides for standard applications is unknown. Supporting DOS Applications PEN*KEYR 6400 Programmer’s Reference Guide 2-17...
  • Page 58: Dos Irda Printing: Prdrv.sys, Irdapdrv.exe

    Supporting DOS Applications DOS IrDA Printing: PRDRV.SYS, IRDAPDRV.EXE The 6400 Computer supports IrDA printing under DOS. It consists of the device driver, PRDRV.SYS, plus IRDAPDRV.EXE, the actual driver handler, link management wrapper, and protocol stack. Together these two software components form the IrDA printer solution, providing a standard DOS character driver to support IrDA printers.
  • Page 59 IrLMP after the IrLAP link session was established with the remote device. LINK_MANAGEMENT_CONTROL_FRAME_EXPECTED Open failure, link management failure. The system did not receive an IrLMP control frame from the remote device after the IrLAP link session was established. PEN*KEYR 6400 Programmer’s Reference Guide Supporting DOS Applications 2-19...
  • Page 60 (if there is a coalescence buffer being used, see the –n switch for details). 2-20 PEN*KEYR 6400 Programmer’s Reference Guide NOT_LINK_MANAGEMENT_CONNECT_CONFIRM Open failure, link management failure. The system did not receive an IrLMP connect confirm frame from the remote device after the IrLAP link session was established.
  • Page 61: Installation And Configuration

    Use only the switches shown below for IRDAPDRV. It is a multi-platform program, providing features for all of the 6000 Series platforms. None of the other switches are intended for the 6400 Computer and could cause it to malfunction, if used on this platform.
  • Page 62: Dos Irda Lite Printing: Norirda.sys

    NORIRDA.SYS where: –t:systemType specifies the type of system being used. In this case, the number you select from the list: 6100, 6110, 6210, 6300, 6350, 6400, 6600, 6620, 6622, should be 6400. This parameter is NOT optional. –n:driverName should respond. The default is IRDADRVR.
  • Page 63: Battery Monitor: Dosgas.exe

    Default is 0. Coordinates for a percentage display (e.g., 75%) on screen. Note the virtual screen on the 6400 computer starts at line 9 in standard 16 line by 20 column font size. The –L and –F switches are options so the user can adjust the beep to a discernable sound in warehouse or other environment.
  • Page 64: High Level Applications

    Terminal Emulation This provides a means to emulate another computer. Keyboard overlays identify keys on the 6400 Computer as keys for the emulation. Refer to the 6400 User’s Guide for samples of some of these overlays. IrDA Communications...
  • Page 65: Client / Server Applications

    Supporting DOS Applications SECTION 2 Client / Server Applications ADK Application Porting Emulations 2-25 PEN*KEYR 6400 Programmer’s Reference Guide...
  • Page 66 Supporting DOS Applications SECTION 2 2-26 PEN*KEYR 6400 Programmer’s Reference Guide...
  • Page 67: Power Management

    " " " " " â 6400 Computer. This following list can assist you in your search Topic Summary ..ELANAPM.EXE List of Tables PEN*KEYR 6400 Programmer’s Reference Guide Section 3 "...
  • Page 68: Power Management Bios: Elanapm.exe

    To provide diagnostics with proprietary applications, functions specific to Intermec are also provided; and may not be independent of the hardware interfaces. The layer immediately above the APM BIOS includes the operating system power management driver.
  • Page 69: System Power State Management

    APM device drivers or APM-aware applications. Activity monitors are hardware-specific devices that watch for I/O to predefined I/O devices and I/O addresses. The PEN*KEY 6400 System has activity monitors for the following I/O devices. Whenever one of these devices is accessed, a bit in the activity monitor for the device becomes set.
  • Page 70: Device Power Control

    SUSPEND activity timer reaches zero, or the ON/OFF button is pressed, or the battery door latch is pressed. The System Suspend state is exited only by a wakeup event. There are many possible sources of wakeup events, and are defined by the 6400 Computer, as: ON/OFF or SCAN button press "...
  • Page 71 “Suspend.” No action is performed. Table 3-6 Power States (Backlight) Description Backlight is turned on. Not defined. Not defined. Backlight is turned off. PEN*KEYR 6400 Programmer’s Reference Guide Power Management...
  • Page 72: Power Device Ids

    Power Device IDs (Descriptions) Description System APM BIOS All devices power-managed by the APM BIOS Display Secondary storage (PC Card slot: dedicated to local area radio in 6400 Computer) Parallel ports RS-232 serial port RS-485 serial port Reserved for Ethernet network adaptors...
  • Page 73: Power Management Events

    Power Management Event Codes Description System Suspend Request Notification Normal Resume System Notification Critical Resume System Notification Battery Low Notification Power Status Change Notification Critical System Suspend Notification User System Suspend Request Notification PEN*KEYR 6400 Programmer’s Reference Guide Power Management...
  • Page 74 Set Power State function to set the system state to suspend. The BIOS does not enter the Suspend state on its own unless BIOS power management has been enabled with the Enable/Disable Power Management call. PEN*KEYR 6400 Programmer’s Reference Guide SECTION 3...
  • Page 75: Apm Bios Functions

    The contents of the AH register depend on the particular call. The following is a summary of the interrupt 15h functions that are available for APM on the 6400 Computer: DOS APM Interrupts (INT 15h) APM Installation Check...
  • Page 76: Radio Power Management

    Power Management Radio Power Management 3-10 PEN*KEYR 6400 Programmer’s Reference Guide SECTION 3...
  • Page 77: Firmware Error Codes

    Restore APM BIOS Power-On Defaults Set Power State Enable or Disable Device Power Management Enable or Disable Power Management Engage or Disengage Power Management Set Power State Set Power State Get PM Event APM Installation Check PEN*KEYR 6400 Programmer’s Reference Guide Power Management 3-11...
  • Page 78 SECTION 3 Power Management 3-12 PEN*KEYR 6400 Programmer’s Reference Guide...
  • Page 79: Communications And Device Support

    Devices 6400 Keyboard Definition and Redefinition ....Display ..........
  • Page 80: Communications Using Interlnk And Intersvr

    NORAND Utilities: 64UTILS.EXE The NORAND Utilities program, 64UTILS.EXE, provides the basic functions required to prepare the 6400 Computer for use. Refer to the 6400 User ’s Guide for detailed information on the use of NORAND Utilities. The following paragraphs provide information relating to the incorporation of communications facilities of the NORAND Utilities into the PEN*KEYR 6000 Series system.
  • Page 81: Session Control File

    (X for character) decimal number of bytes in record (fixed) > end of file header name of file to download, must be left-justified and blank padded to 16 characters. PEN*KEYR 6400 Programmer’s Reference Guide Communications and Device Support...
  • Page 82: Upload And Download Files

    <DDOSFIL00001Xmmm>F[––dosfilename––] S[filesize]data . . . DOSFIL 00001 [––dosfilename––] Complete DOS filename (this parameter may be of <space> [filesize] data . . . PEN*KEYR 6400 Programmer’s Reference Guide < Beginning of file header File type Filename Decimal number of records in file, Right-justified and zero-padded...
  • Page 83 <DDOSFIL00001X027>F\DATA\DATAFILE.DAT S102000 It is the responsibility of the 6400 Application Program to ensure that the filename specified is unique on the host. This could be accomplished by incorporating the computer ID as part of the filename or path name: <DDOSFIL00001X027>F\DATA\DATA0001.DAT S102000...
  • Page 84 Example Control File for TTY: PROTOCOL=3 COM=1 SPEED=9600 PARITY=0 DATABITS=8 STOPBITS=1 Example Control File for NPCP: PROTOCOL=4 PEN*KEYR 6400 Programmer’s Reference Guide SECTION 4...
  • Page 85: Upload Control File

    If you need more information on PL/N file formats, refer to Writing TCOM Modules in PL/N for the Computer, or refer to the host telecommunications manual. Communications and Device Support S102000 PEN*KEYR 6400 Programmer’s Reference Guide...
  • Page 86: Minimum Nrupld.ctl

    Session Control File. This file could have any name. SCNTRL.DAT is used just as an example. Example NRUPLD.CTL HEADER=<DSCNTRl00001X042> FILE=SCNTRL.DAT HEADER=<DBYPRD 00000X040> FILE=BYPRD.DAT HEADER=<DBYTRXN00000X001> RECTYPE=A FORMAT=N004N005 RECTYPE=B FORMAT=X010 RECTYPE=C FORMAT=N004X005 FILE=BYTR00.DAT FILE=BYTR01.DAT file=bytr02.dat FILE=BYTR03.DAT HEADER=<DDOSFIL00001X010>FIMAGE.PCX FILE=IMAGE.PCX HEADER=<DDOSFIL00001X020>F\RT00001\COMMON.DAT FILE=COMMON.DAT HEADER=<DDOSFIL00001X000> FILE=MYFILE.DAT PEN*KEYR 6400 Programmer’s Reference Guide SECTION 4...
  • Page 87: Communications Log File

    Incorrect file header was encountered File error was encountered Telecommunications was aborted before the first file header was received Meaning Sign-on started Data send started Turn-around started Data receive started Sign-off started PEN*KEYR 6400 Programmer’s Reference Guide Communications and Device Support...
  • Page 88: Protocol Errors

    2xx = one of the standard Hayes response codes, or a code defined by 64UTILS.EXE, where 2xx = one of the following codes: Error Code Error Code 4-10 PEN*KEYR 6400 Programmer’s Reference Guide Table 4-1 TTY Protocol Errors Description No error...
  • Page 89: Serial Communications

    Data Carrier Detect Receive Data Transmit Data Looped to DSR Data Transmit Ready Ground Looped to DTR Data Send Ready Request To Send Clear To Send 5 volts (See Caution, below) PEN*KEYR 6400 Programmer’s Reference Guide Communications and Device Support 4-11...
  • Page 90: Lan Communications

    There are overlays for the 41-key keyboard and the 51-key keyboard. Refer to the 6400 Hand-Held Computer User ’s Guide (NPN: 961-047-093) for examples of overlays for the 6400 Computer. One example of a keyboard overlay for the 6400 Computer is the “standard DOS/PC” for use with most applications that would not otherwise require a specific overlay.
  • Page 91: Figure 4-2 41-Key Keyboard

    The physical keyboard is defined to be the mechanical 41-key or 51-key keypad that is built into the 6400 Computer. Figure 4-2 and Figure 4-3 show the 41-key keyboard and the 51-key keyboard for the 6400 Computer, without an overlay.
  • Page 92: Figure 4-3 51-Key Keyboard

    The 51 key keyboard alphabetic and numeric keys are single keystrokes. " Special function keys can be entered by using the green, blue, or yellow shift keys. 4-14 PEN*KEYR 6400 Programmer’s Reference Guide 1. Scan key 2. Enter keys 3. Windows panning (or scrolling) keys 4. Numeric keys (0–9) 5.
  • Page 93: Keyboard Redefinition

    " NOTE: Keep in mind that ANSI.SYS only works with default fonts. This means if you are using any Intermec fonts, or other acquired fonts, you could encounter difficulties in remapping keys to with these fonts. An escape sequence is a string of text that begins with two preliminary keys, which includes the escape character and the left-bracket character “[”.
  • Page 94: Using Ansi.sys

    ANSI.SYS for further information. Switches Remaps extended keys independently on PC-compatible keyboards. There are other switches allowed with ANSI.SYS. " NOTE: Refer to DOS help on ANSI.SYS for further information. 4-16 PEN*KEYR 6400 Programmer’s Reference Guide SECTION 4 “ ”...
  • Page 95: Sticky Keys

    Press (and release) one of the “Sticky” keys. Then press another key. Normal Results Using these “Sticky” keys on the 6400 keyboard in the manner described in the previous paragraph, provides the same results as pressing and holding the shift key on the standard PC keyboard.
  • Page 96: Display

    APIs that can be used for controlling the video display from an application. Standard Mode 3 vs Graphics Mode The 6400 Computer is CGA compatible in standard modes. In these modes, you can write directly to the video memory. Since the BIOS puts the system into graphics mode 43h, whenever the character size is changed from 8x8, the video memory could produce undesired results if your application writes directly to the video memory.
  • Page 97: Contrast Control

    Refer to the 6400 User ’s Guide for additional information on the annunciators. Refer to the Controlling the Display with APIs paragraph on page 4-24, for a list of APIs that can be used to change the annunciators from inside an application.
  • Page 98: Viewport

    Communications and Device Support Viewport The 6400 display is only one-eighth the size of a full CGA screen. It is merely a viewport into the logical (or virtual) display. For applications that display information beyond the physical boundaries of the 6400 display, the viewport can be positioned to access all of the information, as described in the following paragraphs.
  • Page 99: Setting The Viewport To Follow The Cursor

    After the previous code has been executed, you should lock it in place. Set the following registers and call INT 10h to accomplishes this: On entry: AX = 1206h BH = 00h BL = 0F6h 2 wwxx yyzz PEN*KEYR 6400 Programmer’s Reference Guide Communications and Device Support 4-21...
  • Page 100: Unlocking The Viewport

    The character size is changeable by parameter menus. The standard size is 20 columns and 18 rows. Other available sizes are as follows: Rows: Columns: 10, 13, 16, 20, 26, 32 4-22 PEN*KEYR 6400 Programmer’s Reference Guide (change screen size function) 8, 10, 16 9, 12, 18 SECTION 4...
  • Page 101: Non-Pc Fonts

    –F1 provides use of an alternate character set, which includes: 00h–06h, 09h, 0Bh, 0Fh, 1Ah, 1Bh, 7Fh, FEh, and FFh. –F0 option restores the default character set, which consists of the following: 10h–16h, 1Ah, 1Bh, 1Eh, and 80h–84h. Communications and Device Support PEN*KEYR 6400 Programmer’s Reference Guide 4-23...
  • Page 102: Controlling The Display With Apis

    Read Cursor Position and Type ......03h 4-24 PEN*KEYR 6400 Programmer’s Reference Guide Table 4-4...
  • Page 103 Refresh the Screen ........FFh Communications and Device Support AH= AL= PEN*KEYR 6400 Programmer’s Reference Guide 4-25...
  • Page 104: Memory

    Communications and Device Support Memory The 6400 Computer uses two types of memory: Main memory DRAM and flash memory. The main memory is protected by the backup battery during low or dead main battery conditions. Creating RAM and Flash Disks Refer to the Reprogramming Flash Memory paragraph, in the Getting Started section of this publication for a detailed description.
  • Page 105 C400, C800, CC00, D800, DC00, and E000. Note that the last block is 32KB in size instead of 16 KB. This is a hardware constraint defined by the memory controller in the processor chipset. The 6400 Computer provides upper memory (C400–CFFF, D800–E3FF) and HMA memory, using both HIMEM.SYS and ELANUMP.SYS: DEVICE=HIMEM.SYS DOS=HIGH DEVICE=ELANUMP.SYS /X=C000, D000, D400, E400, E800, EC00...
  • Page 106: Battery

    Discharge Rate The maximum discharge rate is 2 Amperes. A fully charged battery pack, left outside of a charger or your 6400 Computer, self-discharges in about 20 days. Capacity You can check to see if the batteries need to be replaced, by touching the top two contacts on the battery with your fingers.
  • Page 107: Annunciators

    The battery annunciators indicate the level of the main battery. Low Battery Level " NOTE: The Bs in the preceding table are actually displayed on the 6400 Computer as small battery icons. When the capacity reaches 20%, the single annunciator icon changes to four Ls, as described in the preceding chart.
  • Page 108: Charging Your Battery Pack

    Communications and Device Support Charging Your Battery Pack The battery pack can be charged in your 6400 computer, or in a charger. When you remove fully charged batteries from the charger, it is best to place it directly into a 6400 computer.
  • Page 109: Charger Problems And Solutions

    Perform the following check, if one of the states above referenced note 2: 2. This issue could be caused by a bad charger cup or a bad 6400 computer. Insert different batteries into this same charger cup. If the cup produces this same fault state (in the other batteries), then this cup on the charger is bad.
  • Page 110: Beeper

    The setup (or adjustments), for Key Click and Error Tone, are supported through the Terminal Emulation Menu screens (if your hand-held is emulation equipped). Refer to the 6400 User’s Guide for detailed descriptions of the Terminal Emulation Menu Screens. NORAND Utilities also provides options for adjusting these parameters.
  • Page 111 Introduction This section contains detailed descriptions of the BIOS interrupts supported for the PEN*KEYr 6400 Computer. Several methods have been provided for locating the interrupts and their definitions, as described below: The Topic Summary, below, contains pointers to each of the major topics "...
  • Page 112: Cross-Reference By Interrupt Number

    BIOS Interrupt Support Cross-Reference by Interrupt Number The table below contains a list of interrupts supported for the 6400 Computer. They are organized by interrupt number, in ascending order. " NOTE: A checkmark in the column labeled as, Ext., indicates the interrupt is an extensions to the standard BIOS.
  • Page 113 Enable Checksum of RAM Drive Integrity Memory ..BIOS Interrupt Support Ext. AH= AL= BH= BL= Ext. AH= AL= Ext. AH= AL= PEN*KEYR 6400 Programmer’s Reference Guide Page 5-18 5-19 5-20 5-21 5-22 5-23 5-24...
  • Page 114 Get System Configuration Parameters ..... Return Extended BIOS Data-Area Segment (EBDA) ..PEN*KEYR 6400 Programmer’s Reference Guide SECTION 5 Ext.
  • Page 115 Flush Scanner Concatenation Buffer ......BIOS Interrupt Support Ext. AH= AL= Ext. AH= AL= Ext. AH= AL= PEN*KEYR 6400 Programmer’s Reference Guide Page 5-61 5-61 5-62 5-62 5-62 5-63...
  • Page 116: Interrupt Definitions

    BIOS Interrupt Support Interrupt Definitions This paragraph contains a detailed listing of the interrupts supported for 6400 applications. To search for an interrupt by interrupt number: refer to Table 5-1, Interrupt Cross-Reference , on page 5-2, in this section, "...
  • Page 117: Int 10H, Display Services

    On Entry: AH = 01h CH = Starting scan row in character box (range: 0 to 7) CL = Ending scan row in character box (range: 0 to 7) On Return: None BIOS Interrupt Support PEN*KEYR 6400 Programmer’s Reference Guide...
  • Page 118 0x0E. Pages 0 and 1 may be selected for modes 0x0F and 0x10. The cursor position and display information are maintained for pages during switches. On Entry: AH = 05h BH = Display page number (zero-based) On Return: None PEN*KEYR 6400 Programmer’s Reference Guide SECTION 5...
  • Page 119 AL = Number of lines to scroll BH = Attribute for blank lines CX = Upper-left corner CH = Line CL = Column DX = Lower-right corner CH = Line CL = Column On Return: None BIOS Interrupt Support PEN*KEYR 6400 Programmer’s Reference Guide...
  • Page 120 AH = 09h AL = Value of the character BH = Display page number BL = Character attribute (or color in graphics mode) CX = Count of characters to write On Return: None 5-10 PEN*KEYR 6400 Programmer’s Reference Guide SECTION 5...
  • Page 121 0 = off 1 = on BH = Page number CX = Dot column number 0–320 = Modes 4–5 0–640 =Mode 6 DX = Dot row number On Return: AL = Color value BIOS Interrupt Support PEN*KEYR 6400 Programmer’s Reference Guide 5-11...
  • Page 122 Returns information stored in locations maintained by Function AH=00h and Function AH=05h. On Entry: AH = 0Fh On Return: AH = Number of columns on screen AL = Current video mode BH = Current active display page 5-12 PEN*KEYR 6400 Programmer’s Reference Guide SECTION 5...
  • Page 123 Positions the viewport to the upper-left corner of the full VGA screen. On Entry: AH = 12h AL = 01h BH = 00h BL = 0F6h On Return: None Alternate Function Alternate Function Alternate Function Alternate Function PEN*KEYR 6400 Programmer’s Reference Guide BIOS Interrupt Support 5-13...
  • Page 124 CL = Switch value 0 (disable) 1 (enable) On Return: None 5-14 PEN*KEYR 6400 Programmer’s Reference Guide Alternate Function ; Window in which cursor can move ; without the viewport moving. ; Once the cursor moves outside, ; the viewport follows.
  • Page 125 Unlocks the viewport so the position and size can be changed. On Entry: AH = 12h AL = 07h BH = 00h BL = 0F6h On Return: None Alternate Function Alternate Function Alternate Function PEN*KEYR 6400 Programmer’s Reference Guide BIOS Interrupt Support 5-15...
  • Page 126 Refer to The Standard Display and The Wide Display paragraphs, in the Communications and Device Support section of this publication, for details concerning available lines and columns. 5-16 PEN*KEYR 6400 Programmer’s Reference Guide Alternate Function Alternate Function Alternate Function SECTION 5...
  • Page 127 DL = Window coordinate (Column) On Return: None Alternate Function ( display mode = MODE_CHASE) Alternate Function ( display mode = MODE_FIXED PEN*KEYR 6400 Programmer’s Reference Guide BIOS Interrupt Support select 3x4x specific display mode select 3x4x specific display mode 5-17...
  • Page 128 On Return: AH = Number of columns AL = Number of lines ES:DI = Address of table of the supported sizes 5-18 PEN*KEYR 6400 Programmer’s Reference Guide Alternate Function ( display mode = MODE_SETPARMS) Alternate Function ( display mode =...
  • Page 129 BH = Contrast value (range: 0 = lightest to 255 = darkest) temperature compensated Alternate Function (Get contrast function) temperature compensated Alternate Function (Set contrast function) absolute, no compensation Alternate Function (Get contrast function) PEN*KEYR 6400 Programmer’s Reference Guide BIOS Interrupt Support 5-19...
  • Page 130 BH = Off time for heater On Return: None " NOTE: The function, described above, is NOT currently supported. 5-20 PEN*KEYR 6400 Programmer’s Reference Guide absolute, no compensation Alternate Function (Set Contrast function) Alternate Function (Compensate Contrast function) Alternate Function...
  • Page 131 AL = 01h BH = 00h BL = 0FFh On Return: None Alternate Function (Turn Contrast Heater On function) Alternate Function (Turn Backlight On function) Alternate Function (Turn Backlight Off function) PEN*KEYR 6400 Programmer’s Reference Guide BIOS Interrupt Support 5-21...
  • Page 132 BL = 0FFh BH = Intensity (range: 0 = lightest to 255 = darkest) On Return: None 5-22 PEN*KEYR 6400 Programmer’s Reference Guide Alternate Function (Toggle Backlight function) Alternate Function (Read Backlight Intensity function) Alternate Function (Write Backlight Intensity function)
  • Page 133 AL = 07h BL = 0FFh On Return: BH = Timer value in seconds Alternate Function (Set Backlight Timer function) Alternate Function (Refresh Backlight function) Alternate Function (Read Backlight Timer function) PEN*KEYR 6400 Programmer’s Reference Guide BIOS Interrupt Support 5-23...
  • Page 134 ES:DI + 6 ES:DI + 7 On Return: None Note: The largest bitmap font that can be supported is 8 kilobytes. 5-24 PEN*KEYR 6400 Programmer’s Reference Guide Load main font Load 16-line display font Binary Data 0001 0000 0001 0000...
  • Page 135 DS:SI = Points to pixel map On Return: None INT 10h, Function AH = FFh; Refresh the Screen BIOS Refreshes the display screen. On Entry: AH = 0FFh On Return: None BIOS Interrupt Support PEN*KEYR 6400 Programmer’s Reference Guide 5-25...
  • Page 136: Int 13H, Disk Services

    AH =error code Error Codes: Refer to Table 5-2, Disk Status Error Codes, page 5-34, for a list of the possible error codes. Note: Some BIOS systems return the status in register AL. 5-26 PEN*KEYR 6400 Programmer’s Reference Guide SECTION 5...
  • Page 137 Note 2: Many BIOS systems use only the low four bits of DH (head number) since the WD-1003 controller (the standard AT controller and the controller that IDE emulates) only supports 16 heads. See Also: Functions AH=03h and AH=0Ah. BIOS Interrupt Support PEN*KEYR 6400 Programmer’s Reference Guide 5-27...
  • Page 138 Note 2: Many BIOS systems use only the low four bits of DH (head number) since the WD-1003 controller (the standard AT controller and the controller that IDE emulates) only supports 16 heads. See Also: Functions AH=02h and AH=0Bh. 5-28 PEN*KEYR 6400 Programmer’s Reference Guide SECTION 5...
  • Page 139 16 heads. Note 3: This function does not compare the disk with memory. It checks whether the sector’s stored CRC matches the data’s CRC. See Also: Function AH=02h. BIOS Interrupt Support PEN*KEYR 6400 Programmer’s Reference Guide 5-29...
  • Page 140 See Also: Functions AH=05h “FIXED”, AH=17h, AH=18h, and INT 1E. Format of address field buffer entry (one per sector in track): Offset Size 5-30 PEN*KEYR 6400 Programmer’s Reference Guide Description BYTE Track number BYTE Head number (zero-based) BYTE Sector number...
  • Page 141 03h = 720K 04h = 1.44M All others = unknown = Cylinder number, bits 0–7 bits 0–5 = Maximum sector number bits 0–5 = Maximum head number (range: 0 to 63) PEN*KEYR 6400 Programmer’s Reference Guide BIOS Interrupt Support 5-31...
  • Page 142 06h = change line active or not supported (See Note, below) 80h = Drive not ready or not present Note: Call AH=15h first, to determine whether the drive supports a change line. See Also: Functions AH=15h. 5-32 PEN*KEYR 6400 Programmer’s Reference Guide SECTION 5...
  • Page 143 00h = Requested combination supported 01h = Function not available 0Ch = Not supported or drive type unknown 80h = There is no disk in the drive See Also: Functions AH=05h, AH=07h, AH=17h. BIOS Interrupt Support PEN*KEYR 6400 Programmer’s Reference Guide 5-33...
  • Page 144: Table 5-2 Disk Status Error Codes

    Disk Services Return Status Any of the following error codes could be returned for any of the disk services in this set of services (INT 13): Status 5-34 PEN*KEYR 6400 Programmer’s Reference Guide Table 5-2 Disk Status Error Codes Description Successful completion...
  • Page 145: Int 13H, Norand Extensions

    Carry = 0 AH = 00h if NOT successful: Carry = 1 AH = Status of operation 01h = Parity error 02h = Interrupt error 03h = Address line 20 gating failed BIOS Interrupt Support PEN*KEYR 6400 Programmer’s Reference Guide 5-35...
  • Page 146: Int 14H, Communications Services

    AL = Modem status register Error Codes: Refer to Table 5-3, Line Status Register Values (page 5-40), and Table 5-4, Modem Status Register Values (page 5-40), for a list of the bit values. 5-36 PEN*KEYR 6400 Programmer’s Reference Guide SECTION 5...
  • Page 147 AL = Modem status register Error Codes: Refer to Table 5-3, Line Status Register Values (page 5-40), and Table 5-4, Modem Status Register Values (page 5-40), for a list of the bit values. BIOS Interrupt Support PEN*KEYR 6400 Programmer’s Reference Guide 5-37...
  • Page 148 Modem Status Register Values (page 5-40), for a list of the bit values. " NOTE: This is a nonstandard PC function. It may not be available in every PC BIOS. Use caution where portability is a concern. 5-38 PEN*KEYR 6400 Programmer’s Reference Guide SECTION 5...
  • Page 149 Table 5-4, Modem Status Register Values (page 5-40), for a list of the bit values. " NOTE: This is a nonstandard PC function. It may not be available in every PC BIOS. Use caution where portability is a concern. (read modem control register) PEN*KEYR 6400 Programmer’s Reference Guide BIOS Interrupt Support 5-39...
  • Page 150: Table 5-3 Line Status Register Values

    BIOS Interrupt Support Bit Values for Status Registers 5-40 PEN*KEYR 6400 Programmer’s Reference Guide Table 5-3 Line Status Register Values Description Timeout (if set, other bits are meaningless) Transmit shift register empty Transmit holding register empty Unused (break detected) Framing error...
  • Page 151: Int 15H, System Bios Services

    01h = Keyboard controller is in secure mode 86h = Function not supported supported on keyboard controller supported with bit 1 of I/O port 92h additional data is available (location not yet defined) PEN*KEYR 6400 Programmer’s Reference Guide BIOS Interrupt Support 5-41...
  • Page 152 Note: Your application should call INT 15h, function C0h to determine whether this feature is supported by the BIOS. " NOTE: This interrupt is a PC-like system service, but not necessarily PC compatible. 5-42 PEN*KEYR 6400 Programmer’s Reference Guide SECTION 5...
  • Page 153 APM driver must call the CPU Busy function to ensure the system is restored to normal processing clock speed after calling the CPU Idle function to slow down the processor clock speed). driver does not need to call the CPU Busy function). PEN*KEYR 6400 Programmer’s Reference Guide BIOS Interrupt Support 5-43...
  • Page 154 05h 16-bit protected mode interface already established 07h 32-bit protected mode interface already established 09h Unrecognized device ID Refer to the Error Codes paragraph in the Power Management section, in this book). 5-44 PEN*KEYR 6400 Programmer’s Reference Guide SECTION 5...
  • Page 155 NOT successful: Carry = 1 AH = Error code 03h Interface not connected 0Bh Interface not engaged Refer to the Error Codes paragraph in the Power Management section, in this book). BIOS Interrupt Support PEN*KEYR 6400 Programmer’s Reference Guide 5-45...
  • Page 156 PC Card Controller (not available for 6400 Computer) RS-232 Network adapters PC Card slots (not available for use on 6400 Computer) Devices defined by Intermec (Unit number of FFh means all devices in this class) (Refer to the APM BIOS Functions paragraph, in the Power Management section, for details of these devices defined by Intermec).
  • Page 157 01h Low 02h Critical 03h Charging FFh Unknown All other values reserved CH = Battery flag bit 0 = 1 High bit 1 = 1 Low Disable power management Enable power management PEN*KEYR 6400 Programmer’s Reference Guide BIOS Interrupt Support 5-47...
  • Page 158 80h No power management events pending Refer to the Error Codes paragraph in the Power Management section, in this publication, for additional information about error codes. 5-48 PEN*KEYR 6400 Programmer’s Reference Guide Time: 0 = Time-out in seconds 1 = Time-out in minutes Number of seconds or minutes: 0–7FFFh...
  • Page 159 All devices power managed by the APM BIOS Display RS232 Network adapters PC Card slots (not available for use on 6400 Computer) Devices defined by Intermec (Unit number of FFh means all devices in this class) (Refer to the APM BIOS Functions paragraph, in the Power Management section, for details of these devices defined by Intermec).
  • Page 160 All devices power managed by the APM BIOS Display RS232 Network adapters PC Card slots (not available for use on 6400 Computer) Devices defined by Intermec (Unit number of FFh means all devices in this class) (Refer to the APM BIOS Functions paragraph, in the Power Management section, for details of these devices defined by Intermec).
  • Page 161 On Return: if successful: Carry = 0 AH = 00h if NOT successful: Carry = 1 AH = Status 80h Invalid command 86h Function not supported See Also: Functions AH=81h, AH=82h BIOS Interrupt Support PEN*KEYR 6400 Programmer’s Reference Guide 5-51...
  • Page 162 BX = Process ID On Return: if successful: Carry = 0 AH = 00h if NOT successful: Carry = 1 AH = Status 80h Invalid command 86h Function not supported See Also: Functions AH=80h, AH=81h 5-52 PEN*KEYR 6400 Programmer’s Reference Guide SECTION 5...
  • Page 163 DX = B(y) Value (Function busy) (if DX = Read resistive inputs (positions) (if DX = Read resistive inputs (positions) (if DX = Read resistive inputs (positions) (if DX = Read resistive inputs (positions) PEN*KEYR 6400 Programmer’s Reference Guide BIOS Interrupt Support 5-53...
  • Page 164 DX = Low byte of time interval to wait (in microseconds) On Return: Carry = Status flag 0 (successful) after the time interval has concluded 1 (NOT successful) returns upon error or wait 83h in progress 5-54 PEN*KEYR 6400 Programmer’s Reference Guide SECTION 5...
  • Page 165 Uninitialized, Null descriptor (used by BIOS) Uninitialized, Made into GDT descriptor Uninitialized, Descriptor for source of move Uninitialized, Descriptor for destination of move Uninitialized, Used by BIOS Uninitialized, Made into SS descriptor PEN*KEYR 6400 Programmer’s Reference Guide BIOS Interrupt Support 5-55...
  • Page 166 BH and BL must be multiples of 8. See Also: Functions AH=87h, AH=88h 5-56 PEN*KEYR 6400 Programmer’s Reference Guide (in protected mode at specified address) (error enabling address line 20) Global Descriptor Table...
  • Page 167 See Also: Functions AH=91h, INT 13/AX=00h, INT 17/AH=00h, and INT 1A/AH=83h Non-reentrant devices. OS must arbitrate access. Reentrant devices. ES:BX points to a unique control block. Wait-only calls, no complementary INT 15, fn91h call. PEN*KEYR 6400 Programmer’s Reference Guide BIOS Interrupt Support 5-57...
  • Page 168 Carry = 1 ; wait was performed (I/O complete or time-out) if NOT successful: Carry = 0 if unsuccessful; no wait performed (driver must perform wait) See Also: Function AH=99h 5-58 PEN*KEYR 6400 Programmer’s Reference Guide SECTION 5...
  • Page 169 Bus is Micro Channel instead of PC System has dual bus (Micro Channel + ISA) Set to zero (reserved by IBM) Set to zero (reserved by IBM) Set to zero Set to zero (Award copyright here) PEN*KEYR 6400 Programmer’s Reference Guide BIOS Interrupt Support 5-59...
  • Page 170 AH = 86h CL = Resolution DL = Sample rate AH = Status of operation 5-60 PEN*KEYR 6400 Programmer’s Reference Guide (no EBDA) (see Function AX=C203h for details) (see Function AX=C202h for details) (see Function AX=C200h for details) SECTION 5...
  • Page 171: Int 16H, Keyboard Bios Services

    A command should be sent to the keyboard to update the LED settings, to ensure that the keyboard LEDs match the current flag settings. " NOTE: For the 6400, this function applies to the annunciators, not LEDs. On Entry: AH = 01h...
  • Page 172 Turns off the Key Click. On Entry: AH = 04h AL = 01h On Return: None 5-62 PEN*KEYR 6400 Programmer’s Reference Guide Shift Status Definition Insert state Caps Lock state Num Lock state Scroll Lock state Alt + Shift Ctl + Shift...
  • Page 173 BL = Volume (Not implemented) CX = Duration in milliseconds DX = Frequency in Hz On Return: None AL = 02h; Buzzer Control AL = 03h; Buzzer Control (Get parameters) AL = 04h; Buzzer Control PEN*KEYR 6400 Programmer’s Reference Guide BIOS Interrupt Support 5-63...
  • Page 174 AL = 08h (Make the selection) BL = Buzzer selection bit 0: bit 1: On Return: None 5-64 PEN*KEYR 6400 Programmer’s Reference Guide AL = 05h; Buzzer Control (Get parameters) AL = 06h; Buzzer Control AL = 07h; Buzzer Control AL = 08h;...
  • Page 175 AH = 04h AL = 09h (Sound the beep) BL = Volume (Not implemented) CX = Duration in milliseconds DX = Frequency in Hertz On Return: None AL = 09h; Buzzer Control PEN*KEYR 6400 Programmer’s Reference Guide BIOS Interrupt Support 5-65...
  • Page 176: Int 1Ah, Timer And Real-Time Clock Services

    On Entry: AH = 01h CX = High byte of the system timer tick count DX = Low byte of the system timer tick count On Return: None See Also: Functions AH=03h 5-66 PEN*KEYR 6400 Programmer’s Reference Guide SECTION 5...
  • Page 177 DL = Daylight Savings Time option 0 = off 1 = on On Return: Carry = Status Flag 0 (success) 1 (failure) See Also: Functions AH=01h, AH=02h, AH=05h (Standard Time) (Standard Time) (Daylight Savings Time) PEN*KEYR 6400 Programmer’s Reference Guide BIOS Interrupt Support 5-67...
  • Page 178 CL = Year in BCD (0–99) DH = Month in BCD (1–12) DL = Day in BCD (1–31) On Return: Carry = Status Flag 0 (success) (Clock is operating) 1 (failure) See Also: Function AH=04h 5-68 PEN*KEYR 6400 Programmer’s Reference Guide SECTION 5...
  • Page 179 Clears any pending alarm specified by INT 1Ah, Function 06h by resetting the AIE bit in Register B. On Entry: AH = 07h DS = Internal registers On Return: None See Also: Function AH=06h BIOS Interrupt Support PEN*KEYR 6400 Programmer’s Reference Guide 5-69...
  • Page 180 1 (failure) See Also: Function AH=08h INT 1Ah, Function AH = FFh: Load the Real-Time Clock to Internal Clock BIOS On Entry: AH = 0FFh On Return: Carry = 0 (success) 1 (failure) 5-70 PEN*KEYR 6400 Programmer’s Reference Guide SECTION 5...
  • Page 181: Int 7Ah, Scanner Services: 6400Ikps.exe

    Scanner On function. On Return: None then the value is read from the keyboard by the application. be available when this value is read from the keyboard. PEN*KEYR 6400 Programmer’s Reference Guide BIOS Interrupt Support Set Scanner 5-71...
  • Page 182 The enabling Symbology_Type, for EAN-8 with addon 5, is different from the Decoded_Symbology_Type (see the Read Bar Code Data function), to differentiate it from the ambiguous EAN-13 with no addon. 5-72 PEN*KEYR 6400 Programmer’s Reference Guide ASCII Symbology <NUL> last Barcode_Option structure in array <SOH>...
  • Page 183 UPC-E Addon 2 nddddddCaa EAN-8 Addon 2 fndddddCaa UPC-A Addon 2 nddddddddddCaa EAN-13 Addon 2 fnddddddddddCaa UPC-E Addon 5 nddddddCaaaaa EAN-8 Addon 5 fndddddCaaaaa * UPC-A Addon 5 nddddddddddCaaaaa EAN-13 Addon 5 fnddddddddddCaaaaa PEN*KEYR 6400 Programmer’s Reference Guide BIOS Interrupt Support 5-73...
  • Page 184 Interleaved 2 of 5 Symbology_Options bits bit 0 Code 128 Symbology_Options bits bit 0 Enable UCC/EAN-128 format: 5-74 PEN*KEYR 6400 Programmer’s Reference Guide where: a number system digit a bar code data digit a check digit an EAN flag 1...
  • Page 185 A second barcode length can be set to Fixed_length_2. If only one length of barcode is to be scanned, set Fixed_Length_2 to zero. BIOS Interrupt Support PEN*KEYR 6400 Programmer’s Reference Guide 5-75...
  • Page 186 The high bit of the DX register is set, if this decode indicates a need to concatenate the next scan. Concatenation is terminated when one of the following is true: 5-76 PEN*KEYR 6400 Programmer’s Reference Guide ASCII Symbology <BS>...
  • Page 187 The application may need to flush the buffer, if it recognizes that the last bar code scanned was concatenated. On Entry: AH = 0FEh On Return: None BIOS Interrupt Support PEN*KEYR 6400 Programmer’s Reference Guide 5-77...
  • Page 188 SECTION 5 BIOS Interrupt Support 5-78 PEN*KEYR 6400 Programmer’s Reference Guide...
  • Page 189 " " Introduction This section contains system information, intended for supporting application programming efforts on the PEN*KEYR 6400 Computer. This includes information about hardware ports, messages, error codes, I/O and IRQ maps, system variables. Topic ROM DOS 5 ........... . .
  • Page 190: Reference, System Information

    However, one change has been made to COMMAND.COM to make it more useful on the 6400 Computer, as described later in this section. If you prefer to use the unmodified version of COMMAND.COM, you can get it from the full DOS option, available on diskette.
  • Page 191 SECTION 6 COMMAND.COM Changes — Specific to Norand All of the messages displayed by COMMAND.COM have been shortened or split into multiple lines so they will fit the 20-column screen on the 6400 Computer. Error messages are displayed as numbers. "...
  • Page 192: Boot Process

    Reference, System Information Boot Process The following paragraphs describe the various methods used to boot the 6400 Computer. Also described are the options that are possible during the boot process, which you exercise by holding a key down during the boot phase or by reconfiguring a CMOS setting.
  • Page 193 In standard PCs, the CMOS RAM is usually the only memory that is maintained by a backup battery. In contrast, all memory in the 6400 Computer is maintained at all times, with a fully charged backup battery. This memory can be maintained for approximately 100 hours in the event of a main battery failure.
  • Page 194: Rom Dos 5 Is Booted

    Reference, System Information signature has been validated, the corresponding BIOS extension is made active (or posted). Currently the 6400 Computer includes the following BIOS extensions: the Datalight, Inc., Cardtrick Flash File System and ROM DOS 5 (ROMDOSLO.BIN). The Flash File System is already located and executed prior to this stage of the boot process since it resides in the address range of D000:0 through D7FF:F.
  • Page 195: Command.com Is Processed

    0 KB of extended memory is reported. Boot Drive Selection The 6400 Computer always boots DOS 5 from ROM, (that is, it never loads IO.SYS and MSDOS.SYS from a boot drive). CONFIG.SYS and AUTOEXEC.BAT files are read from the default drive whenever the files are present.
  • Page 196: System Messages

    Failure {nnnn} Keyboard Failure {nnnn} Memory Failure COM1 COM2 COM3 Memory Test Failure No FLASH Memory PEN*KEYR 6400 Programmer’s Reference Guide Table 6-1 System Messages Meaning Display of BIOS version Performs extended memory tests Reports number of extended memory KB tested...
  • Page 197: Audible Error Codes

    Cannot enable A20 using port 64h (standard keyboard port) Cannot enable A20 using port 92h (IBM fast A20 port). Cannot enable A20 using port 0EEh (special fast A20 port). Cannot copy BIOS into shadow RAM. PEN*KEYR 6400 Programmer’s Reference Guide Reference, System Information...
  • Page 198: Hardware Ports And Memory Maps

    IRQ5 processor processor IRQ7 processor IRQ8 IRQxx 6-10 PEN*KEYR 6400 Programmer’s Reference Guide Table 6-3 Hardware Ports Device Regular wired port, accessed through dock, or communications adaptor Internal bar code scanner IrDA port Not Applicable Table 6-4 Hardware Interrupts...
  • Page 199: I/O Map

    Reserved for PC Card general use Reserved (PC Card and SDLC) Reserved (MDA, EGA, and VGA) VGA and CGA COM 3 (IrDA port) Reserved for PC Card (primary ATA and IDE disk controller) COM 1 PEN*KEYR 6400 Programmer’s Reference Guide Reference, System Information 6-11...
  • Page 200: Bios/Cmos System Variables

    1 word 40:50 8 words 40:60 1 word 6-12 PEN*KEYR 6400 Programmer’s Reference Guide Table 6-6 BIOS Data in System RAM Description I/O address of up to four asynchronous communications adap- tors (COM1–COM4) Reserved: I/O address of up to three printer adaptors (LPT1–LPT3)
  • Page 201 Segmented pointer to user wait flag Wait timeout data word Wait active flag Reserved Reserved for real mode restart stack, used by RESTART RS-232 timeout counter, used by interrupt 14h Reserved, used by POST PEN*KEYR 6400 Programmer’s Reference Guide Reference, System Information 6-13...
  • Page 202: Cmos Registers

    71h to access the contents of the specified register. The first few registers are real-time clock registers. In the list that follows, register definitions specific to Intermec are bold and italicized. The remainder are defined by PC-compatibility standards.
  • Page 203 30h; Posted extended memory size 3Fh; ROM DOS boot flags 01h; Master Mode boot bit 06h; 00=A:, 01=B:, 10=C:, 11=D: 40h; Set only for Intel flash type 80h; Set only for AMD flash type PEN*KEYR 6400 Programmer’s Reference Guide Reference, System Information 6-15...
  • Page 204 Reference, System Information SECTION 6 6-16 PEN*KEYR 6400 Programmer’s Reference Guide...
  • Page 205: Reference, Open Systems Publications

    This section contains reference information, consisting of publications that were referenced from previous sections, as well as other recommended publications for application development activity. " NOTE: All Intermec publications can be ordered through your Intermec sales representative. Application API Publications APM BIOS Interface Specification 1.1 Intel Corporation Literature Distribution Center P.O.
  • Page 206 Boards belonging to the PDN (Programmer ’s Distribution Network) system CompuServe: " In the IBM Programming Forum (GO IBMPRO), Library 6, as INTrrA.*, INTrrB.*, INTrrC.*, and INTrrD.*. PEN*KEYR 6400 Programmer’s Reference Guide LISTSERV@RPITSVM (alias VM.ITS.RPI.EDU) LISTSERV@NDSUVM1 (alias VM1.NODAK.EDU) Austria TRICKLE@AWIWUW11...
  • Page 207 Addison-Wesley Publishing Company ISBN 0-201-57760-7 The Undocumented PC A programmer ’s guide to I/O, CPUs, and fixed memory areas. Addison-Wesley Publishing Company ISBN 0-201-62277-7 Writing TCOM Modules in PL/N for the HHC Intermec Technologies Corporation P/N: 541-002-523 PEN*KEYR 6400 Programmer’s Reference Guide...
  • Page 208: Dos 5.0 Api Publications

    Motorola Microprocessor, Microcontroller, and Peripheral Data, Volume II DL139 Motorola Literature Distribution P.O. Box 20912 Phoenix, AZ 85036 Proxim 295 North Bernardo Avenue Mountain View, CA 94043 (415) 960-1630 (415) 964-5181 FAX 1-800-229-1630 PEN*KEYR 6400 Programmer’s Reference Guide SECTION 7...
  • Page 209: Sample Configuration Files

    %%i in (...) do” statement appear to be incomplete. For a more true example, refer to the actual file in the Tool Kit. @echo off Echo PEN*KEY 6400 FLASH Bios elancfg /V1 /R1 /T2 /D4 /L25 /H1 for %%i in (net.cfg cdsvc1a.exe lsl.com r12pcm.com 64scn7b.exe if exist 6418bios.exe goto GOT18BIOS...
  • Page 210 –A –K –L –T –P0 if exist 6418bios.exe 6418bios if exist 6400bios.exe 6400bios 64scn7b cdsvc1a r12pcm wtppkt if exist fwp640h4.exe fwp640h4 if exist fwp640h0.exe fwp640h0 goto EXIT misctsr –A –K –L –T –P1 dosgas :EXIT â PEN*KEY 6400 Programmer’s Reference Guide...
  • Page 211: Sample Config.sys

    /X=C000,D000, D400, E400, E800, EC00 dos=umb devicehigh=c:\elanapm.exe devicehigh=c:\nordospm.exe devicehigh=c:\clock.exe devicehigh=c:\64apmoem.exe shell=c:\command.com c:\ /e:512 /p At a minimum, the following statements should be included: shell=c:\command.com c:\ /p device=c:\elanapm.exe device=c:\nordospm.exe devicehigh=c:\64apmoem.exe APPENDIX A Sample Configuration Files " â PEN*KEY 6400 Programmer’s Reference Guide...
  • Page 212 ; Program KEYREMAP.ASM ; Jörgen Westman 1997-02-27 ; Translates US 6400 keys to Swedish Keys ; Example of how to translate keys on the 6400 keyboard ; to country specific keys ; This example is doing a US to Swedish translation ;...
  • Page 213 ; Get the new flags ; and put them back on the stack ; The grey keys don’t have the prefix 0,n ; instead they have 0eh,n ; Alt[224] gives 0eh,0 ; pass this back unchanged â PEN*KEY 6400 Programmer’s Reference Guide...
  • Page 214 ;All code beyond this point is not preserved after exit and remains resident begin: push push â PEN*KEY 6400 Programmer’s Reference Guide bh,010h ; If we were called as extended read bh,bh ; then pass this back unchanged inter2 al,0 ;...
  • Page 215 ; Install new interrupt ; vector ; Code for exit and remain resident ; Length of interrupt routine ; Convert to ; number ; of ; segments ; Segments+1 ; Exit and remain resident â PEN*KEY 6400 Programmer’s Reference Guide...
  • Page 216 APPENDIX A Sample Configuration Files " â PEN*KEY 6400 Programmer’s Reference Guide...
  • Page 217: Index

    3-2 software interface, 1-18, 3-6 APM busy, 5-45 APM interrupt extensions, providing, 1-19 Application development: equipment setup, 1-12 minimum configuration, 1-8 Applications, locating, 4 PEN*KEYR 6400 Programmer’s Reference Guide INDEX General Index " " " " "...
  • Page 218 Bulletin Board, Norand, 6 Busy: CPUBusy, 3-3, 3-9, 5-43, 5-45 APM busy, 5-45 Device busy, 5-57, 5-61 Index-2 PEN*KEYR 6400 Programmer’s Reference Guide Card and Socket services: for radio driver (RL2PCM.COM only), 1-24 Character and attribute, APIs, 4-24 Character set: alternate, 1-22, 4-24...
  • Page 219 48xx printers, 2-16 See also NPCP Printing (DOS) DOS Advanced Power Management, 2-2 ODI packet driver shim, ODIPKT.COM, 1-24 printing, IrDA (DOS), See IrDA Printing (DOS) printing, NPCP (DOS), See NPCP Printing (DOS) PEN*KEYR 6400 Programmer’s Reference Guide INDEX General " Index-3...
  • Page 220 5-24 non-standard font: downloading, 4-23 remapping, 4-15 Index-4 PEN*KEYR 6400 Programmer’s Reference Guide pointer to font information, 5-17 relating to MISCTSR, 1-22, 4-24 unavailable characters, 4-24 Format of ROM Configuration Table, 5-59 Four key reset, 1-10, 1-12, 6-4...
  • Page 221 Packet driver shim, ODIPKT.COM, 1-24 Page number, default, 5-8 Panning, 1-22, 4-13, 4-14, 4-20, 4-21, 4-24, 5-14 Parameters for control file, using 64UTILS.EXE, 4-5 PC Cards, 1-3, 1-4 PCMCIA, See PC Cards PEN*KEYR 6400 Programmer’s Reference Guide INDEX General " Index-5...
  • Page 222 1-16, 1-19 default, 1-16 invalid drive message, 6-5 overview, 1-15 removinging, 1-10 size vs total HHC memory, 1-16 Index-6 PEN*KEYR 6400 Programmer’s Reference Guide RAM: shadow, 6-4 sizes, 1-3 RAMDFMT.CTL, sample line, 1-16 Rebooting, 1-24 Recommendations, development environment, 1-11...
  • Page 223 1-18 example control file, 4-6 protocol error messages, 4-10 computer ID, 4-3, 4-5 Type, cursor, default, 5-7 Unavailable characters, 4-23 Updates, software, using 6400.BAT, 1-19 Upload control file: example, 4-8 parameters, 4-7 Upper memory: support, ROM DOS 5, 6-2...
  • Page 224 NPCP (DOS), 2-16 scanner (DOS), 2-6 User System Suspend Request Notification. See Notifications Utility programs, 1-19 6400.BAT, software update batch file, 1-19 64APMOEM.EXE, APM extensions, 1-19 BIOS.EXE, BIOS version level, 1-19 BOOTDRV.COM, boot drive, 1-19 CDSVC1A, radio driver, 1-19 CLOCK.EXE, patch for DOS clock, 1-19...
  • Page 225: Files Index

    INTERSVR.EXE, 1-8, 1-9, 1-10, 1-12, 1-15, 4-2, 4-16 IO.SYS, 6-2, 6-7 IPLFMT.EXE, 1-6, 1-17 IRDAPDRV.EXE, 1-18, 2-18, 2-21 ISRAMDRV.COM, 1-22 LSL.COM, 1-22 MININET.EXE, 4-2, 4-12 MISCTSR.EXE, 1-18, 1-22, 4-23, 5-6 MMBFLAG.COM, 1-23 PEN*KEYR 6400 Programmer’s Reference Guide Files Index " " " " " " "...
  • Page 226 NORDOSPM.EXE, 1-18,2-2, 2-6, 3-2, 4-28, 5-6 NORIRDA.SYS, 2-22 NRTLOG.DAT, 4-9 NRUPLD.CTL, 4-7, 4-8 ODIPKT.COM, 1-24 PC4800.SYS, 1-17, 1-18, 2-16 Index-10 PEN*KEYR 6400 Programmer’s Reference Guide PRDRV.SYS, 1-18, 2-18, 2-21 RAMDFMT.CTL, 1-16 RAMDFMT.EXE, 1-16, 1-18 RB.BAT, 1-10 REBOOT.COM, 1-24 RELNOTES.TXT, 1-5, 1-6 RESET.EXE, 1-10...
  • Page 227 Write BIOS Annunciator Values (with attribute), INT 10h, 5-16 Write BIOS Annunciator Values (without attribute), INT 10h, 5-16 Block: Copy Extended Memory Block, INT 15h, 5-55 Buffer: PEN*KEYR 6400 Programmer’s Reference Guide Interrupts Index " " " " " "...
  • Page 228 Set the Real-Time Clock Alarm, INT 1Ah, 5-69 Set the Real-Time Clock Date, INT 1Ah, 5-68 Set the Real-Time Clock Time, INT 1Ah, 5-67 Index-12 PEN*KEYR 6400 Programmer’s Reference Guide Timer and Real-Time Clock Services, Interrupt 1Ah, 5-66 Close: Device Close, INT 15h, 5-52...
  • Page 229 Flush Scanner Concatenation Buffer, INT 7Ah, 5-74 Follow: Set Viewport to Follow Cursor, INT 10h, 5-14 Font: Load User Font, INT 10h, 5-24 Return Pointer to Current Display Parameter Packet and Font Information, INT 10h, 5-17 PEN*KEYR 6400 Programmer’s Reference Guide INDEX Interrupt " Index-13...
  • Page 230 Complete the Interrupt, INT 15h, 5-58 Interval: Cancel Event Wait Interval, INT 15h, 5-53 Set Event Wait Interval, INT 15h, 5-53 Index-14 PEN*KEYR 6400 Programmer’s Reference Guide Joystick: Read Joystick Input Settings, INT 15h, 5-53 Key, Keyboard: Get Key Click Parameters, INT 16h, 5-63...
  • Page 231 Enable/Disable Power Management, INT 15h, 5-47 Get PM Event, INT 15h, 5-48 Pressed: System Request (SysReq) Key Pressed/Released, INT 15h, 5-54 Processor: Switch Processor to Protected Mode, INT 15h, 5-56 Program Termination, INT 15h, 5-52 Protected: PEN*KEYR 6400 Programmer’s Reference Guide INDEX Interrupt " Index-15...
  • Page 232 Scanner On, INT 7Ah, 5-71 Scanner Services, Interrupt 7Ah, 5-71 Scanner Task Switch, INT 15h, 5-41 Index-16 PEN*KEYR 6400 Programmer’s Reference Guide Set Bar Code Options, INT 7Ah, 5-72 Set Scanner Type, INT 7Ah, 5-71 Screen: Refresh the Screen, INT 10h, 5-25...
  • Page 233 Window: Scroll Window Down (active page), INT 10h, 5-9 Scroll Window Up (active page), INT 10h, 5-9 Write: Teletype Character Write, INT 10h, 5-12 (also, see specific ’Write’ function, by topic) PEN*KEYR 6400 Programmer’s Reference Guide INDEX Interrupt " Index-17...
  • Page 234 INDEX Interrupt " Index-18 PEN*KEYR 6400 Programmer’s Reference Guide...

Table of Contents