Intermec PEN*KEY 6200 Programmer's Reference Manual

Hand-held computer
Hide thumbs Also See for PEN*KEY 6200:
Table of Contents

Advertisement

R
PEN*KEY
6200/6300 Hand-Held Computer
PROGRAMMER'S
REFERENCE GUIDE
"
"
"
"
"
"
"
"
"
"
"
"
"
"
"
"
"
"
"
"
"
P/N 977-054-003

Advertisement

Table of Contents
loading

Summary of Contents for Intermec PEN*KEY 6200

  • Page 1 PEN*KEY 6200/6300 Hand-Held Computer PROGRAMMER’S REFERENCE GUIDE " " " " " " " " " " " " " " " " " " " " " P/N 977-054-003...
  • Page 2 " NOTICE Acknowledgments...
  • Page 3 CONTENTS " " " " " " " " " " " " " " " " " " " " Preface SECTION 1 Getting Started PEN*KEY 6200/6300 Hand-Held Computer Programmer’s Reference Guide...
  • Page 4 CONTENTS ii PEN*KEY 6200/6300 Hand-Held Computer Programmer’s Reference Guide...
  • Page 5 CONTENTS SECTION 2 Supporting DOS Applications PEN*KEY 6200/6300 Hand-Held Computer Programmer’s Reference Guide...
  • Page 6 CONTENTS SECTION 3 Supporting Windows Applications PEN*KEY 6200/6300 Hand-Held Computer Programmer’s Reference Guide...
  • Page 7 CONTENTS SECTION 4 Power Management BIOS: NORAPM.EXE PEN*KEY 6200/6300 Hand-Held Computer Programmer’s Reference Guide...
  • Page 8 CONTENTS SECTION 5 Communications and Device Support PEN*KEY 6200/6300 Hand-Held Computer Programmer’s Reference Guide...
  • Page 9 CONTENTS SECTION 6 Conversions and Interfaces PEN*KEY 6200/6300 Hand-Held Computer Programmer’s Reference Guide...
  • Page 10 CONTENTS SECTION 7 System Information viii PEN*KEY 6200/6300 Hand-Held Computer Programmer’s Reference Guide...
  • Page 11 CONTENTS SECTION 8 Open Systems Publications APPENDIX A Sample Configuration Files APPENDIX B Common PEN*KEY 6000 Series Information PEN*KEY 6200/6300 Hand-Held Computer Programmer’s Reference Guide...
  • Page 12 CONTENTS FIGURES PEN*KEY 6200/6300 Hand-Held Computer Programmer’s Reference Guide...
  • Page 13 CONTENTS TABLES GLOSSARY INDEX PEN*KEY 6200/6300 Hand-Held Computer Programmer’s Reference Guide...
  • Page 14 CONTENTS xii PEN*KEY 6200/6300 Hand-Held Computer Programmer’s Reference Guide...
  • Page 15 " " " " " " " Scope " " " " " " " Topic Summary PEN*KEY 6200/6300 Hand-Held Computer Programmer’s Reference Guide Preface " " " " " "...
  • Page 16: Related Publications

    Preface Flash Version 1.40 to 1.5x Level of Expertise Needed For the New User Related Publications PEN*KEY 6200/6300 Hand-Held Computer Programmer’s Reference Guide...
  • Page 17: Structure Of The Book

    Section 4, Power Management Section 5, Communications and Device Support " " Section 6, Conversions and Interfaces " Section 7, System Information Section 8, Open Systems Publications Appendix A, Sample Configuration Files PEN*KEY 6200/6300 Hand-Held Computer Programmer’s Reference Guide Preface...
  • Page 18: Locating Information

    Preface Appendix B, Common PEN*KEY 6000 Series Information " " " Index " " " Locating Information Contents Topic Summaries Tabs PEN*KEY 6200/6300 Hand-Held Computer Programmer’s Reference Guide...
  • Page 19: Locating Files And Applications

    Index Locating Files and Applications " " " " " " " " " " " " Locating Interrupt Definitions " " " " PEN*KEY 6200/6300 Hand-Held Computer Programmer’s Reference Guide Preface...
  • Page 20: Support Available

    Support Available " NOTE: Other related information is available from third-party suppliers. Many of these sources are identified in Section 8. Factory Service Customer Support Center Web Site Bulletin Board Service " " PEN*KEY 6200/6300 Hand-Held Computer Programmer’s Reference Guide...
  • Page 21: Getting Started

    Section 1 Getting Started " " " " " " " " " " " " " " " " " " " " Topic Summary PEN*KEY 6200/6300 Hand-Held Computer Programmer’s Reference Guide...
  • Page 22: Open System Environment

    Getting Started Open System Environment Introduction to the 6200 and 6300 Series Computers Operating System How the Software is Different How the Hardware is Different PEN*KEY 6200/6300 Hand-Held Computer Programmer’s Reference Guide List of Figures and Tables SECTION 1...
  • Page 23: Power Management

    Main Battery installed. " NOTE: A discharged Backup Battery takes 14 hours to recharge. A discharged Main Battery takes 2 hours to recharge. PEN*KEY 6200/6300 Hand-Held Computer Programmer’s Reference Guide Getting Started...
  • Page 24: System Memory

    This is because PC Card is becoming the accepted in- dustry term for a storage medium that conforms to one of these standards. Infrared Printing Serial Data Communications System Environments Hardware Ports PEN*KEY 6200/6300 Hand-Held Computer Programmer’s Reference Guide SECTION 1...
  • Page 25: General Information

    SECTION 1 Toolkit for 6200/6300 Computers General Information File Integrity Verification Utility: CRC32.EXE CRC32 [filename | pathname] [/s] PEN*KEY 6200/6300 Hand-Held Computer Programmer’s Reference Guide Getting Started...
  • Page 26: Tips For Getting Started

    Getting Started SECTION 1 Tips for Getting Started PEN*KEY 6200/6300 Hand-Held Computer Programmer’s Reference Guide...
  • Page 27: System Configuration

    SECTION 1 System Configuration Minimum Development Configuration Sample Configuration Files " NOTE: The name SunDisk has been changed to SanDisk. PEN*KEY 6200/6300 Hand-Held Computer Programmer’s Reference Guide Getting Started...
  • Page 28: Reprogramming Flash Memory

    Getting Started Reprogramming Flash Memory General Information Computer Model Numbers Executable Archive File Updating Older Configurations Determining Which Archive File to Use PEN*KEY 6200/6300 Hand-Held Computer Programmer’s Reference Guide SECTION 1...
  • Page 29 When resetting the HHC, use a solid probe, such as a ball point pen. DO NOT use the point of a pencil, since it can break off and jam the reset condition. PEN*KEY 6200/6300 Hand-Held Computer Programmer’s Reference Guide Getting Started 62BIxxxx.BIN...
  • Page 30 DOS commands are not. Updating 6210 Flash (preferred approach) Updating 6210 Flash (Master Mode Boot) 1-10 PEN*KEY 6200/6300 Hand-Held Computer Programmer’s Reference Guide PROG 62BIxxxx.BIN d: PROG PKBIxxxx.BIN d: SECTION 1...
  • Page 31: General Precautions

    /002. Further, older 6300 Computers (with a red [NO] key) cannot be updated to the current flash version at the time of this writing. Attempts to do so renders these computers unusable. Contact your Intermec sales representative. INTERSVR Installation PEN*KEY 6200/6300 Hand-Held Computer Programmer’s Reference Guide...
  • Page 32 Getting Started DEVICE=C:\DOS\INTERLNK.EXE /DRIVES:4 " " " " " " C:\>INTERLNK Port=COM2 This Computer (Client) —————————————— 1-12 PEN*KEY 6200/6300 Hand-Held Computer Programmer’s Reference Guide C:\PK6200\FLASH C:\PENKEY\FLASH Other Computer (Server) ———————————————— equals equals equals equals D: (519 KB) SECTION 1 /DRIVES:4...
  • Page 33 Booting to the PC Card Standard Boot Cycle " PEN*KEY 6200 FLASH 62BInnnn " PEN*KEY 6300 FLASH PKBInnnn Master Mode Boot Cycle " " " PEN*KEY 6200 FLASH 62BInnnn " PEN*KEY 6300 FLASH PKBInnnn PEN*KEY 6200/6300 Hand-Held Computer Programmer’s Reference Guide Getting Started 1-13...
  • Page 34 Getting Started SECTION 1 Creating a Custom Flash Key Files Used in Flash Upgrade 1-14 PEN*KEY 6200/6300 Hand-Held Computer Programmer’s Reference Guide...
  • Page 35: Development Environments

    PenPal with a different display configuration, PenPal Associates does not provide you with a version that necessarily works with that configuration. PEN*KEY 6200/6300 Hand-Held Computer Programmer’s Reference Guide Getting Started 1-15...
  • Page 36: Handwriting Recognition

    Getting Started PenRight! Pro Windows Handwriting Recognition " " 1-16 PEN*KEY 6200/6300 Hand-Held Computer Programmer’s Reference Guide SECTION 1...
  • Page 37 SECTION 1 Getting Started CIC Handwriter Recognition System for Windows " NOTE: This product only works in the ENHANCED mode. Synaptics Handwriter Recognition HR-1200 Pen Extensions for Windows PenRight! Pro (Windows) PEN*KEY 6200/6300 Hand-Held Computer Programmer’s Reference Guide 1-17...
  • Page 38: Other Environments

    BIOS. If you install an application that places annunciators on the screen, Visual Basic may write over them. Borland Delphi for Windows Microsoft Visual C++ or Borland C++ for Windows Other Environments 1-18 PEN*KEY 6200/6300 Hand-Held Computer Programmer’s Reference Guide SECTION 1...
  • Page 39 System Guidelines " NOTE: A PC development computer (60 to 100 MHz 486) may hide some potential speed issues that would become evident on a PEN*KEY 6000 Series computer with a slower processor. PEN*KEY 6200/6300 Hand-Held Computer Programmer’s Reference Guide 1-19...
  • Page 40: Setup For Pc Development

    The reset button on the 6210 HHC is located at the top of the unit next to the 15-pin connec- tor. It is recessed in a small hole and can be accessed using a paper clip. " " 1-20 PEN*KEY 6200/6300 Hand-Held Computer Programmer’s Reference Guide 1. Main battery compartment 2. Backup battery switch SECTION 1...
  • Page 41 SECTION 1 device=d:\norapm.exe ROM DOS 5 Start from: 1) Memory card 1=A: 2) Memory card 2=B: 3) RamDrive 4) RomDrive PEN*KEY 6200/6300 Hand-Held Computer Programmer’s Reference Guide Getting Started 1-21...
  • Page 42: Development Resources

    Getting Started Development Resources Open Systems Resources SystemSoft Card and Socket Services CardSoft Utilities 1-22 PEN*KEY 6200/6300 Hand-Held Computer Programmer’s Reference Guide SECTION 1...
  • Page 43 SECTION 1 Getting Started SystemSoft Files Initialization Files Card Libraries PEN*KEY 6200/6300 Hand-Held Computer Programmer’s Reference Guide 1-23...
  • Page 44 REM processing IF NOT ERRORLEVEL 2 GOTO CONTINUE REM Make A: the default boot drive MMBFLAG.COM 0 REM Reset the computer RESET.EXE :CONTINUE . . . Booting from the RAM Drive 1-24 PEN*KEY 6200/6300 Hand-Held Computer Programmer’s Reference Guide SECTION 1...
  • Page 45 All data is lost when the card is formatted. You need to boot a previous version of DOS to run INTERLNK, if you have a Windows 95 development environment. Communication using INTERLNK and INTERSVR device=c:\dos\interlnk.exe /drives:4 Example Boot Files PEN*KEY 6200/6300 Hand-Held Computer Programmer’s Reference Guide Getting Started 1-25...
  • Page 46: Ram Drive

    Getting Started RAM Drive " NOTE: Reboot the HHC after the RAM drive is created (or altered), to make the change effective. 1-26 PEN*KEY 6200/6300 Hand-Held Computer Programmer’s Reference Guide SECTION 1...
  • Page 47: Norand Utilities And Communications

    Creating a (Host) Download Include File “newname=oldname” newname CONFIG.SYS ROMINIT.BAT 6X00DOS\PC4800.SYS 6200DOS\FONTMAP.EXE 6200DOS\GR12X22.FNT MYAPP.EXE NRTLOG.DAT NRUPLD.CTL PSROM0C.DAT PSROM0C.INI IPLFMT.EXE <list file> <include file> <list file> <include file> PEN*KEY 6200/6300 Hand-Held Computer Programmer’s Reference Guide Getting Started oldname newname. oldname 1-27...
  • Page 48: Npcp Network

    4000 Series applications are copied to a BOOT directory. 6000 Series applications are copied to the DOWNLOAD directory. " NOTE: NCDIR.EXE is included in the 4980 Boot Toolkit. Norand Utilities Internals " Novell 1-28 PEN*KEY 6200/6300 Hand-Held Computer Programmer’s Reference Guide SECTION 1...
  • Page 49 SECTION 1 Getting Started Norand Utilities Internals NRInet Setup Norand Utilities Internals TFTP Setup PEN*KEY 6200/6300 Hand-Held Computer Programmer’s Reference Guide 1-29...
  • Page 50 This option applies only to Norand Utilities program versions prior to V2.00. In V2.00 and later, this option is replaced by the TFTP option described above. username:\ bf=6200ipl.bcf:ht=ether:ha=xxxxxxxxxxxx:ip=nnn.nnn.nnn.nnn:\ hd=/usr/boot: username:\ bf=“6200ipl.bcf”:ht=ether:ha=xxxxxxxxxxxx:ip=nnn.nnn.nnn.nn:\ hd=“\apps”: 1-30 PEN*KEY 6200/6300 Hand-Held Computer Programmer’s Reference Guide SECTION 1...
  • Page 51 SECTION 1 Error: Error: Norand Utilities Internals: Lnnn Tnnn PEN*KEY 6200/6300 Hand-Held Computer Programmer’s Reference Guide Getting Started 1-31...
  • Page 52: Dos Device Drivers

    Getting Started SECTION 1 Other Intermec Software DOS Device Drivers DOS Device Drivers Windows Device Drivers Windows Device Drivers 1-32 PEN*KEY 6200/6300 Hand-Held Computer Programmer’s Reference Guide...
  • Page 53: Utility Programs

    IF ERRORLEVEL 3 SET BootDrive=C: IF ERRORLEVEL 4 SET BootDrive=D: ; Get boot drive ; DL = boot drive ; errorlevel = boot drive ; Exit( errorlevel ); PEN*KEY 6200/6300 Hand-Held Computer Programmer’s Reference Guide Getting Started 1=A, 2=B, 3=C, ... 1-33...
  • Page 54 Getting Started SECTION 1 DELAY.EXE Error Levels 1-34 PEN*KEY 6200/6300 Hand-Held Computer Programmer’s Reference Guide...
  • Page 55 IF ERRORLEVEL 1 GOTO NoRamDrive IF NOT ERRORLEVEL 1 GOTO RamDrivePresent MMBFLAG.COM 0 MMBFLAG.COM 1 MMBFLAG.COM 2 MMBFLAG.COM 3 (Drive A:) (Drive B: (Drive C:) (Drive D:) MMBFLAG.COM Error Levels PEN*KEY 6200/6300 Hand-Held Computer Programmer’s Reference Guide Getting Started 1-35...
  • Page 56 Getting Started SECTION 1 1-36 PEN*KEY 6200/6300 Hand-Held Computer Programmer’s Reference Guide...
  • Page 57 Section 2 Supporting DOS Applications " " " " " " " " " " " " " " " " " " " " Topic Summary PEN*KEY 6200/6300 Hand-Held Computer Programmer’s Reference Guide...
  • Page 58 NORAND Power Monitor Extension Version n.nn Copyright (C) nnnn by Norand Corporation " NOTE: In future revisions of this product, the name, Intermec Technologies Corporation, may appear after the Copyright in the line above. Operational Switches for NPOWER.EXE PEN*KEY 6200/6300 Hand-Held Computer Programmer’s Reference Guide...
  • Page 59 SECTION 2 Installation Switches device=npower.exe /BL:120 device=npower.exe /BL:300 /SY:600 " NOTE: Each italicized element is a value you supply. PEN*KEY 6200/6300 Hand-Held Computer Programmer’s Reference Guide Supporting DOS Applications...
  • Page 60: Command Line Switches

    Supporting DOS Applications SECTION 2 Command Line Switches /PCM NPOWER NPOWER /SY:100 PEN*KEY 6200/6300 Hand-Held Computer Programmer’s Reference Guide...
  • Page 61 SECTION 2 Supporting DOS Applications PEN*KEY 6200/6300 Hand-Held Computer Programmer’s Reference Guide...
  • Page 62 Supporting DOS Applications Broadcasting Messages Interrupt Vectors Supported by NPOWER.EXE Broadcast Event " " SystemResumeNotification " " INT 08h ISR: Timer Tick PEN*KEY 6200/6300 Hand-Held Computer Programmer’s Reference Guide SECTION 2...
  • Page 63 SECTION 2 Supporting DOS Applications Standard APM Event Processing APM_SUSPEN_REQ APM_NORM_RESUME APM_PWR_CHANGE APM_CRIT_SUSPEND PEN*KEY 6200/6300 Hand-Held Computer Programmer’s Reference Guide...
  • Page 64 Supporting DOS Applications OEM Extended APM Event Processing " " " PEN*KEY 6200/6300 Hand-Held Computer Programmer’s Reference Guide SECTION 2 APM_USER_SUSPEND APM_USER_SUSPEND...
  • Page 65 SECTION 2 Supporting DOS Applications INT 15h API " " " " " " PEN*KEY 6200/6300 Hand-Held Computer Programmer’s Reference Guide...
  • Page 66 Supporting DOS Applications INT 21h API: DOS System API " NOTE: If NPOWER is disconnected, this interrupt is not intercepted. INT 28h API: DOS Idle API " " 2-10 PEN*KEY 6200/6300 Hand-Held Computer Programmer’s Reference Guide SECTION 2...
  • Page 67 Interrupts Supported by NORAPM.EXE " NOTE: These interfaces are reserved solely for internal use and application use of these methods may affect application portability. Therefore, applications should not use them. PEN*KEY 6200/6300 Hand-Held Computer Programmer’s Reference Guide Supporting DOS Applications 2-11...
  • Page 68 Supporting DOS Applications " NOTE: Table 2-1 assumes no switches are used and includes the NORAND Proprietary Interrupts, as indicated by “Yes” in the “Proprietary” column. Power Management Interrupts Supported 2-12 PEN*KEY 6200/6300 Hand-Held Computer Programmer’s Reference Guide SECTION 2...
  • Page 69 CLOCK.SYS: 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 after the Copyright in the line. Installation Switches NORAND DOS Clock Driver PEN*KEY 6200/6300 Hand-Held Computer Programmer’s Reference Guide...
  • Page 70 Supporting DOS Applications DOS Pen Driver: 62MOUSE.COM, 63MOUSE.COM Installation 62MOUSE.COM 63MOUSE.COM Pen Driver Version 1.xx Installed successfully " NOTE: APM driver should be loaded before the mouse driver. Configuration and Options 2-14 PEN*KEY 6200/6300 Hand-Held Computer Programmer’s Reference Guide SECTION 2...
  • Page 71 SECTION 2 Supporting DOS Applications Supported DOS Pen Driver Interrupts INT 33h Interrupts Supported PEN*KEY 6200/6300 Hand-Held Computer Programmer’s Reference Guide 2-15...
  • Page 72: Pen Calibration

    If CardSoft drivers and TSRs are present in the system, the command line option on NPOW- ER.EXE that “fixes” some CardSoft bugs (/ss:1) must not be used on NPOWER.EXE, but instead used as an option to SCANTSR. 2-16 PEN*KEY 6200/6300 Hand-Held Computer Programmer’s Reference Guide SECTION 2...
  • Page 73 // launched the test program as the user’s // desire to enter the symbol manually // collect only one scan — 4500 compatible // enable scan tsr // look for keystrokes until \n PEN*KEY 6200/6300 Hand-Held Computer Programmer’s Reference Guide Supporting DOS Applications 2-17...
  • Page 74: Functionality And Usage

    DOS NPCP Printing: PC4800.SYS Driver Installation and Configuration Required CONFIG.SYS Entry device=PC4800.SYS LPT1 1 /I1 Required AUTOEXEC.BAT Entry Functionality and Usage 2-18 PEN*KEY 6200/6300 Hand-Held Computer Programmer’s Reference Guide LPT1 4000API.EXE /c3 4000API.EXE /c3 /pc /10 /14 /16 SECTION 2...
  • Page 75 *unsigned char ioctl_buf; ONLINE = 2 STATUS = 3 GET DEVICE FEATURES = 4 SELFTEST = 5 RESET GET CURRENT CONFIGURATION =7 XTENDED ERROR = 255 Notes fprintf() ioctl_command ioctl 3 PEN*KEY 6200/6300 Hand-Held Computer Programmer’s Reference Guide Supporting DOS Applications 2-19...
  • Page 76: Installation And Configuration

    DOS IrDA Printing: PRDRV.SYS, IRDAPDRV.EXE Installation and Configuration Required CONFIG.SYS Entry device=d:\pathname\prdrv.sys install=d:\pathname\irdapdrv.exe –txxxx d:\pathname Required AUTOEXEC.BAT Entry Device Driver Entry Points " NOTE: Only one open connection is allowed. 2-20 PEN*KEY 6200/6300 Hand-Held Computer Programmer’s Reference Guide xxxx xxxx SECTION 2 xxxx...
  • Page 77 SECTION 2 IOCMD_STATUS : requestHeader.headerStatus = detailedErrorCode; break; IOCMD_ID : requestHeader.headerStatus = 0x0a; break; default : requestHeader.headerStatus = detailedErrorCode; break; PEN*KEY 6200/6300 Hand-Held Computer Programmer’s Reference Guide Supporting DOS Applications 0x03 0x80 2-21...
  • Page 78 Use only the switches shown here. This driver is a multiplatform program, providing features for all of the 6000 Series platforms. None of the other switches are intended for the 6200 or 6300 Computer and could cause a malfunction, if used on this platform.
  • Page 79 SECTION 2 PC Card Modem Driver: NGENMOD.SYS Driver Installation device=ngenmod.sys device=ngenmod.sys –NMYMOD –C4 –S0 –IC PEN*KEY 6200/6300 Hand-Held Computer Programmer’s Reference Guide Supporting DOS Applications 2-23...
  • Page 80: Application Interfaces And Device Behavior

    Supporting DOS Applications Configuration Information Qualifying PC Card Modems " " " Application Interfaces and Device Behavior " " " " " " " 2-24 PEN*KEY 6200/6300 Hand-Held Computer Programmer’s Reference Guide SECTION 2...
  • Page 81 // driver command // error returned by driver // area reserved by DOS // area reserved by DOS // area reserved by DOS // length of ioctl buffer reqpk.len PEN*KEY 6200/6300 Hand-Held Computer Programmer’s Reference Guide Supporting DOS Applications 2-25...
  • Page 82 } IOARGS; IOARGS ioargs; UC buffer[64]; 2-26 PEN*KEY 6200/6300 Hand-Held Computer Programmer’s Reference Guide // length of data returned // device driver name // PC Card socket device to load in // system irq associated with modem // base i/o address of modems UART // return the command line parameters // return manufacturer’s ID string...
  • Page 83 // insert the command // display the returned data // insert the command // display the returned data // assign pointer to cmd buffer // assign pointer to argument buffer PEN*KEY 6200/6300 Hand-Held Computer Programmer’s Reference Guide Supporting DOS Applications 2-27...
  • Page 84: Device Driver Errors

    " NOTE: These interfaces are reserved solely for internal use and application use may affect applica- tion portability. Therefore, applications should not use them. 2-28 PEN*KEY 6200/6300 Hand-Held Computer Programmer’s Reference Guide SECTION 2 // close driver to conserve power...
  • Page 85 SECTION 2 PC Card WAN Power Manager: NGENWAN.SYS Driver Installation device=ngenwan.sys –Ix –Cx –Sx –Vl –Rl –Ol –Pl –Nname Configuration Information PEN*KEY 6200/6300 Hand-Held Computer Programmer’s Reference Guide Supporting DOS Applications 2-29...
  • Page 86 The driver owns the slot and only a wireless WAN card device can exist in the socket. Interrupts Supported by NGENWAN.SYS " NOTE: See page 2-28 for INT 14h and INT 15h information. 2-30 PEN*KEY 6200/6300 Hand-Held Computer Programmer’s Reference Guide SECTION 2...
  • Page 87 Section 3 Supporting Windows Applications " " " " " " " " " " " " " " " " " " " " Topic Summary PEN*KEY 6200/6300 Hand-Held Computer Programmer’s Reference Guide...
  • Page 88 Supporting Windows Applications Minimal Windows Installation Standard SRAM Installation Custom SanDisk or PC Card Installation PEN*KEY 6200/6300 Hand-Held Computer Programmer’s Reference Guide Topic Summary SECTION 3...
  • Page 89 SECTION 3 Supporting Windows Applications D:\RAMDFMT –s300 D:\MMBFLAG 2 COPY E:\DRIVEC\*.* C:\ E:\RESET Other Custom Installations Windows Operation Modes Normal Startup (Standard Mode) PEN*KEY 6200/6300 Hand-Held Computer Programmer’s Reference Guide...
  • Page 90 Supporting Windows Applications SECTION 3 DOSX.EXE Startup Windows Components Windows Startup and Shell Programs Initialization Files [BOOT.DESCRIPTION] . Optional, if DOS applications are not run during Windows session PEN*KEY 6200/6300 Hand-Held Computer Programmer’s Reference Guide...
  • Page 91 SECTION 3 Supporting Windows Applications Windows Enhanced Mode Files Windows System Device Drivers Windows Installable Device Drivers PEN*KEY 6200/6300 Hand-Held Computer Programmer’s Reference Guide...
  • Page 92 Supporting Windows Applications SECTION 3 VGA Device Fonts Popular System DLLs Sound Files Utilities PEN*KEY 6200/6300 Hand-Held Computer Programmer’s Reference Guide...
  • Page 93 Windows Shell Installation and Configuration SYSTEM.INI: shell=norshell.exe NorShellRun " NorShellRunDir " NorShellLaunch " NORSHELL WIN.INI Example [WINDOWS] NorShellRun=MYAPP.EXE /aswitch /anotherswitch NorShellRunDir=c:\app NorShellLaunch=clock.exe calc.exe [WINDOWS] NorShellRun=WINFILE.EXE run=clock.exe calc.exe shell=norshell.exe PEN*KEY 6200/6300 Hand-Held Computer Programmer’s Reference Guide Supporting Windows Applications shell= [WINDOWS]...
  • Page 94 Shutting Down Windows Windows Power Management Driver " " " " " Installation and Configuration drivers= [boot] drivers= power pen penwindows scanner npcp irda [drivers] power=norapm.dll pen=norpen.dll PEN*KEY 6200/6300 Hand-Held Computer Programmer’s Reference Guide NorShellRun power= pen= [boot] SECTION 3 [drivers]...
  • Page 95 SECTION 3 " NOTE: Do not load the DOS Power Management driver, NPOWER.EXE, if the 6300 Computer is running Windows. Driver] ApmSuspendDialog ApmEventDialogs MsgRepeatMinutes WM_POWER PEN*KEY 6200/6300 Hand-Held Computer Programmer’s Reference Guide Supporting Windows Applications [Power...
  • Page 96 Supporting Windows Applications SECTION 3 MsgRepeatMinutes SuspendSeconds BacklightSeconds ApmAcDebouceMs ApmDosOemEvents ApmFixSystemSoft 3-10 PEN*KEY 6200/6300 Hand-Held Computer Programmer’s Reference Guide...
  • Page 97 Message Window ; Display warnings only (typical) ; Repeat warnings every 15 minutes ; Timeout backlight after 15 seconds of inactivity ; Suspend system after 30 seconds of inactivity PEN*KEY 6200/6300 Hand-Held Computer Programmer’s Reference Guide Supporting Windows Applications 3-11...
  • Page 98: Battery Status

    Errors During Installation " " " " " " " Battery Status MsgRepeatMinutes " " " " " Suspend Errors " " Event Messages " " " " " 3-12 PEN*KEY 6200/6300 Hand-Held Computer Programmer’s Reference Guide SECTION 3 ApmEventDialogs...
  • Page 99 SECTION 3 Audible Alerts ApmAcOn and ApmAcOff Windows Background Power Management Windows Power States " " " [Sounds] PEN*KEY 6200/6300 Hand-Held Computer Programmer’s Reference Guide Supporting Windows Applications 3-13...
  • Page 100 Supporting Windows Applications " CPU Power Management System Power Management User Activity BacklightSeconds System Activity SystemActivity() WM_COMMNOTIFY (system) WM_MOUSEMOVE WM_RCRESULT WM_KEYDOWN 3-14 PEN*KEY 6200/6300 Hand-Held Computer Programmer’s Reference Guide SuspendSeconds (user) (user) (user) SECTION 3...
  • Page 101 SECTION 3 APM Event Broadcasts Receiving APM Event Broadcasts " " DriverProc " PWR_ WM_POWER PWR_* PWR_FAIL PWR_OK DRV_POWER PWR_* PWR_FAIL PEN*KEY 6200/6300 Hand-Held Computer Programmer’s Reference Guide Supporting Windows Applications APM_. PWR_OK 3-15...
  • Page 102 APM_, SUSPENDREQUEST, System Suspend Request Notification SUSPENDRESUME, Normal Resume System Notification PWRCHANGE, Power Status Change Notification tagPOWER_STATUS BATLOW, Battery Low Notification tagPOWER_STATUS USERSUSPEND, User System Suspend Request Notification TIMEUPDATE, Update Time Notification 3-16 PEN*KEY 6200/6300 Hand-Held Computer Programmer’s Reference Guide...
  • Page 103 CRITICALSUSPEND, Critical System Suspend Notification CRITICALRESUME, Critical Resume System Notification STANDBYREQUEST, System Standby Request Notification APM OEM Event Codes Power Management Programming Interface " " Windows Protect-Mode API typedef LoadLibrary PEN*KEY 6200/6300 Hand-Held Computer Programmer’s Reference Guide Supporting Windows Applications GetProcAddress 3-17...
  • Page 104 Supporting Windows Applications GetPowerStatus tagPOWER_STATUS tagPOWER_STATUS GetPowerState SetPowerState SystemActivity Power Management by Windows Applications Saving CPU Power 3-18 PEN*KEY 6200/6300 Hand-Held Computer Programmer’s Reference Guide SUSPEND PWR_FAIL SECTION 3...
  • Page 105 SECTION 3 Saving Device Power OpenComm CloseComm Holding Off Suspend Timeouts Suspending the System Directly Power Management in Windows Drivers PEN*KEY 6200/6300 Hand-Held Computer Programmer’s Reference Guide Supporting Windows Applications 3-19...
  • Page 106 Supporting Windows Applications 6300 Windows Pen Driver Pen Applications Installation and Configuration NORPEN.DLL [boot] drivers=norpen.dll penwin.dll [boot] drivers=power pen penwin [drivers] power=norapm.dll pen=norpen.dll penwin=penwin.dll 3-20 PEN*KEY 6200/6300 Hand-Held Computer Programmer’s Reference Guide drivers= drivers= [Pen Driver] SECTION 3 [drivers]...
  • Page 107: Hardware Interface

    PortAddr IrqLevel BaseClock " NOTE: The only value that is supported by the PEN*KEY HHC is 0. This value should not need specification for the PEN*KEY HHC. PointsPerSecond MaxIPS PEN*KEY 6200/6300 Hand-Held Computer Programmer’s Reference Guide Supporting Windows Applications 3-21...
  • Page 108 Supporting Windows Applications SECTION 3 Digitizer Calibration cxRawWidth cyRawHeight wDistinctWidth wDistinctHeight wOffsetX; wOffsetY UseNV 3-22 PEN*KEY 6200/6300 Hand-Held Computer Programmer’s Reference Guide...
  • Page 109: Display Orientation

    SECTION 3 Supporting Windows Applications Display Orientation DisplayOrientation [Display Driver] PenOrientation FlipX DisplayColumns DisplayRows (Description is same for DisplayColumns entry) PEN*KEY 6200/6300 Hand-Held Computer Programmer’s Reference Guide 3-23...
  • Page 110 Supporting Windows Applications SECTION 3 NORPEN.DLL SYSTEM.INI Configuration Example [Pen Driver] PortAddr=520 IrqLevel=12 BaseClock=0 UseNV=1 PointsPerSecond=50 cxRawWidth=4500 cyRawWidth=3000 wDistinctWidth=3500 wDistinctHeight=3045 wOffsetX=0 wOffsetY=0 PenOrientation=2 FlipX=0 [Display Driver] DisplayOrientation=1 DisplayColumns=320 DisplayRows=480 Pen Calibration UseNV 3-24 PEN*KEY 6200/6300 Hand-Held Computer Programmer’s Reference Guide...
  • Page 111 ... scanner [drivers] scanner=norscan.drv Entries in [Scanner Driver] Section of SYSTEM.INI [Scanner Driver] ScannerHardwareType=PEN*KEY MessageBeepScanVerification=INTERNAL MessageBeepStatusNotification=INTERNAL MessageBoxStatusNotification=TRUE EnableScannerWhenDriverLoads=FALSE DisplayScanningDataDialog=TRUE ShowWindowOnLoad=TRUE EnableScanCodes=TRUE ExternalFlashOnScan=FALSE AimingBeamDuration=0 DedicatedUARTAddress=488 DedicatedUARTIRQ=5 Postamble=03 ScannerHardwareType MessageBeepScanVerification PEN*KEY 6200/6300 Hand-Held Computer Programmer’s Reference Guide Supporting Windows Applications 3-25...
  • Page 112 Supporting Windows Applications SECTION 3 MessageBeepStatusNotification MessageBoxStatussNotification EnableScannerWhenDriverLoads OpenDriver CloseDriver DisplayScanningDataDialog ShowWindowOnLoad EnableScanCodes ExternalFlashOnScan 3-26 PEN*KEY 6200/6300 Hand-Held Computer Programmer’s Reference Guide...
  • Page 113 SECTION 3 AimingBeamDuration DedicatedUARTAddress DedicatedUARTIRQ5 Postamble Usage hDRVR = OpenDriver(“scanner”, (LPCSTR)NULL, (LPARAM)NULL); WM_CHAR WM_CHAR CloseDriver(hDRVR, (LPARAM)NULL, (LPARAM)NULL); OpenDriver lParam 0x00000001 PEN*KEY 6200/6300 Hand-Held Computer Programmer’s Reference Guide Supporting Windows Applications CloseDriver wParam 3-27...
  • Page 114 ; SystemDefault=chimes.wav, Default Beep ; SystemExclamation=chimes.wav, Exclamation ; SystemHand=chimes.wav, Critical Stop ; SystemQuestion=chimes.wav, Question ; SystemAsterisk=chimes.wav, Asterisk SystemStart 3-28 PEN*KEY 6200/6300 Hand-Held Computer Programmer’s Reference Guide ApmAcOn gets played after ac is WIN.INI [Sounds] SECTION 3 You can replace any...
  • Page 115 Installation and Configuration Required WIN.INI Entries [windows] spooler= DosPrint=no device=NORAND 4800,NOR4800,LPT1.DOS [PrinterPorts] NORAND 4800=NOR4800,LPT1.DOS,15,45 [devices] NORAND 4800=NOR4800,LPT1.DOS Required SYSTEM.INI Entries [boot] drivers= ... npcp ... [drivers] npcp=nornpcp.drv StartDoc() EndDoc() PEN*KEY 6200/6300 Hand-Held Computer Programmer’s Reference Guide Supporting Windows Applications 3-29...
  • Page 116 Supporting Windows Applications SECTION 3 [NPCP Driver] DeviceName=LPT1 CommAddress=0x03F8 CommVector=0x0C FIFODepth=16 PowerManage=FALSE ProcessQueryAbort=FALSE FIFOTriggerLevel=0 IRQMultiplex=0 Usage 3-30 PEN*KEY 6200/6300 Hand-Held Computer Programmer’s Reference Guide...
  • Page 117 SECTION 3 Basic Windows Printing EndPage(...) EndDoc() Default Error-Handling Mode Application-Defined Error-Handling Mode GetPrinterDC() SelectObject(...) SetABortProc(...) StartDoc(...) StartPage(...) PEN*KEY 6200/6300 Hand-Held Computer Programmer’s Reference Guide Supporting Windows Applications TextOut(...) AbortDoc() FreeProcInstance(...) 3-31...
  • Page 118 = (fpPrtService)GetProcAddress( hInstNorPrnt, if ( lpfnPrtService == NULL ) { MessageBox( NULL, “Unable to get address for\nPrtService”, return FALSE; 3-32 PEN*KEY 6200/6300 Hand-Held Computer Programmer’s Reference Guide IDCANCEL IDRETRY “ERROR”, MB_OK | MB_ICONEXCLAMATION ); “PrtService” ); “ERROR”, MB_OK | MB_ICONEXCLAMATION );...
  • Page 119 " " wOpt " lParam1 " lParam2 " (LPARAM)NULL ) < 1) { “ERROR”, MB_OK | MB_ICONEXCLAMATION ); PRT_ENABLE (0x0001) PRT_DISABLE (0x0002) PRT_GETSUPPORT (0x0003) PRT_SETPROC (0x0010) MakeProcInstance(...) PRT_FLUSH (0x0020) PEN*KEY 6200/6300 Hand-Held Computer Programmer’s Reference Guide Supporting Windows Applications 3-33...
  • Page 120 Supporting Windows Applications " wOpt " lParam1 " lParam2 " " wOpt " lParam1 " lParam2 " Special Paper Handling EndPage(...) EndPage(...) StartPage(...) EndPage(...) EndPage(...) 3-34 PEN*KEY 6200/6300 Hand-Held Computer Programmer’s Reference Guide PRT_FORWARD(0x0030) PRT_REVERSE(0x0040) TextOut(...) SECTION 3...
  • Page 121 SECTION 3 Supporting Windows Applications EndPage(...) StartPage(...) Windows Error Codes/Messages PEN*KEY 6200/6300 Hand-Held Computer Programmer’s Reference Guide 3-35...
  • Page 122: Irda Printing

    Supporting Windows Applications SECTION 3 IrDA Printing StartDoc(), EndDoc(), Installation and Configuration 3-36 PEN*KEY 6200/6300 Hand-Held Computer Programmer’s Reference Guide...
  • Page 123 Supporting Windows Applications Required WIN.INI Entries [windows] spooler= DosPrint=no device=IrDA Printer,NOR6805,LPT2.DOS (6805 specific) [NORAND 6805,LPT2.DOS] PaperSize=256 SizeUnit=1 PaperWidth=480 PaperLength=1450 SizeUnit PaperWidth PaperLength [PrinterPorts] [devices] [devices] NORAND 6805=NOR6805,LPT2.DOS [PrinterPorts] IrDA Printer=NOR6805, LPT2.DOS, 15, 45 PEN*KEY 6200/6300 Hand-Held Computer Programmer’s Reference Guide 3-37...
  • Page 124 Supporting Windows Applications SECTION 3 Required SYSTEM.INI Entries [boot] drivers= power irda pen penwindows scanner npcp [drivers] irda=norirda.drv [IRDA Driver] deviceName=LPT2 UARTAddress=0x2f8 UARTIRQ=3 Technology=6300 PrinterFlush=TRUE [NORAND 6805 Printer] DoGraphicsOnly=FALSE Timeout=10 WakeupChars=200 3-38 PEN*KEY 6200/6300 Hand-Held Computer Programmer’s Reference Guide...
  • Page 125 “C” WORD _export FAR PASCAL ShowPrtError( WORD wCurErr ) IDRETRY (0x04) CANCEL PrtService NULL PrtService Printer Services API PrtService IDRETRY PEN*KEY 6200/6300 Hand-Held Computer Programmer’s Reference Guide Supporting Windows Applications PRT_ENABLE (0x0001) PRT_SETPROC (0x0010) IDCANCEL (0x02), PRT_SETPROC (0x0010) PRT_DISABLE (0x0002) 3-39...
  • Page 126 (lpfnPrtService(hInst, PRT_ENABLE, (LPARAM)NULL, (LPARAM)NULL ) < 1) MessageBox( NULL, “Unable to enable printer driver”, “ERROR”, return FALSE; 3-40 PEN*KEY 6200/6300 Hand-Held Computer Programmer’s Reference Guide MB_OK | MB_ICONEXCLAMATION ); “PrtService” ); “ERROR”, MB_OK | MB_ICONEXCLAMATION ); PrtService MB_OK | MB_ICONEXCLAMATION );...
  • Page 127 " wOpt " lParam1 " lParam2 " " wOpt " lParam1 " lParam2 " Error Codes and Messages PRT_ENABLE (0x0001) PRT_DISABLE (0x0002) PRT_GETSUPPORT (0x0003) PRT_SETPROC (0x0010) MakeProcInstance(...) PRT_FLUSH (0x0020) PEN*KEY 6200/6300 Hand-Held Computer Programmer’s Reference Guide Supporting Windows Applications 3-41...
  • Page 128 Supporting Windows Applications SECTION 3 " " " " " " " " " " " " 3-42 PEN*KEY 6200/6300 Hand-Held Computer Programmer’s Reference Guide...
  • Page 129 Section 4 Power Management BIOS: NORAPM.EXE " " " " " " " " " " " " " " " " " " " " Topic Summary List of Tables PEN*KEY 6200/6300 Hand-Held Computer Programmer’s Reference Guide...
  • Page 130: System Power States

    Power Management BIOS: NORAPM.EXE " " System Power States " " " " " " PEN*KEY 6200/6300 Hand-Held Computer Programmer’s Reference Guide SECTION 4...
  • Page 131: System Power State Management

    SECTION 4 Power Management BIOS: NORAPM.EXE System Power State Management Activity Monitors PEN*KEY 6200/6300 Hand-Held Computer Programmer’s Reference Guide...
  • Page 132: Device Power Control

    Power Management BIOS: NORAPM.EXE " " " " " " " Device Power Control PEN*KEY 6200/6300 Hand-Held Computer Programmer’s Reference Guide Power States (General Definitions) SECTION 4...
  • Page 133 SECTION 4 Power Management BIOS: NORAPM.EXE Power States (Display) Power States (PC Card Devices) Power States (Serial Port) Power States (Digitizer) Power States (Ethernet Network) PEN*KEY 6200/6300 Hand-Held Computer Programmer’s Reference Guide...
  • Page 134 Power Management BIOS: NORAPM.EXE SECTION 4 Power States (Pod — 6300 Computer only) Power States (PC Card Slot) Power States (System) Power States (Backlight) Power States (SWV5) PEN*KEY 6200/6300 Hand-Held Computer Programmer’s Reference Guide...
  • Page 135: Apm Software Interface

    SECTION 4 APM Software Interface APM Connection Power Management Events Power Management Event Codes PEN*KEY 6200/6300 Hand-Held Computer Programmer’s Reference Guide Power Management BIOS: NORAPM.EXE...
  • Page 136 Power Management BIOS: NORAPM.EXE SECTION 4 PEN*KEY 6200/6300 Hand-Held Computer Programmer’s Reference Guide...
  • Page 137 SECTION 4 Power Management BIOS: NORAPM.EXE PEN*KEY 6200/6300 Hand-Held Computer Programmer’s Reference Guide...
  • Page 138: Apm Bios Functions

    Power Management BIOS: NORAPM.EXE SECTION 4 APM BIOS Functions Power Device IDs 4-10 PEN*KEY 6200/6300 Hand-Held Computer Programmer’s Reference Guide...
  • Page 139 SECTION 4 APM Function Summary APM Include Files NORAPM.DLL Driver Files APMEVENT.H APM Function Summary PEN*KEY 6200/6300 Hand-Held Computer Programmer’s Reference Guide Power Management BIOS: NORAPM.EXE 4-11...
  • Page 140 Power Management BIOS: NORAPM.EXE SECTION 4 NORAPM.H GetPowerStatus tagPOWER_STATUS GetPowerStatus extern “C” WORD FAR PASCAL _export GetPowerStatus(tagPOWER_STATUS far *); tagPOWER_STATUS Sample Programs 4-12 PEN*KEY 6200/6300 Hand-Held Computer Programmer’s Reference Guide...
  • Page 141: Firmware Error Codes

    SECTION 4 Power Management BIOS: NORAPM.EXE Firmware Error Codes Firmware Error Codes PEN*KEY 6200/6300 Hand-Held Computer Programmer’s Reference Guide 4-13...
  • Page 142 Power Management BIOS: NORAPM.EXE SECTION 4 4-14 PEN*KEY 6200/6300 Hand-Held Computer Programmer’s Reference Guide...
  • Page 143 Section 5 Communications and Device Support " " " " " " " " " " " " " " " " " " " " Topic Summary PEN*KEY 6200/6300 Hand-Held Computer Programmer’s Reference Guide...
  • Page 144: System Setup Requirements

    Communications and Device Support SECTION 5 Topic Summary Using INTERLNK and INTERSVR Norand Utilities System Setup Requirements ASSIGN.COM A:=E: B:=F: [Gold-1] [Gold-4] [F1] [F4] PEN*KEY 6200/6300 Hand-Held Computer Programmer’s Reference Guide...
  • Page 145 SECTION 5 NPCP INSTALL=MININET.EXE NRInet Using PSROM0C Version 3.xx " " NRInet Using PSROM0C Version 2.xx BOOTP.EXE DHCP.EXE ETHDRV.EXE INET.EXE LSL.COM ODIPKT.COM PKODI.COM <path>\MININET.EXE " " RS485ODI.COM PEN*KEY 6200/6300 Hand-Held Computer Programmer’s Reference Guide Communications and Device Support...
  • Page 146 = nnn.nnn.nnn.nnn [pctcp general] etc-dir = d:\tcp\etc domain = xxxxxxxx.com [pctcp addresses] domain-name-server = nnn.nnn.nnn.nnn [pctcp kernel] interface = ifcust 0 nrinet 44965/tcp #Norand Inet File Transfer SET PCTCP=C:\PCTCP.INI PEN*KEY 6200/6300 Hand-Held Computer Programmer’s Reference Guide SECTION 5 d:\tcp\etc.
  • Page 147: Session Control File

    < = beginning of file header D = file type (fixed) X = data type (ignored by host) nnn = decimal number of bytes in file record > = end of file header PEN*KEY 6200/6300 Hand-Held Computer Programmer’s Reference Guide Communications and Device Support...
  • Page 148: Upload And Download Files

    = Unpacked length of field, right-justified and . . . = Additional HHC information PEN*KEY 6200/6300 Hand-Held Computer Programmer’s Reference Guide < = Beginning of file header D = File type (fixed) X = Data type (X for character) 016 = Decimal number of bytes in record (fixed) >...
  • Page 149 (this parameter may be up to 8 digits long) data . . . = binary file starts immediately after filesize parameter..= additional hand-held computer information <DDOSFIL00001X027>F\DATA\DATAFILE.DAT S102000 <DDOSFIL00001X027>F\DATA\DATA0001.DAT S102000 <DDOSFIL00001X031>F\HH000001\DATAFILE.DAT S102000 PEN*KEY 6200/6300 Hand-Held Computer Programmer’s Reference Guide Communications and Device Support...
  • Page 150 Communications and Device Support SECTION 5 Communications Control File for PSROM0C.EXE PSROM0C.EXE ctl-file ctl-file " " " " " " PEN*KEY 6200/6300 Hand-Held Computer Programmer’s Reference Guide...
  • Page 151 SECTION 5 Communications and Device Support NETMASK=255.255.240.0 PEN*KEY 6200/6300 Hand-Held Computer Programmer’s Reference Guide...
  • Page 152 Communications and Device Support SECTION 5 " " " 5-10 PEN*KEY 6200/6300 Hand-Held Computer Programmer’s Reference Guide...
  • Page 153: Upload Control File Parameters

    SECTION 5 Communications and Device Support Upload Control File Parameters FORMAT=tnnntnnn . . . PEN*KEY 6200/6300 Hand-Held Computer Programmer’s Reference Guide 5-11...
  • Page 154: Communications Log File

    HEADER=<DSCNTRL00001X042> FILE=SCNTRL.DAT PPPPPPPPPPPPPPTTTTTTTTTTTTTTTTYYMMDDHHMMSS 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 Communications Log File 5-12 PEN*KEY 6200/6300 Hand-Held Computer Programmer’s Reference Guide SECTION 5...
  • Page 155: Protocol Errors

    SECTION 5 Communications and Device Support Protocol Errors NPCP Protocol Errors PEN*KEY 6200/6300 Hand-Held Computer Programmer’s Reference Guide 5-13...
  • Page 156 Communications and Device Support SECTION 5 MININET Protocol Errors 5-14 PEN*KEY 6200/6300 Hand-Held Computer Programmer’s Reference Guide...
  • Page 157 SECTION 5 Communications and Device Support NRInet Protocol Errors PEN*KEY 6200/6300 Hand-Held Computer Programmer’s Reference Guide 5-15...
  • Page 158 Communications and Device Support SECTION 5 NRInet Protocol Errors TTY Protocol Errors 5-16 PEN*KEY 6200/6300 Hand-Held Computer Programmer’s Reference Guide...
  • Page 159 SECTION 5 Novell ODI Ethernet Driver Installation Using PKODI.COM as a Packet Driver PEN*KEY 6200/6300 Hand-Held Computer Programmer’s Reference Guide Communications and Device Support 5-17...
  • Page 160 Communications and Device Support SECTION 5 Using PKODI.COM as an NDIS Driver When to Use a Shim Configuration 5-18 PEN*KEY 6200/6300 Hand-Held Computer Programmer’s Reference Guide...
  • Page 161 SECTION 5 Communications and Device Support Advanced Power Management BIOS Warning for Prototype PEN*KEY Units PEN*KEY 6200/6300 Hand-Held Computer Programmer’s Reference Guide 5-19...
  • Page 162 Communications and Device Support 6200 Keyboard Definition/Redefinition Physical Keyboard EXIT 5-20 PEN*KEY 6200/6300 Hand-Held Computer Programmer’s Reference Guide – " 30-Key Keyboard SECTION 5...
  • Page 163 SECTION 5 EXIT " 56-Key Keyboard PEN*KEY 6200/6300 Hand-Held Computer Programmer’s Reference Guide Communications and Device Support 5-21...
  • Page 164 Communications and Device Support Logical Keyboard Standard Unshifted Keycode Definitions " " " " " " " " 5-22 PEN*KEY 6200/6300 Hand-Held Computer Programmer’s Reference Guide SECTION 5...
  • Page 165 (0x22, 0) (0x32, 0) (0x1F, 0) (0x15, 0) (0x2A, 0x0C, 0x8C, 0xAA) (0x2A, 0x2B, 0xAB, 0xAA) (0x35, 0xB5) (0x52, 0xD2) (0x01) (0x2A, 0x28, 0xA8, 0xAA) (0x2B, 0xAB) (0x29, 0xA9) PEN*KEY 6200/6300 Hand-Held Computer Programmer’s Reference Guide Communications and Device Support 5-23...
  • Page 166 " (0x4D, 0) (0x20, 0) (0x24, 0) (0x19, 0) 5-24 PEN*KEY 6200/6300 Hand-Held Computer Programmer’s Reference Guide (0x2A, 0x34, 0xB4, 0xAA) (0x2A, 0x34, 0xB4, 0xAA) (0x47, 0xC7) (0x2A, 0x0F, 0x8F, 0xAA) (0x2A, 0x0F, 0x8F, 0xAA) (0x02) (0x2A, 0x0D, 0x8D, 0xAA)
  • Page 167 (0x38, 0x3E, 0xBE, 0xB8) (0x2A, 0x09, 0x89, 0xAA) (0x2A, 0x06, 0x86, 0xAA) (0x2A, 0x03, 0x83, 0xAA) (0x2A, 0x0B, 0x8B, 0xAA) PEN*KEY 6200/6300 Hand-Held Computer Programmer’s Reference Guide Communications and Device Support (0x53, 0xD3) (0x01) (0x04) (0x38, 0x3B, 0xBB, 0xB8) (0x38, 0x3C, 0xBC, 0xB8)
  • Page 168 ;14h ax,5380h al,al _oemDefineKeyMacro endp 5-26 PEN*KEY 6200/6300 Hand-Held Computer Programmer’s Reference Guide (0x2A, 0x0A, 0x8A, 0xAA) (0x2A, 0x07, 0x87, 0xAA) (0x2A, 0x07, 0x87, 0xAA) (0x2A, 0x04, 0x84, 0xAA) (0x2A, 0x04, 0x84, 0xAA) ;make certain al = 0...
  • Page 169 ;UI oemDefineKey (UC keypos, UC keycode, UC type) _oemDefineKey proc near push bp bp,sp ch,[bp+8] cl,[bp+6] bl,[bp+4] bh,DEFINEKEY ax,5380h al,al _oemDefineKey endp 6300 Keyboard Definition/Redefinition Physical Keyboard ;15h ;make certain al = 0 PEN*KEY 6200/6300 Hand-Held Computer Programmer’s Reference Guide Communications and Device Support " 5-27...
  • Page 170 Communications and Device Support Logical Keyboard Standard Keycode Definitions " NOTE: GOLD is not the same as shift. 5-28 PEN*KEY 6200/6300 Hand-Held Computer Programmer’s Reference Guide SECTION 5...
  • Page 171 SECTION 5 Communications and Device Support " PEN*KEY 6200/6300 Hand-Held Computer Programmer’s Reference Guide 5-29...
  • Page 172 Communications and Device Support SECTION 5 0xe0 5-30 PEN*KEY 6200/6300 Hand-Held Computer Programmer’s Reference Guide...
  • Page 173 SECTION 5 Gold Shifted Keypress Definitions " " " " " Macro Redefinition PEN*KEY 6200/6300 Hand-Held Computer Programmer’s Reference Guide Communications and Device Support 5-31...
  • Page 174 15h xor al,al pop bp _oemDefineKey endp 5-32 PEN*KEY 6200/6300 Hand-Held Computer Programmer’s Reference Guide ;make certain al = 0 ;15h ;make certain al = 0 SECTION 5...
  • Page 175: Upper Memory Provider

    SECTION 5 Upper Memory Provider DOS=UMB DEVICE=UMP.SYS /X=C800 DOS=UMB DEVICEHIGH=... DEVICE=HIMEM.SYS DOS=HIGH DEVICE=UMP.SYS /X=D000,D400,D800,DC00 DOS=UMB DEVICEHIGH=... /X=aaaa[,aaaa] PEN*KEY 6200/6300 Hand-Held Computer Programmer’s Reference Guide Communications and Device Support 5-33...
  • Page 176 Communications and Device Support SECTION 5 5-34 PEN*KEY 6200/6300 Hand-Held Computer Programmer’s Reference Guide...
  • Page 177 Section 6 Conversions and Interfaces " " " " " " " " " " " " " " " " " " " " " " " " " Topic Summary PEN*KEY 6200/6300 Hand-Held Computer Programmer’s Reference Guide...
  • Page 178 Conversions and Interfaces SECTION 6 Topic Summary List of Tables Converting 4000 Series Applications PEN*KEY 6200/6300 Hand-Held Computer Programmer’s Reference Guide...
  • Page 179: Changed Files

    SECTION 6 Conversions and Interfaces Files No Longer Supported Changed Files CONFIG.SYS PEN*KEY 6200/6300 Hand-Held Computer Programmer’s Reference Guide...
  • Page 180: New 6000 Series Files

    Conversions and Interfaces SECTION 6 CPLNI.COM PC4800.SYS PC-DEXIO.BIN SYSIO.BIN, TTYIO.BIN, URTIO.BIN New 6000 Series Files AUTOEXEC.BAT 4000API.EXE PEN*KEY 6200/6300 Hand-Held Computer Programmer’s Reference Guide...
  • Page 181: Unchanged Files

    SECTION 6 Conversions and Interfaces FONTMAP.EXE *.FNT IPLFMT.EXE MININET.EXE ROMINIT.BAT Unchanged Files C++ Application Changes Keyboard Display PEN*KEY 6200/6300 Hand-Held Computer Programmer’s Reference Guide...
  • Page 182 = 0x5d01; intdosx(&regs,&regs,&sregs); if (regs.x.cflag) return regs.x.ax; return 0; PEN*KEY 6200/6300 Hand-Held Computer Programmer’s Reference Guide fflush() //set current computer //set up address of parameter table //commit all files to disk // if error return code completed ok SECTION 6...
  • Page 183 NRApmSetPower(NR_POWER_OFF, NR_DEVICE_COM1 | 0xff); // power off LAN adapters NRApmSetPower(NR_POWER_OFF, NR_DEVICE_LAN_ADAPTER | 0xff); // power off digitizer pads (touch screen) NRApmSetPower(NR_POWER_OFF, NR_DEVICE_DIG_PADS | 0xff); // power off Switch V+ NRApmSetPower(NR_POWER_OFF, NR_DEVICE_SWVPLUS | 0xff); PEN*KEY 6200/6300 Hand-Held Computer Programmer’s Reference Guide...
  • Page 184 // enable PC Card modem ApmSetPower( POWER_READY, DEVICE_COM1 + com_port); // perform communications... // disable PC Card modem ApmSetPower( POWER_OFF, DEVICE_COM1 + com_port); PEN*KEY 6200/6300 Hand-Held Computer Programmer’s Reference Guide 0x0400 unsigned char iErr = 0; asm mov bx,iDevice asm mov...
  • Page 185 = ‘AT&FE0V0Q0&S1&C1&D2&K0)M1:E0@M18\N2*H1S7=90’ = ‘AT&FE0V0Q0X4W0&S1&C1&D2&M0&R\QS0=0’ = ‘AT&FE0V0Q0X1W0&S1&C1&D2&M0&R\QS0=0%M1’ = ‘AT&FE0V0Q0&S1&C1&D2\Q)M1:E0@M18\N2*H2S7=90’ = ‘AT&FE0V0Q0X4W0&S1&C1&D2&Q5&KS0=0’ = ‘AT&FE0V0Q0X1W0&S1&C1&D2&Q5&KS0=0’ = ‘AT&FE0V0Q0&S1&C1&D2&K0)M1:E0@M18\N2*H2S7=90’ = ‘AT&FE0V0Q0X4W0&S1&C1&D2&Q5&KS0=0’ = ‘AT&FE0V0Q0X1W0&S1&C1&D2&Q5&KS0=0+MS=2’ = ‘AT&FE0V0Q0&S1&C1&D2&K0)M1:E0@M18\N2*H1S7=90’ bx,iDevice ax,0x530c 0x15 Error iV,cx /* –1 indicates an error. */ PEN*KEY 6200/6300 Hand-Held Computer Programmer’s Reference Guide Conversions and Interfaces...
  • Page 186 –S1 –IA –C3 Rem CardSoft drivers manage the first slot only device=d:\sscirrus.exe /skt=1 device=d:\cs.exe device=d:\csalloc.exe device=d:\atadrv.exe /S:2 device=d:\mtsram.exe device=d:\mtddrv.exe device=d:\cardid.exe device=d:\norcsapm.exe +p:0 PL/N Application Changes ++ifdef General Source Changes 6-10 PEN*KEY 6200/6300 Hand-Held Computer Programmer’s Reference Guide ++ifdef ++ifdef 6000 SECTION 6...
  • Page 187 SECTION 6 CLKIO " " " KBDIO GETCTL 3 (KB_PHYSIZE) " " MEMIO PEN*KEY 6200/6300 Hand-Held Computer Programmer’s Reference Guide Conversions and Interfaces 6-11...
  • Page 188 Conversions and Interfaces PRTIO " " " " SYSIO XLMEMIO Standard Routines Adding PC Card Modem Support 6-12 PEN*KEY 6200/6300 Hand-Held Computer Programmer’s Reference Guide SECTION 6...
  • Page 189 ENDIF ENDIF MODEM_ERROR = HAYES(COM_PORT, CONFIG.TCOM_SPEED, & MODEM_STRING, DATA_BITS, PARITY, & MDM_CFGWAIT, MDM_CFGRETRY, OPT_RESP, OPT_ENGLISH) BINARY BYTE TT_2WAY + TT_CR + TT_AS_IS DATA_BITS,TT_DATA = PGMDM1P = PGHAD3P PIC X PEN*KEY 6200/6300 Hand-Held Computer Programmer’s Reference Guide Conversions and Interfaces 6-13...
  • Page 190 Rem PC Card modem driver manages the second slot device=c:\ngenmod.sys –S1 –IA –C3 Rem CardSoft drivers manage the first slot only device=d:\sscirrus.exe /skt=1 device=d:\cs.exe device=d:\csalloc.exe device=d:\atadrv.exe /S:2 device=d:\mtsram.exe device=d:\mtddrv.exe device=d:\cardid.exe device=d:\norcsapm.exe +p:0 6-14 PEN*KEY 6200/6300 Hand-Held Computer Programmer’s Reference Guide SECTION 6...
  • Page 191 SECTION 6 Conversions and Interfaces " " " " " ASSIGN.COM A:=E: B:=F: PEN*KEY 6200/6300 Hand-Held Computer Programmer’s Reference Guide 6-15...
  • Page 192 Conversions and Interfaces SECTION 6 6200/6300 BIOS Interfaces Interrupts Supported by the BIOS BIOS Interrupts Supported 6-16 PEN*KEY 6200/6300 Hand-Held Computer Programmer’s Reference Guide...
  • Page 193 SECTION 6 Conversions and Interfaces BIOS Interrupts Supported PEN*KEY 6200/6300 Hand-Held Computer Programmer’s Reference Guide 6-17...
  • Page 194 Conversions and Interfaces SECTION 6 BIOS Interrupts Supported 6-18 PEN*KEY 6200/6300 Hand-Held Computer Programmer’s Reference Guide...
  • Page 195 SECTION 6 Unsupported 4000 Series BIOS Interrupts INT 02h and INT 05h " " BIOS Interrupts Supported PEN*KEY 6200/6300 Hand-Held Computer Programmer’s Reference Guide Conversions and Interfaces 6-19...
  • Page 196 Conversions and Interfaces INT 10h " " " " " " " " " " " " " " " " INT 13h " " " " 6-20 PEN*KEY 6200/6300 Hand-Held Computer Programmer’s Reference Guide SECTION 6...
  • Page 197 SECTION 6 Conversions and Interfaces " " " " " " " " " " " " " " " " " " " " " " " " " " " PEN*KEY 6200/6300 Hand-Held Computer Programmer’s Reference Guide 6-21...
  • Page 198 Conversions and Interfaces SECTION 6 " " " " " " " " " 6-22 PEN*KEY 6200/6300 Hand-Held Computer Programmer’s Reference Guide...
  • Page 199: Series Programming Interfaces

    4000API.EXE /C3 /PC /10 /14 /16 " " Command Line Switches " NOTE: Switches can be executed with either the slash (/) or the dash (–). 4000API.EXE PEN*KEY 6200/6300 Hand-Held Computer Programmer’s Reference Guide Conversions and Interfaces 4000API.EXE /C3 6-23...
  • Page 200 Conversions and Interfaces SECTION 6 Multi-tasking Services Tasks and Scheduling Timeouts Resource Arbitration and Task Communication Mailboxes 6-24 PEN*KEY 6200/6300 Hand-Held Computer Programmer’s Reference Guide...
  • Page 201 SECTION 6 Conversions and Interfaces Queues Interrupts Supported by 4000API.EXE 4000API Interrupts Supported PEN*KEY 6200/6300 Hand-Held Computer Programmer’s Reference Guide 6-25...
  • Page 202 Conversions and Interfaces SECTION 6 4000API Interrupts Supported 6-26 PEN*KEY 6200/6300 Hand-Held Computer Programmer’s Reference Guide...
  • Page 203 Unsupported 4000 Series Interrupts " " " " " " " " " " " " " " " " 4000 Series Screen Emulation " " " " " " " PEN*KEY 6200/6300 Hand-Held Computer Programmer’s Reference Guide Conversions and Interfaces 6-27...
  • Page 204 Conversions and Interfaces SECTION 6 Parameters and Command Line Switches Font File Format Interrupts supported by FONTMAP.EXE FONTMAP Interrupts Supported 6-28 PEN*KEY 6200/6300 Hand-Held Computer Programmer’s Reference Guide...
  • Page 205 SECTION 6 Conversions and Interfaces FONTMAP Interrupts Supported Unsupported 4000 Series Video Interrupts " " " " " PEN*KEY 6200/6300 Hand-Held Computer Programmer’s Reference Guide 6-29...
  • Page 206: Interrupt Definitions

    Conversions and Interfaces Interrupt Definitions System Timer: INT 08h BIOS 6-30 PEN*KEY 6200/6300 Hand-Held Computer Programmer’s Reference Guide SECTION 6...
  • Page 207 SECTION 6 Conversions and Interfaces Keyboard Interface: INT 09h BIOS PEN*KEY 6200/6300 Hand-Held Computer Programmer’s Reference Guide 6-31...
  • Page 208 Conversions and Interfaces Display Services: INT 10h General Display Functions INT 10h, Function AH = 00h: Set Display Mode BIOS FONTMAP " " " " " " " " " " 6-32 PEN*KEY 6200/6300 Hand-Held Computer Programmer’s Reference Guide SECTION 6...
  • Page 209 INT 10h, Function AH = 01h: Set Cursor Type BIOS, FONTMAP INT 10h, Function AH = 02h: Set Cursor Position BIOS, FONTMAP INT 10h, Function AH = 03h: Read Cursor Position and Type BIOS, FONTMAP PEN*KEY 6200/6300 Hand-Held Computer Programmer’s Reference Guide Conversions and Interfaces 6-33...
  • Page 210 INT 10h, Function AH = 05h: Set Active Display Page BIOS, FONTMAP " NOTE: For FONTMAP.EXE, only pages 0 and 1 are supported. INT 10h, Function AH = 06h: Scroll Active Page Up BIOS, FONTMAP 6-34 PEN*KEY 6200/6300 Hand-Held Computer Programmer’s Reference Guide SECTION 6...
  • Page 211 SECTION 6 Conversions and Interfaces INT 10h, Function AH = 07h: Scroll Active Page Down BIOS, FONTMAP INT 10h, Function AH = 08h: Read Character and Attribute at Cursor Position PEN*KEY 6200/6300 Hand-Held Computer Programmer’s Reference Guide 6-35...
  • Page 212 Conversions and Interfaces SECTION 6 INT 10h, Function AH = 09h: Write Character and Attribute at Cursor Position INT 10h, Function AH = 0Ah: Write Character Only at Cursor Position 6-36 PEN*KEY 6200/6300 Hand-Held Computer Programmer’s Reference Guide...
  • Page 213 INT 10h, Function AH = 0Bh: Set Color Palette BIOS INT 10h, Function AH = 0Ch: Write Graphics Dot BIOS INT 10h, Function AH = 0Dh: Read Graphics Dot BIOS PEN*KEY 6200/6300 Hand-Held Computer Programmer’s Reference Guide Conversions and Interfaces 6-37...
  • Page 214 INT 10h, Function AH = 0Fh: Return Current Video State BIOS, FONTMAP INT 10h, Function AX = 1000h: Set Palette Register BIOS INT 10h, Function AX = 1001h: Set Border Color BIOS 6-38 PEN*KEY 6200/6300 Hand-Held Computer Programmer’s Reference Guide SECTION 6...
  • Page 215 INT 10h, Function AX = 1003h: Toggle Blink Intensity Bit BIOS INT 10h, Function AX = 1007h: Get Palette Register BIOS INT 10h, Function AX = 1008h: Get Border Color BIOS " " " " " " " PEN*KEY 6200/6300 Hand-Held Computer Programmer’s Reference Guide Conversions and Interfaces 6-39...
  • Page 216 INT 10h, Function AX = 1009h: Get Palette and Border BIOS INT 10h, Function AX = 1010h: Set Color Register BIOS INT 10h, Function AX = 1012h: Set Block of Color Registers BIOS 6-40 PEN*KEY 6200/6300 Hand-Held Computer Programmer’s Reference Guide SECTION 6...
  • Page 217 INT 10h, Function AX = 1013h: Set Color Page State BIOS INT 10h, Function AX = 1015h: Get Color Register BIOS INT 10h, Function AX = 1017h: Get Block of Color Registers BIOS PEN*KEY 6200/6300 Hand-Held Computer Programmer’s Reference Guide Conversions and Interfaces 6-41...
  • Page 218 INT 10h, Function AX = 101Ah: Get Color Page State BIOS INT 10h, Function AX = 101Bh: Set Gray Scale Values BIOS gray_sum = 30% red + 59% green + 11% blue 6-42 PEN*KEY 6200/6300 Hand-Held Computer Programmer’s Reference Guide SECTION 6...
  • Page 219 Font Support INT 10h, Function AH = 11h, AL = 00h/10h: Load User Font BIOS INT 10h, Function AH = 11h, AL = 01h/11h: Load ROM 8x14 Fonts BIOS PEN*KEY 6200/6300 Hand-Held Computer Programmer’s Reference Guide Conversions and Interfaces 6-43...
  • Page 220 Conversions and Interfaces INT 10h, Function AH = 11h, AL = 02h/12h: Load ROM 8x8 Fonts BIOS INT 10h, Function AX = 1103h: Set Block Specifier BIOS 6-44 PEN*KEY 6200/6300 Hand-Held Computer Programmer’s Reference Guide SECTION 6...
  • Page 221 INT 10h, Function AH = 11h, Subfunction 04h/14h: Load ROM 8x14 Fonts BIOS INT 10h, Function AX = 1120h: Set INT 1Fh Font Pointer BIOS INT 10h, Function AX = 1121h: Set INT 43h for User Font BIOS PEN*KEY 6200/6300 Hand-Held Computer Programmer’s Reference Guide Conversions and Interfaces 6-45...
  • Page 222 INT 10h, Function AX = 1122h: Set INT 43h for ROM 8x14 Font BIOS INT 10h, Function AX = 1123h: Set INT 43h for ROM 8x8 Font BIOS INT 10h, Function AX = 1124h: Set INT 43h for ROM 8x16 Font BIOS 6-46 PEN*KEY 6200/6300 Hand-Held Computer Programmer’s Reference Guide SECTION 6...
  • Page 223 SECTION 6 INT 10h, Function AX = 1130h: Get Font Information BIOS Alternative Settings, Video INT 10h, Function AH = 12h, BL = 10h: Get Video Configuration Information BIOS PEN*KEY 6200/6300 Hand-Held Computer Programmer’s Reference Guide Conversions and Interfaces 6-47...
  • Page 224 INT 10h, Function AH = 12h, BL = 31h: Enable/Disable Default Palette Loading BIOS INT 10h, Function AH = 12h, BL = 32h: Enable/Disable Video BIOS INT 10h, Function AH = 12h, BL = 33h: Enable/Disable Gray Scale Summing BIOS 6-48 PEN*KEY 6200/6300 Hand-Held Computer Programmer’s Reference Guide SECTION 6...
  • Page 225 INT 10h, Function AH = 12h, BL = 36h: Video Screen Off/On 4000API INT 10h, Function AH = 12h, BL = FAh: Set Physical Display Size FONTMAP Specific to NORAND computers, may not be PC compatible. PEN*KEY 6200/6300 Hand-Held Computer Programmer’s Reference Guide Conversions and Interfaces 6-49...
  • Page 226 Specific to NORAND computers, may not be PC compatible. INT 10h, Function AX = 12DFh, BL = FCh: Disable Invert Mode FONTMAP Specific to NORAND computers, may not be PC compatible. 6-50 PEN*KEY 6200/6300 Hand-Held Computer Programmer’s Reference Guide SECTION 6...
  • Page 227 Specific to NORAND computers, may not be PC compatible. INT10h, Function AH = 12h, BL = 0FEh: Read/Write Contrast 4000API, FONTMAP Specific to NORAND computers, may not be PC compatible. PEN*KEY 6200/6300 Hand-Held Computer Programmer’s Reference Guide Conversions and Interfaces 6-51...
  • Page 228 Specific to NORAND computers, may not be PC compatible. Programmable Font Support INT 10h, Function AX = 1400h: Load User Font FONTMAP INT 10h, Function AX = 1401h, BL = 00h: Load System Default Font FONTMAP 6-52 PEN*KEY 6200/6300 Hand-Held Computer Programmer’s Reference Guide SECTION 6...
  • Page 229 SECTION 6 Conversions and Interfaces Equipment Determination: INT 11h BIOS Memory Size Determination: INT 12h BIOS PEN*KEY 6200/6300 Hand-Held Computer Programmer’s Reference Guide 6-53...
  • Page 230 Conversions and Interfaces SECTION 6 Disk Services: INT 13h BIOS INT 13h, Function AH = 00h: Reset Disk System BIOS 6-54 PEN*KEY 6200/6300 Hand-Held Computer Programmer’s Reference Guide...
  • Page 231 SECTION 6 INT 13h, Function AH = 01h: Read Last Operation Status BIOS INT 13h, Function 02h: Read Disk Sectors into Memory BIOS PEN*KEY 6200/6300 Hand-Held Computer Programmer’s Reference Guide Conversions and Interfaces 6-55...
  • Page 232 Conversions and Interfaces INT 13h, Function AH = 03h: Write Disk Sectors from Memory BIOS INT 13h, Function AH = 04h: Verify Disk Sectors BIOS 6-56 PEN*KEY 6200/6300 Hand-Held Computer Programmer’s Reference Guide SECTION 6...
  • Page 233 SECTION 6 INT 13h, Function AH = 08h: Read Drive Parameters BIOS INT 13h, Function AH = 15h: Get Disk Type BIOS PEN*KEY 6200/6300 Hand-Held Computer Programmer’s Reference Guide Conversions and Interfaces 6-57...
  • Page 234 Conversions and Interfaces INT 13h, Function AH = 16h: Detect Disk Change BIOS INT 13h, Function AH = 18h: Set Media Type BIOS 6-58 PEN*KEY 6200/6300 Hand-Held Computer Programmer’s Reference Guide SECTION 6...
  • Page 235 BIOS INT 13h, Function AH = ECh: Enable Checksum of RAM Drive Integrity Memory BIOS _RamDriveSignature label byte db “Norand RamDrive”,0 db 0,0, 0Fh, 0FFh,0FFh,0FFh db 0F0h, 3Ch,99h,0C3h, 55h,0AAh PEN*KEY 6200/6300 Hand-Held Computer Programmer’s Reference Guide Conversions and Interfaces 6-59...
  • Page 236 Conversions and Interfaces Serial Communications Services: INT 14h BIOS 4000API " " " " " 6-60 PEN*KEY 6200/6300 Hand-Held Computer Programmer’s Reference Guide SECTION 6...
  • Page 237 SECTION 6 Conversions and Interfaces INT 14h, Function AH = 00h: Initialize COM Port BIOS, 4000API, NGENMOD, NGENWAN PEN*KEY 6200/6300 Hand-Held Computer Programmer’s Reference Guide 6-61...
  • Page 238 For Transmit a Character and Receive a Character, DTR and RTS are raised and DSR and CTS are expected within a timeout period specified by an array at 40:7C. INT 14h, Function AH = 03h: Read Communications Port Status BIOS, 4000API 6-62 PEN*KEY 6200/6300 Hand-Held Computer Programmer’s Reference Guide SECTION 6...
  • Page 239 INT 14h, Function AH = 04h: Extended Initialize BIOS, 4000API, NGENMOD, NGENWAN " NOTE: This is a nonstandard PC function. It may not be available in every PC BIOS. Use caution where portability is a concern. PEN*KEY 6200/6300 Hand-Held Computer Programmer’s Reference Guide 6-63...
  • Page 240 INT 14h, Function AX = 0501h: Write Modem Control Port 4000API " NOTE: This is a nonstandard PC function. It may not be available in every PC BIOS. Use caution where portability is a concern. 6-64 PEN*KEY 6200/6300 Hand-Held Computer Programmer’s Reference Guide SECTION 6...
  • Page 241 INT 14h, Function AH = FFh: Communications Port Power Off/On 4000API, NGENMOD, NGENWAN " NOTE: This is a nonstandard PC function. It may not be available in every PC BIOS. Use caution where portability is a concern. PEN*KEY 6200/6300 Hand-Held Computer Programmer’s Reference Guide Conversions and Interfaces 6-65...
  • Page 242 Task_id = ((es << 4) + bx) >> 4; INT 15h, Function AX = 0101h: Delete a Task 4000API 6-66 PEN*KEY 6200/6300 Hand-Held Computer Programmer’s Reference Guide ;di register contents for new task ;si register contents for new task ;bp register contents for new task ;does not care ;bx register contents for new task...
  • Page 243 INT 15h, Function AX = 0103h: Disable Task Switching 4000API INT 15h, Function AX = 0104h: Enable Task Switching 4000API INT 15h, Function AX = 0105h: Reset Multi-tasker 4000API PEN*KEY 6200/6300 Hand-Held Computer Programmer’s Reference Guide Conversions and Interfaces 6-67...
  • Page 244 INTERRUPT ROUTINES MUST NOT ISSUE THIS CALL. INT 15h, Function AX = 0107h: Accept Message from Mailbox (No Pend) 4000API INT 15h, Function AX = 0108h: Post Message to Mailbox 4000API 6-68 PEN*KEY 6200/6300 Hand-Held Computer Programmer’s Reference Guide SECTION 6...
  • Page 245 INT 15h, Function AX = 010Bh: Post Message to Queue 4000API INT 15h, Function AX = 010Ch: Delay Current Task 4000API " NOTE: INTERRUPT ROUTINES MUST NOT ISSUE THIS CALL. PEN*KEY 6200/6300 Hand-Held Computer Programmer’s Reference Guide Conversions and Interfaces 6-69...
  • Page 246 INT 15h, Function AX = 010Fh: Disable Time-Slicing 4000API INT 15h, Function AX = 0110h: Set Task Identifier 4000API INT 15h, Function AX = 01F4h: Accumulate CRC 16h 4000API 6-70 PEN*KEY 6200/6300 Hand-Held Computer Programmer’s Reference Guide This system service may not be PC compatible. SECTION 6...
  • Page 247 ; BIOS scratch area ; network address ; BIOS scratch area ; frame control field buffer db ; dup(?); frame i-field buffer ; BIOS scratch area cbuf ends PEN*KEY 6200/6300 Hand-Held Computer Programmer’s Reference Guide Conversions and Interfaces This system service 6-71...
  • Page 248 INT 15h, Function AX = 01FAh: Sound Error Beep 4000API This system service may not be PC compatible. INT 15h, Function AX = 01FBh: Return Pointer to BIOS Version 4000API This system service may not be PC compatible. 6-72 PEN*KEY 6200/6300 Hand-Held Computer Programmer’s Reference Guide SECTION 6...
  • Page 249 This system service may not be PC compatible. es:[bx].adr es:[bx].ctl es:[bx].buffer INT 15h, Function AX = 01FEh: Send a Network Packet 4000API This system service may not be PC compatible. es:[bx].len es:[bx].adr es:[bx].ctl es:[bx].buffer PEN*KEY 6200/6300 Hand-Held Computer Programmer’s Reference Guide Conversions and Interfaces 6-73...
  • Page 250 This interrupt is a PC-like system service. INT 15h, Function AX = 4201h: Request System Shutdown, Low Battery 4000API " NOTE: Do NOT allow ON/OFF key to wake unit. Force display off. Turn off all peripherals. 6-74 PEN*KEY 6200/6300 Hand-Held Computer Programmer’s Reference Guide SECTION 6...
  • Page 251 SECTION 6 INT 15h, Function AH = 4Fh: Keyboard Intercept BIOS, 4000API INT 15h, Function AX = 5300h: APM Installation Check NORAPM PEN*KEY 6200/6300 Hand-Held Computer Programmer’s Reference Guide Conversions and Interfaces 6-75...
  • Page 252 Conversions and Interfaces INT 15h, Function AX = 5301h: APM Real Mode Interface Connect NORAPM INT 15h, Function AX = 5304h: APM Interface Disconnect NORAPM 6-76 PEN*KEY 6200/6300 Hand-Held Computer Programmer’s Reference Guide SECTION 6...
  • Page 253 SECTION 6 INT 15h, Function AX = 5305h: CPU Idle NORAPM INT 15h, Function AX = 5306h: CPU Busy NORAPM PEN*KEY 6200/6300 Hand-Held Computer Programmer’s Reference Guide Conversions and Interfaces 6-77...
  • Page 254 Conversions and Interfaces SECTION 6 INT 15h, Function AX = 5307h: Set Power State NGENMOD, NGENWAN NORAPM 6-78 PEN*KEY 6200/6300 Hand-Held Computer Programmer’s Reference Guide...
  • Page 255 SECTION 6 Conversions and Interfaces INT 15h, Function AX = 5308h: Enable/Disable Power Management NORAPM PEN*KEY 6200/6300 Hand-Held Computer Programmer’s Reference Guide 6-79...
  • Page 256 Conversions and Interfaces SECTION 6 INT 15h, Function AX = 530Ah: Get Power Status NORAPM 6-80 PEN*KEY 6200/6300 Hand-Held Computer Programmer’s Reference Guide...
  • Page 257 SECTION 6 INT 15h, Function AX = 530Bh: Get PM Event NORAPM INT 15h, Function AX = 530Ch: Get Power State NGENMOD, NGENWAN PEN*KEY 6200/6300 Hand-Held Computer Programmer’s Reference Guide Conversions and Interfaces 6-81...
  • Page 258 Conversions and Interfaces INT 15h, Function AX = 530Dh: Enable/Disable Device Power Management NORAPM INT 15h, Function AX = 530Eh: Return Driver Version, APM v1.1 NORAPM 6-82 PEN*KEY 6200/6300 Hand-Held Computer Programmer’s Reference Guide SECTION 6...
  • Page 259 INT 15h, Function AX = 5380h, Subfunction BH = 09h: Set VPP1 This interrupt is a NORAND Proprietary System interface. INT 15h, Function AX = 5380h, Subfunction BH = 0Ah: Set VPP2 This interrupt is a NORAND Proprietary System interface. PEN*KEY 6200/6300 Hand-Held Computer Programmer’s Reference Guide Conversions and Interfaces 6-83...
  • Page 260 NORAPM Proprietary System interface. INT 15h, Function AX = 5380h, Subfunction BH = 0Eh: Backlight Adjust NORAPM NORAND Proprietary System interface. 6-84 PEN*KEY 6200/6300 Hand-Held Computer Programmer’s Reference Guide SECTION 6 This interrupt is a NORAND This interrupt is a...
  • Page 261 INT 15h, Function AX = 5380h, Subfunction BH = 10h: Set Key Click Parame- ters NORAPM interface. // the actual ID This interrupt is a NORAND Proprietary System PEN*KEY 6200/6300 Hand-Held Computer Programmer’s Reference Guide Conversions and Interfaces This interrupt is a 6-85...
  • Page 262 INT 15h, Function AX = 5380h, Subfunction BH = 14h: Define Key Macro NORAPM This interrupt is a NORAND Proprietary System interface. 6-86 PEN*KEY 6200/6300 Hand-Held Computer Programmer’s Reference Guide This interrupt is a NORAND Proprietary System interface. SECTION 6...
  • Page 263 INT 15h, Function AX = 5380h, Subfunction BH = 1Ah: Enable/Disable Key Click NORAPM This interrupt is a NORAND Proprietary System This interrupt is a NORAND Proprietary System interface. PEN*KEY 6200/6300 Hand-Held Computer Programmer’s Reference Guide Conversions and Interfaces 6-87...
  • Page 264 This interrupt is a NORAND Proprietary System interface. INT 15h, Function AX = 5380h, Subfunction BH = 1Ch: Return Mup Version NORAPM NORAND Proprietary System interface. 6-88 PEN*KEY 6200/6300 Hand-Held Computer Programmer’s Reference Guide SECTION 6 This interrupt is a...
  • Page 265 INT 15h, Function AX = 5380h, Subfunction BH = 25h: Write EEPROM NORAPM interface. This interrupt is a NORAND Proprietary System interface. This interrupt is a NORAND Proprietary System PEN*KEY 6200/6300 Hand-Held Computer Programmer’s Reference Guide Conversions and Interfaces 6-89...
  • Page 266 INT 15h, Function AX = 5380h, Subfunction BH = 28h: Set COM2 Mux NORAPM NORAND Proprietary System interface. 6-90 PEN*KEY 6200/6300 Hand-Held Computer Programmer’s Reference Guide This interrupt is a NORAND Proprietary System This interrupt is a SECTION 6...
  • Page 267 /* Digitizer Width coordinate of display edge */ /* Digitizer Height coordinate of display edge */ /* Digitizer long axis length in device units */ /* Digitizer short axis length in device units */ PEN*KEY 6200/6300 Hand-Held Computer Programmer’s Reference Guide Conversions and Interfaces 6-91...
  • Page 268 NORAND Proprietary System interface. INT 15h, Function AX = 5380h, Subfunction BH = 2Fh: Set Wakeup Mask NORAPM This interrupt is a NORAND Proprietary System interface. 6-92 PEN*KEY 6200/6300 Hand-Held Computer Programmer’s Reference Guide SECTION 6 This...
  • Page 269 { id[6]; } ETHERID; INT 15h, Function AX = 5380h, Subfunction = 31h: Set Activity Timeout NORAPM // the actual ID This interrupt is a NORAND Proprietary System interface. PEN*KEY 6200/6300 Hand-Held Computer Programmer’s Reference Guide Conversions and Interfaces 6-93...
  • Page 270 INT 15h, Function AX = 5380h, Subfunction BH = 33h: Get Activity Timeout NORAPM interrupt is a NORAND Proprietary System interface. 6-94 PEN*KEY 6200/6300 Hand-Held Computer Programmer’s Reference Guide This interrupt is a NORAND Proprietary System SECTION 6 This...
  • Page 271 NORAND Proprietary System interface. INT 15h, Function AX = 5380h, Subfunction BH = 35h: Get Wakeup Mask NORAPM This interrupt is a NORAND Proprietary System interface. PEN*KEY 6200/6300 Hand-Held Computer Programmer’s Reference Guide Conversions and Interfaces This interrupt 6-95...
  • Page 272 System interface. INT 15h, Function AX = 5380h, Subfunction BH = 37h: Main Battery Voltage NORAPM Proprietary System interface. 6-96 PEN*KEY 6200/6300 Hand-Held Computer Programmer’s Reference Guide SECTION 6 This interrupt is a NORAND Proprietary This interrupt is a NORAND...
  • Page 273 Proprietary System interface. INT 15h, Function AX = 5380h, Subfunction BH = 39h: Charge Voltage NORAPM System interface. This interrupt is a NORAND Proprietary PEN*KEY 6200/6300 Hand-Held Computer Programmer’s Reference Guide Conversions and Interfaces This interrupt is a NORAND 6-97...
  • Page 274 Conversions and Interfaces INT 15h, Function AH = 80h: Device Open BIOS INT 15h, Function AH = 81h: Device Close BIOS INT 15h, Function AH = 82h: Program Termination BIOS 6-98 PEN*KEY 6200/6300 Hand-Held Computer Programmer’s Reference Guide SECTION 6...
  • Page 275 INT 15h, Function AX = 8300h: Set Event Wait Interval BIOS INT 15h, Function AX = 8301h: Cancel Event Wait Interval BIOS INT 15h, Function AH = 85h: System Request Key BIOS PEN*KEY 6200/6300 Hand-Held Computer Programmer’s Reference Guide Conversions and Interfaces 6-99...
  • Page 276 Conversions and Interfaces INT 15h, Function AH = 86h: Wait (Elapsed time) BIOS INT 15h, Function AH = 87h: Copy Memory Block BIOS 6-100 PEN*KEY 6200/6300 Hand-Held Computer Programmer’s Reference Guide SECTION 6...
  • Page 277 INT 15h, Function AH = 89h: Switch Processor to Protected Mode BIOS INT 15h, Function AX = 9002h: Pend On Key Press 4000API " NOTE: INTERRUPT ROUTINES MUST NOT ISSUE THIS CALL. PEN*KEY 6200/6300 Hand-Held Computer Programmer’s Reference Guide Conversions and Interfaces 6-101...
  • Page 278 Conversions and Interfaces INT 15h, Function AH = 90h: Device Busy BIOS INT 15h, Function AH = 91h: Interrupt Complete BIOS 6-102 PEN*KEY 6200/6300 Hand-Held Computer Programmer’s Reference Guide SECTION 6...
  • Page 279 SECTION 6 INT 15h, Function AH = C0h: Return System Configuration Parameters Ad- dress BIOS INT 15h, Function AH = C1h: Return Extended BIOS Data Area Segment BIOS PEN*KEY 6200/6300 Hand-Held Computer Programmer’s Reference Guide Conversions and Interfaces 6-103...
  • Page 280: Scan Codes

    Conversions and Interfaces Keyboard Services: INT 16h Scan Codes 112 113 114 " " " " " " 6-104 PEN*KEY 6200/6300 Hand-Held Computer Programmer’s Reference Guide 116 117 120 121 SECTION 6 125 126 100 105...
  • Page 281 SECTION 6 Conversions and Interfaces Character Codes Returned by INT 16h " " " Character Codes Returned by INT 16h, Functions 00h/01h ‘ ~ PEN*KEY 6200/6300 Hand-Held Computer Programmer’s Reference Guide 6-105...
  • Page 282 Conversions and Interfaces SECTION 6 Character Codes Returned by INT 16h, Functions 00h/01h 6-106 PEN*KEY 6200/6300 Hand-Held Computer Programmer’s Reference Guide...
  • Page 283 SECTION 6 Conversions and Interfaces Character Codes Returned by INT 16h, Functions 00h/01h PEN*KEY 6200/6300 Hand-Held Computer Programmer’s Reference Guide 6-107...
  • Page 284 4000 BIOS is zero when the AL register has a valid ASCII character. See Table 6-4, starting on page 6-105, for returned character codes. INT 16h, Function AH = 02h: Read Shift Status BIOS 6-108 PEN*KEY 6200/6300 Hand-Held Computer Programmer’s Reference Guide SECTION 6...
  • Page 285 INT 16h, Function AH = 04h: Turn Key Click Off/On 4000API PEN*KEY AL = 04h: Turn Off Key Repeat AL = 05h: Set Key Repeat Timers AL = 06h: Turn On Key Repeat 6200/6300 Hand-Held Computer Programmer’s Reference Guide Conversions and Interfaces 6-109...
  • Page 286 This could create some PL/N compatibility issues since the scan code returned in the AH register in the 4000 BIOS is zero when the AL register has a valid ASCII character. See Table 6-4, starting on page 6-105, for returned character codes. 6-110 PEN*KEY 6200/6300 Hand-Held Computer Programmer’s Reference Guide SECTION 6...
  • Page 287 ‘X’, CLEAR, ‘7’, –1, –1, EXIT, ‘4’, –1, –1, LSHFT, ‘1’, –1, –1, ESCAPE, ‘0’, PEN*KEY 6200/6300 Hand-Held Computer Programmer’s Reference Guide Conversions and Interfaces ‘F’, ‘G’ ‘M’, ‘N’ ‘T’, ‘U’ ‘8’, ‘9’ ‘5’, ‘6’ ‘2’, ‘3’ –1, –1 6-111...
  • Page 288 " NOTE: This is a nonstandard function. Using this function affects the portability of the application to other PC-compatible platforms. System Reboot: INT 19h BIOS 6-112 PEN*KEY 6200/6300 Hand-Held Computer Programmer’s Reference Guide TDWN, TLEFT, TRIGHT, ‘+’, ‘–’, ‘#’, ‘*’, ‘%’,...
  • Page 289 Timer and Real-Time Clock Services: INT 1Ah INT 1Ah, Function AH = 00h: Read System Timer Ticks BIOS INT 1Ah, Function AH = 01h: Set System Timer Ticks BIOS PEN*KEY 6200/6300 Hand-Held Computer Programmer’s Reference Guide Conversions and Interfaces 6-113...
  • Page 290 Conversions and Interfaces INT 1Ah, Function AH = 02h: Read the Real-Time Clock Time BIOS INT 1Ah, Function AH = 03h: Set Real-Time Clock Time BIOS 6-114 PEN*KEY 6200/6300 Hand-Held Computer Programmer’s Reference Guide SECTION 6...
  • Page 291 SECTION 6 INT 1Ah, Function AH = 04h: Read Real-Time Clock Date BIOS INT 1Ah, Function AH = 05h: Set Real-Time Clock Date BIOS PEN*KEY 6200/6300 Hand-Held Computer Programmer’s Reference Guide Conversions and Interfaces 6-115...
  • Page 292 Conversions and Interfaces INT 1Ah, Function AH = 06h: Set Real-Time Clock Alarm BIOS INT 1Ah, Function Ah = 07h: Reset the Real-Time Clock Alarm BIOS 6-116 PEN*KEY 6200/6300 Hand-Held Computer Programmer’s Reference Guide SECTION 6...
  • Page 293 SECTION 6 INT 1Ah, Function AH = 09h: Read the Real-Time Clock Alarm BIOS NPOWER Interfaces: INT 2Fh INT 2Fh, Function AX = 5400h: Install Check NPOWER PEN*KEY 6200/6300 Hand-Held Computer Programmer’s Reference Guide Conversions and Interfaces 6-117...
  • Page 294 INT 2Fh, Function AX = 5401h: Enable/Disable Power Management NPOWER INT 2Fh, Function AX = 5482h: Get/Set APM Polling Count NPOWER " NOTE: Idling cannot be enabled with this call. 6-118 PEN*KEY 6200/6300 Hand-Held Computer Programmer’s Reference Guide SECTION 6...
  • Page 295 INT 33h, Function AX = 0001h: Show Cursor MOUSE INT 33h, Function AX = 0002h: Hide Cursor MOUSE INT 33h, Function AX = 0003h: Get Button Status and Mouse Position MOUSE PEN*KEY 6200/6300 Hand-Held Computer Programmer’s Reference Guide Conversions and Interfaces 6-119...
  • Page 296 INT 33h, Function AX = 0005h: Get Button Press Information MOUSE INT 33h, Function AX = 0006h: Get Button Release Information MOUSE INT 33h, Function AX = 0007h: Set Minimum and Maximum x Cursor Position MOUSE 6-120 PEN*KEY 6200/6300 Hand-Held Computer Programmer’s Reference Guide SECTION 6...
  • Page 297 INT 33h, Function AX = 000Ah: Set Text Cursor MOUSE INT 33h, Function AX = 000Bh: Read Motion Counters MOUSE INT 33h, Function AX = 000Ch: Set Interrupt Subroutine Call Mask and Ad- dress MOUSE PEN*KEY 6200/6300 Hand-Held Computer Programmer’s Reference Guide Conversions and Interfaces 6-121...
  • Page 298 INT 33h, Function AX = 000Fh: Set Mickey to Pixel Ratio MOUSE INT 33h, Function AX = 0010h: Conditional Off MOUSE INT 33h, Function AX = 0013h: Set Double-Speed Threshold MOUSE 6-122 PEN*KEY 6200/6300 Hand-Held Computer Programmer’s Reference Guide SECTION 6...
  • Page 299 Although not documented by Microsoft, some drivers may require BX on input Some mouse drivers range-check the values in the saved state, based on the current video mode; thus, restore the video mode before the mouse driver’s state is restored. PEN*KEY 6200/6300 Hand-Held Computer Programmer’s Reference Guide Conversions and Interfaces 6-123...
  • Page 300 INT 33h, Function AX = 001Ah: Set Mouse Sensitivity MOUSE INT 33h, Function AX = 001Bh: Get Mouse Sensitivity MOUSE INT 33h, Function AX = 001Ch: Set Mouse Interrupt Rate MOUSE 6-124 PEN*KEY 6200/6300 Hand-Held Computer Programmer’s Reference Guide SECTION 6...
  • Page 301 INT 33h, Function AX = 001Fh: Disable Mouse Driver MOUSE INT 33h, Function AX = 0020h: Enable Mouse Driver MOUSE INT 33h, Function AX = 0021h: Software Reset MOUSE PEN*KEY 6200/6300 Hand-Held Computer Programmer’s Reference Guide Conversions and Interfaces 6-125...
  • Page 302 INT 33h, Function AX = 0023h: Get Language Number MOUSE INT 33h, Function AX = 0024h: Get Driver Version, Mouse Type, and IRQ Number MOUSE Real-Time Clock: INT 70h BIOS 6-126 PEN*KEY 6200/6300 Hand-Held Computer Programmer’s Reference Guide SECTION 6...
  • Page 303 SECTION 6 Conversions and Interfaces Cross-Reference to Interrupts Interrupt Cross-Reference PEN*KEY 6200/6300 Hand-Held Computer Programmer’s Reference Guide 6-127...
  • Page 304 Conversions and Interfaces SECTION 6 Interrupt Cross-Reference 6-128 PEN*KEY 6200/6300 Hand-Held Computer Programmer’s Reference Guide...
  • Page 305 SECTION 6 Conversions and Interfaces Interrupt Cross-Reference PEN*KEY 6200/6300 Hand-Held Computer Programmer’s Reference Guide 6-129...
  • Page 306 Conversions and Interfaces SECTION 6 Interrupt Cross-Reference 6-130 PEN*KEY 6200/6300 Hand-Held Computer Programmer’s Reference Guide...
  • Page 307 SECTION 6 Conversions and Interfaces Interrupt Cross-Reference PEN*KEY 6200/6300 Hand-Held Computer Programmer’s Reference Guide 6-131...
  • Page 308 Conversions and Interfaces SECTION 6 Interrupt Cross-Reference 6-132 PEN*KEY 6200/6300 Hand-Held Computer Programmer’s Reference Guide...
  • Page 309 SECTION 6 Conversions and Interfaces Interrupt Cross-Reference PEN*KEY 6200/6300 Hand-Held Computer Programmer’s Reference Guide 6-133...
  • Page 310 Conversions and Interfaces SECTION 6 6-134 PEN*KEY 6200/6300 Hand-Held Computer Programmer’s Reference Guide...
  • Page 311: System Information

    Section 7 System Information " " " " " " " " " " " " " " " " " " " " Topic Summary List of Tables PEN*KEY 6200/6300 Hand-Held Computer Programmer’s Reference Guide...
  • Page 312 System Information ROM DOS 5 SHELL=D:\COMMAND.COM /P D:\ Using COMMAND.COM as Command Processor SHELL=A:\COMMAND.COM A:\ /P MiniCMD PEN*KEY 6200/6300 Hand-Held Computer Programmer’s Reference Guide DOS=HIGH DOS=UMB SECTION 7...
  • Page 313 SECTION 7 Using CONFIG.SYS with MiniCMD MiniCMD Internal Command Set " " " " " " " " " " " PEN*KEY 6200/6300 Hand-Held Computer Programmer’s Reference Guide System Information...
  • Page 314 System Information MiniCMD Restrictions EXAMPLE: type A:\DOS\CHKDSK.EXE A:CHKDSK.EXE CHKDSK.EXE but not CHKDSK MiniCMD MiniCMD Changes, Specific to NORAND " " " " " " PEN*KEY 6200/6300 Hand-Held Computer Programmer’s Reference Guide SECTION 7 HHCs...
  • Page 315: Boot Process

    SECTION 7 Boot Process Cold Booting BIOS Code is Shadowed Power-On Self-Tests (POSTs) are Run Video BIOS is Enabled Version Messages are Displayed PEN*KEY 6200/6300 Hand-Held Computer Programmer’s Reference Guide System Information...
  • Page 316 System Information SECTION 7 Disposable BIOS Extensions are Scanned For and Executed Detection of Cold Boots Using the CMOS Signature Invalid RamDrive Message Testing XMS Memory Message Flash Memory Size Report PEN*KEY 6200/6300 Hand-Held Computer Programmer’s Reference Guide...
  • Page 317: Drives A Through D Are Initialized

    SECTION 7 BIOS Extensions are Scanned For and Installed ROM DOS 5 is Booted Drives A through D are Initialized " " CONFIG.SYS is Loaded and Processed PEN*KEY 6200/6300 Hand-Held Computer Programmer’s Reference Guide System Information...
  • Page 318 COMMAND.COM is Processed SHELL=D:\COMMAND.COM /P D:\ " NOTE: Because of size constraints, the COMMAND.COM file provided on a 6200 Computer is, in fact, MiniCMD. See the ROM DOS 5 paragraph, page 7-2, for more information. Warm Booting (or Resetting) Master Mode Boot Sequence "...
  • Page 319: Boot Drive Selection

    H8 Downloads: H8PROG.EXT " NOTE: If you currently use H8DNL.EXE in your AUTOEXEC.BAT or CONFIG.SYS file to download H8APP.BIN, remove the statement from the file for flash versions 1.29 and later. PEN*KEY 6200/6300 Hand-Held Computer Programmer’s Reference Guide System Information...
  • Page 320 System Information SECTION 7 System Information Tables Flash Memory and Shadow RAM Addresses Flash Memory and Shadow RAM Addresses 7-10 PEN*KEY 6200/6300 Hand-Held Computer Programmer’s Reference Guide...
  • Page 321: System Messages

    SECTION 7 System Information System Messages System Messages PEN*KEY 6200/6300 Hand-Held Computer Programmer’s Reference Guide 7-11...
  • Page 322: Hardware Ports

    " NOTE: Addresses and IRQs allocated according to PC Card driver. The default Address = 2E8h and the default IRQ = 5, using NORMOD.SYS and CardSoft. 7-12 PEN*KEY 6200/6300 Hand-Held Computer Programmer’s Reference Guide POST Error Codes Hardware Ports SECTION 7...
  • Page 323 DTR is looped back to DSR, both at dock and at internal UART. This means there is no DTR or DSR connection from the UART to the modem. Hardware Interrupts Hardware Interrupt Definitions PEN*KEY 6200/6300 Hand-Held Computer Programmer’s Reference Guide 7-13...
  • Page 324 System Information SECTION 7 I/O Map I/O Address and Devices 7-14 PEN*KEY 6200/6300 Hand-Held Computer Programmer’s Reference Guide...
  • Page 325: Rom Bios Data Area

    SECTION 7 System Information I/O Address and Devices BIOS/CMOS System Variables ROM BIOS Data Area BIOS Data in System RAM Pass/Fail indicators for RAM POST test PEN*KEY 6200/6300 Hand-Held Computer Programmer’s Reference Guide 7-15...
  • Page 326 SECTION 7 BIOS Data in System RAM Number of rows on screen(24/25) Character height (bytes/char) video control bit flags Video feature bit flags VGA control bit flags Display combo code table index 7-16 PEN*KEY 6200/6300 Hand-Held Computer Programmer’s Reference Guide...
  • Page 327: Cmos Registers

    SECTION 7 System Information BIOS Data in System RAM used by RESTART used by POST for NORAND BIOS CMOS Registers CMOS Register Assignments PEN*KEY 6200/6300 Hand-Held Computer Programmer’s Reference Guide 7-17...
  • Page 328 FLASH_3_512K FLASH_4_512K bATMEL 7-18 PEN*KEY 6200/6300 Hand-Held Computer Programmer’s Reference Guide CMOS Register Assignments ROM DOS boot flags Master Mode boot bit 00 = A, 01 = B, 10 = C, 11 = D Bit values to define flash size...
  • Page 329 " " " " " " " " NOTE: Publications with 9-digit part numbers can be ordered through your Intermec Account Repre- sentative. Application API " " " " " Open Systems Publications " " " " " " "...
  • Page 330 Open Systems Publications " " /afs/cs.cmu.edu/user/ralf/pub inter??a.zip through inter??d.zip " interRRd.ZIP oak.oakland.edu [141.210.10.117], wuarchive.wustl.edu [128.252.135.4], ftp.uu.net [137.39.1.9], nic.funet.fi [128.214.6.100], src.doc.ic.ac.uk [146.169.3.7], and archie.au [139.130.4.6]. " PEN*KEY 6200/6300 Hand-Held Computer Programmer’s Reference Guide /pub/msdos/info, SECTION 8...
  • Page 331 SECTION 8 " " " " " " " " " " " " " " " " " " " " " " PEN*KEY 6200/6300 Hand-Held Computer Programmer’s Reference Guide Open Systems Publications...
  • Page 332 Open Systems Publications Hardware Interface " " " " " PEN*KEY 6200/6300 Hand-Held Computer Programmer’s Reference Guide SECTION 8...
  • Page 333: Sample Configuration Files

    Appendix A Sample Configuration Files " " " " " " " " " " " " " " " " " " " " Topic Summary PEN*KEY 6200/6300 Hand-Held Computer Programmer’s Reference Guide...
  • Page 334 REM d:\ —— sets the COMSPEC environment variable to D:\COMMAND.COM. REM /p —— executes AUTOEXEC.BAT and defines COMMAND.COM as the permanent command shell. REM /e:512 —— redefines the default environment as 512 bytes. PEN*KEY 6200/6300 Hand-Held Computer Programmer’s Reference Guide APPENDIX A...
  • Page 335 REM ^^^^^^^^^^^^^^ADVANCED POWER MANAGEMENT (APM) BIOS^^^^^^^^^^^^^^ REM ____________DOS ADVANCED POWER MANAGEMENT (APM) DRIVER___________ REM Please see the Programmer’s Reference Guide for other settings that REM may be applicable. REM /SS:1 is required whenever CARDSOFT drivers are loaded. PEN*KEY 6200/6300 Hand-Held Computer Programmer’s Reference Guide...
  • Page 336 REM This is the NPCP printer driver, found in Toolkit, disk 1 rem device=pc4800.sys LPT1 REM ^^^^^^^^^^^^^^^^^^NPCP PRINTING ^^^^^^^^^^^^^^^^^^ PEN*KEY 6200/6300 Hand-Held Computer Programmer’s Reference Guide The /S:2 parameter tells CARDSOFT that any Omit this parameter if no more NOTE: the PEN*KEY BIOS can read SRAM The SRAM cards are then seen as a:\ and b:\.
  • Page 337 REM examples below already show how and when to load a pen driver for those REM environments so this section is for other pen based application REM environments. REM 62MOUSE.COM /C calibrates touch screen before it runs. rem 62MOUSE.COM PEN*KEY 6200/6300 Hand-Held Computer Programmer’s Reference Guide...
  • Page 338 REM Even if DOS=HIGH is not specified, HIMEM.SYS must be loaded to run REM Windows. device=d:\himem.sys dos=high PEN*KEY 6200/6300 Hand-Held Computer Programmer’s Reference Guide The ECHO state when you exit determines whether or not APPENDIX A Since less is This cost...
  • Page 339 This starts up the REM battery warning icons in the lower left hand of the screen. Indicates REM when connected to AC, when backup battery or main battery is low. install=d:\batwarn.exe REM ^^^^^^^^^^^^^^^^^^DOS BATTERY WARNING ICONS^^^^^^^^^^^^^^^^^^ PEN*KEY 6200/6300 Hand-Held Computer Programmer’s Reference Guide...
  • Page 340 REM This is the NPCP printer driver, found in the Toolkit, disk 1 rem device=pc4800.sys LPT1 REM ^^^^^^^^^^^^^^^^^^NPCP PRINTING :^^^^^^^^^^^^^^^^^^ PEN*KEY 6200/6300 Hand-Held Computer Programmer’s Reference Guide Please note, the PEN*KEY BIOS can read SRAM cards The SRAM cards then are seen as A:\ and B:\. APPENDIX A...
  • Page 341 /PC /10 /16 /C3 REM Used for NPCP LAN communications on 6300 rem d:\mininet.exe –s1152 –t1152 REM Used for NPCP LAN communications on 6200 rem d:\mininet.exe REM ^^^^^^^^^^^^^^^ NPCP PRINTING AND COMMUNICATIONS ^^^^^^^^^^^^^^^^ REM ___________________ MOUSE-AWARE DOS APPS ________________________...
  • Page 342 X!=xx,0,{Shift}{Del} U!=xx,0,{Alt}{Bs} [Pen Palette] SKBPos=15 92 SYSTEM.INI ;—————————————————————————————————————————————————————— ; NORAND Pen*Key Windows 3.1 SYSTEM.INI — Toolkit v1.40 ;—————————————————————————————————————————————————————— [boot] shell=norshell.exe display.drv=pkrotate.drv system.drv=system.drv keyboard.drv=keyboard.drv mouse.drv=yesmouse.drv comm.drv=comm.drv sound.drv=mmsound.drv network.drv= fonts.fon=vgasys.fon fixedfon.fon=vgafix.fon oemfonts.fon=vgaoem.fon A-10 PEN*KEY 6200/6300 Hand-Held Computer Programmer’s Reference Guide APPENDIX A...
  • Page 343 Set to 0 to disable Backlight timeouts. Default is 30. Set to 0 to disable Suspend timeouts. Default is 0. All messages are written to debug PEN*KEY 6200/6300 Hand-Held Computer Programmer’s Reference Guide Sample Configuration Files Optional. See the It is disabled It is disabled Default is 9.
  • Page 344 ;– – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – A-12 PEN*KEY 6200/6300 Hand-Held Computer Programmer’s Reference Guide Clear one output error as Windows starts since NORAPM.DLL This entry is a DECIMAL representation Set to 1–7 to limit clock warnings.
  • Page 345 The valid values are: TRUE and FALSE. Valid values are: TRUE and FALSE The default setting is: 488 (1e8). PEN*KEY 6200/6300 Hand-Held Computer Programmer’s Reference Guide Sample Configuration Files There is no default The valid Valid values are: TRUE The valid...
  • Page 346 [Norand 6805 Printer] ; This forces the drivers to use Graphics commands for entire Document. A-14 PEN*KEY 6200/6300 Hand-Held Computer Programmer’s Reference Guide Other valid settings are: 4 for COM1, 3 for COM2. Other valid settings are: 10 (LF), 13 (CR).
  • Page 347 ;– – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – [NORAND] Model=0 PEN*KEY 6200/6300 Hand-Held Computer Programmer’s Reference Guide A-15...
  • Page 348 Optional. ;woafont=dosapp.fon ;EGA80WOA.FON=EGA80WOA.FON ;EGA40WOA.FON=EGA40WOA.FON ;CGA80WOA.FON=CGA80WOA.FON ;CGA40WOA.FON=CGA40WOA.FON ;— The following is required for Non-Windows application support ;[NonWindowsApp] ;CommandEnvSize=128 WIN.INI ;––––––––––––––––––––––––––––––––––– ; NORAND 6300 Windows 3.1 WIN.INI ;––––––––––––––––––––––––––––––––––– [windows] NorShellRun=winfile.exe spooler= load= A-16 PEN*KEY 6200/6300 Hand-Held Computer Programmer’s Reference Guide APPENDIX A...
  • Page 349 ^.cal crd=cardfile.exe ^.crd trm=terminal.exe ^.trm txt=notepad.exe ^.txt ini=notepad.exe ^.ini pcx=pbrush.exe ^.pcx bmp=pbrush.exe ^.bmp wri=write.exe ^.wri rec=recorder.exe ^.rec hlp=winhelp.exe ^.hlp doc=winword.exe ^.doc dot=winword.exe ^.dot rtf=winword.exe ^.rtf [intl] sLanguage=enu sCountry=United States iCountry=1 iDate=0 iTime=0 PEN*KEY 6200/6300 Hand-Held Computer Programmer’s Reference Guide A-17...
  • Page 350 MS Sans Serif 8,10,12,14,18,24 (VGA res)=SSERIFE.FON Courier 10,12,15 (VGA res)=COURE.FON MS Serif 8,10,12,14,18,24 (VGA res)=SERIFE.FON Symbol 8,10,12,14,18,24 (VGA res)=SYMBOLE.FON Small Fonts (VGA res)=SMALLE.FON [embedding] SoundRec=Sound,Sound,SoundRec.exe,picture Package=Package,Package,packager.exe,picture PBrush=Paintbrush Picture,Paintbrush Picture,pbrush.exe,picture ;Note–it=MS Note–It,MS Note–It,note–it.exe,picture A-18 PEN*KEY 6200/6300 Hand-Held Computer Programmer’s Reference Guide APPENDIX A A printer...
  • Page 351 NORAND 4800=NOR4800,LPT1.DOS NORAND 6805=NOR6805,LPT2.DOS Other Configurations SanDisk Card with Stacker BOOTDRV.COM MMBFLAG.COM PC4800.SYS RESET.EXE STACKER.COM XCOPY.EXE MYAPP\MYAPP.EXE CONFIG.SYS BUFFERS=20 FILES=128 REM CardSoft drivers DEVICE=D:\SSCIRRUS.EXE DEVICE=D:\CS.EXE DEVICE=D:\CSALLOC.EXE DEVICE=D:\ATADRV.EXE /S:2 DEVICE=D:\MTSRAM.EXE DEVICE=D:\MTDDRV.EXE PEN*KEY 6200/6300 Hand-Held Computer Programmer’s Reference Guide Sample Configuration Files A-19...
  • Page 352 MYAPP.EXE Setups for Third Party Applications Sample PenPal (DOS) Setup PATH a:\;d:\; REM Disable Video Memory writes as Activity D:/VACTIVE –D REM Load the PEN PAL pen driver call PENDOSEM.BAT A-20 PEN*KEY 6200/6300 Hand-Held Computer Programmer’s Reference Guide APPENDIX A...
  • Page 353 Load the PEN PAL pen driver cal PENDOSEM.BAT 63MOUSE.COM Note: 62MOUSE.COM for 6200 Computer. Note: 62CALIB.EXE for 6200 Computer. Note: 62MOUSE.RSC for 6200. Note: 62MOUSE.COM for 6200. Note: 62CALIB.EXE for 6200. PEN*KEY 6200/6300 Hand-Held Computer Programmer’s Reference Guide Sample Configuration Files A-21...
  • Page 354 Sample Configuration Files rem Run the sample PEN PAL program PPCP6300.RUN PENDOSEM.BAT Code EXAMPLE: @echo off rem %1 is the prefix for all files here LH %1VLOAD %1USAREC.EXP LH %1EMUL1X SET PENDOS12=D9 A-22 PEN*KEY 6200/6300 Hand-Held Computer Programmer’s Reference Guide APPENDIX A...
  • Page 355 Appendix B Common PEN*KEY 6000 Series Information " " " " " " " " " " " " " " " " " " " " Topic Summary PEN*KEY 6200/6300 Hand-Held Computer Programmer’s Reference Guide...
  • Page 356 // facilitate runtime dynamic linking. //––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––– // extern “C” int FAR PASCAL _export GetPowerStatus(tagPOWER_STATUS far PEN*KEY 6200/6300 Hand-Held Computer Programmer’s Reference Guide Structure fields are direct representations of registers returned // Battery status bits changed since last call // AC line status bits // % of battery left // Current battery status.
  • Page 357 (FAR PASCAL *fpSystemActivity)(int EventType); Common PEN*KEY 6000 Series Information See NorAPM.H for detailed docs. unsigned int PowerState); This function is generally This resets Suspend timeouts. This resets the Standby PEN*KEY 6200/6300 Hand-Held Computer Programmer’s Reference Guide If device does not exist, Returns PWR_FAIL...
  • Page 358 //––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––– // NORAND Windows APM 1.1 OEM event codes. Again, these are one less than PEN*KEY 6200/6300 Hand-Held Computer Programmer’s Reference Guide 1 // System Standby Request Notification 2 // System Suspend Request Notification 3 // Normal Resume System Notification...
  • Page 359 1 // Still operational, but in low power state. 2 // Not operational, but saves HW state 3 // Not operational, does not save HW state. // Continue operation 0x80 // Cancel operation PEN*KEY 6200/6300 Hand-Held Computer Programmer’s Reference Guide...
  • Page 360 } // then else { // Display battery status wsprintf(MsgBuf, “A/C is %s line.\nBattery is %scharging\n”, Error = MessageBox(NULL, MsgBuf, szTitle, PEN*KEY 6200/6300 Hand-Held Computer Programmer’s Reference Guide TESTCHRG ‘Tests NorAPM Charge Detection’ WINDOWS ‘WINSTUB.EXE’ PRELOAD MOVEABLE DISCARDABLE PRELOAD MOVEABLE MULTIPLE...
  • Page 361 #define DUTYB #define DURATION Common PEN*KEY 6000 Series Information It stays around since it was already open. 0x80 /* Multiple byte command */ 0x01 0x02 0x20 0x40 0x60 0x80 0x08 0x10 0xc0 0xd0 0xb0 PEN*KEY 6200/6300 Hand-Held Computer Programmer’s Reference Guide...
  • Page 362 SendData(UC c) cx,cx dx,200h al,dx PEN*KEY 6200/6300 Hand-Held Computer Programmer’s Reference Guide 0xe0 /* Download command value */ 0xf0 /* Diagnostic command value */ 0xf0 0xf1 0xfa 0xfe unsigned char unsigned long unsigned int...
  • Page 363 (RESP & (~error)) break; if (error & 0xff != MUPACK) return error; if (!rlen) return error; *str++ = (UC) error; Common PEN*KEY 6000 Series Information ;ibf ;Clear any message ;Clear any message PEN*KEY 6200/6300 Hand-Held Computer Programmer’s Reference Guide...
  • Page 364 First number is the key #. parameter contains the AT-compatible make and break codes. of mapping the gold+number keys as the function keys B-10 PEN*KEY 6200/6300 Hand-Held Computer Programmer’s Reference Guide 0,0,0,0,0,0,0,0,0}; 0,0,0,0,0,0,0,0,0}; 0,0,0,0,0,0,0,0,0}; /*C-dn, C-up*/ 0,0,0,0,0,0,0,0,0}; /*E-dn, E-up*/ 0,0,0,0,0,0,0,0,0}; /*M-dn, M-up*/ Second number is the key sequence length.
  • Page 365 ROW 3 ROW 4 ROW 5 ROW 6 ROW 7 ROW 0 ROW 1 ROW 2 ROW 3 ROW 4 ROW 5 ROW 6 ROW 7 space PEN*KEY 6200/6300 Hand-Held Computer Programmer’s Reference Guide This causes the key code B-11...
  • Page 366 FILE *stdprn; extern unsigned page_no; extern unsigned line_cnt; /******************************************************************/ /* Critical error handler routines for the printer follow. ********/ B-12 PEN*KEY 6200/6300 Hand-Held Computer Programmer’s Reference Guide ROW 0 home ROW 1 left ROW 2 ROW 3 ROW 4 ROW 5...
  • Page 367 = pXERROR; args.ioctl_cmd = &cmd; args.ioctl_buf = buffer; Common PEN*KEY 6000 Series Information next; attribute; (*strategy)(); (*interrupt)(); name[8]; (*fnc)(); addr; PEN*KEY 6200/6300 Hand-Held Computer Programmer’s Reference Guide B-13...
  • Page 368 PLDU. Abort.\n”); break; case HEADJAM: jamarray[0][jamindex] = jam; B-14 PEN*KEY 6200/6300 Hand-Held Computer Programmer’s Reference Guide /* Length of ioctl packet */ /* ioctl input read */ /* Point buffer to ioargsc */ /* Read one byte */ Abort.\n”);...
  • Page 369 FAR (void) errproc() #asm push ds push es ; pusha push ax push bx push cx push dx push si push di Common PEN*KEY 6000 Series Information “Print”)); “Pmove”)); Retry.\n”); PEN*KEY 6200/6300 Hand-Held Computer Programmer’s Reference Guide B-15...
  • Page 370 –6[bp],al ;set return code ; popa sp,bp iret #endasm Design Notes for PEN*KEY 6000 Series WAN Power Management " " " " General Environment B-16 PEN*KEY 6200/6300 Hand-Held Computer Programmer’s Reference Guide APPENDIX B...
  • Page 371 APPENDIX B Command Line Interface Default Settings Basic Functions Program Requirements " " " WAN Power Management Implementation General Requirements Common PEN*KEY 6000 Series Information PEN*KEY 6200/6300 Hand-Held Computer Programmer’s Reference Guide B-17...
  • Page 372 Common PEN*KEY 6000 Series Information APPENDIX B Purpose B-18 PEN*KEY 6200/6300 Hand-Held Computer Programmer’s Reference Guide...
  • Page 373 APPENDIX B Common PEN*KEY 6000 Series Information DOS Programs PEN*KEY 6200/6300 Hand-Held Computer Programmer’s Reference Guide B-19...
  • Page 374 Common PEN*KEY 6000 Series Information Installing the WANPOWER TSR WANPOWER /T:threshold_number /S:power threshold_number wakeup_interval power battery Memory Overview (6000 Series) " " " " " " " " " " B-20 PEN*KEY 6200/6300 Hand-Held Computer Programmer’s Reference Guide /I:wakeup_interval /[H|?] /V:battery APPENDIX B WANPOW-...
  • Page 375 (UMA) 384 KB Ç Ç Ç Ç Ç Ç Ç Ç Ç Ç Ç Ç Ç Ç Ç Ç Ç Ç Ç Ç Ç Ç Conventional memory 640 KB Typical Memory Organization PEN*KEY 6200/6300 Hand-Held Computer Programmer’s Reference Guide B-21...
  • Page 376 Common PEN*KEY 6000 Series Information Definition of Terms Statements and Programs (CONFIG.SYS, AUTOEXEC.BAT) B-22 PEN*KEY 6200/6300 Hand-Held Computer Programmer’s Reference Guide APPENDIX B...
  • Page 377 Î Î Î Î Î Î Î Î Work Space Application Windows DOS / BIOS Desktop/Laptop PC with Hard Disk RAM Disk Work Space Application Windows DOS / BIOS PC with RAM Disk PEN*KEY 6200/6300 Hand-Held Computer Programmer’s Reference Guide System Memory B-23...
  • Page 378 The double-headed arrow from the “Application” to the “disk” indicates that the ap- plication loads the data from the disk, then writes it back to the disk. How 6000 Series System Works B-24 PEN*KEY 6200/6300 Hand-Held Computer Programmer’s Reference Guide 1MB FLASH RAM Disk System Memory...
  • Page 379 APPENDIX B Standard Mode Versus Enhanced Mode Common PEN*KEY 6000 Series Information PCMCIA SRAM FLASH 1MB FLASH Work Space Application Memory Windows DOS / BIOS PEN*KEY System with PC Card PEN*KEY 6200/6300 Hand-Held Computer Programmer’s Reference Guide System B-25...
  • Page 380 Common PEN*KEY 6000 Series Information RAM Drive Integrity-Protection Non-Windows Systems: PenPal and PenRight! Windows Environment Brief History of Microsoft Windows B-26 PEN*KEY 6200/6300 Hand-Held Computer Programmer’s Reference Guide APPENDIX B...
  • Page 381 Minimal Windows System Files Windows Drivers BIOS DOS Drivers Hardware Applications Additional Windows INIs APIs Files (optional) Minimal Windows System Files Windows Drivers BIOS DOS Drivers Hardware PEN*KEY 6200/6300 Hand-Held Computer Programmer’s Reference Guide Handwriting Recognition Pen Windows Handwriting Recognition Pen Windows B-27...
  • Page 382 Common PEN*KEY 6000 Series Information BIOS DLLs B-28 PEN*KEY 6200/6300 Hand-Held Computer Programmer’s Reference Guide Applications Additional Windows INIs APIs Files (optional) Minimal Windows System Files Windows Drivers BIOS DOS Drivers Hardware APPENDIX B Handwriting Recognition Pen Windows...
  • Page 383 APPENDIX B Common PEN*KEY 6000 Series Information DOS Device Drivers Applications Additional Handwriting Windows Recognition DLLs INIs APIs Files (optional) Pen Windows Minimal Windows System Files Windows Drivers BIOS DOS Drivers Hardware PEN*KEY 6200/6300 Hand-Held Computer Programmer’s Reference Guide B-29...
  • Page 384 Common PEN*KEY 6000 Series Information DLLs B-30 PEN*KEY 6200/6300 Hand-Held Computer Programmer’s Reference Guide Applications Additional Windows INIs APIs Files (optional) Minimal Windows System Files Windows Drivers BIOS DOS Drivers Hardware APPENDIX B Handwriting Recognition Pen Windows...
  • Page 385 APPENDIX B Common PEN*KEY 6000 Series Information Windows System Files Applications Additional Handwriting Windows Recognition DLLs INIs APIs Files (optional) Pen Windows Minimal Windows System Files Windows Drivers BIOS DOS Drivers Hardware PEN*KEY 6200/6300 Hand-Held Computer Programmer’s Reference Guide B-31...
  • Page 386 Common PEN*KEY 6000 Series Information Windows Device Drivers and APIs DLLs B-32 PEN*KEY 6200/6300 Hand-Held Computer Programmer’s Reference Guide Applications Additional Windows INIs APIs Files (optional) Minimal Windows System Files Windows Drivers BIOS DOS Drivers Hardware APPENDIX B Handwriting Recognition...
  • Page 387 APPENDIX B Common PEN*KEY 6000 Series Information DLLs Applications Additional Handwriting Windows Recognition DLLs INIs APIs Files (optional) Pen Windows Minimal Windows System Files Windows Drivers BIOS DOS Drivers Hardware PEN*KEY 6200/6300 Hand-Held Computer Programmer’s Reference Guide B-33...
  • Page 388 Common PEN*KEY 6000 Series Information INI Files DLLs [section name] variable=value B-34 PEN*KEY 6200/6300 Hand-Held Computer Programmer’s Reference Guide Applications Additional Windows INIs APIs Files (optional) Minimal Windows System Files Windows Drivers BIOS DOS Drivers Hardware APPENDIX B Handwriting Recognition...
  • Page 389 Fonts: What They Are and How They Impact " Common PEN*KEY 6000 Series Information Applications Additional Windows INIs APIs Files (optional) Minimal Windows System Files Windows Drivers BIOS DOS Drivers Hardware PEN*KEY 6200/6300 Hand-Held Computer Programmer’s Reference Guide Handwriting Recognition Pen Windows B-35...
  • Page 390 Common PEN*KEY 6000 Series Information " Applications DLLs B-36 PEN*KEY 6200/6300 Hand-Held Computer Programmer’s Reference Guide Applications Additional Windows INIs APIs Files (optional) Minimal Windows System Files Windows Drivers BIOS DOS Drivers Hardware APPENDIX B Handwriting Recognition Pen Windows...
  • Page 391 APPENDIX B Common PEN*KEY 6000 Series Information Pen Windows Files Applications Additional Handwriting Windows Recognition DLLs INIs APIs Files (optional) Pen Windows Minimal Windows System Files Windows Drivers BIOS DOS Drivers Hardware PEN*KEY 6200/6300 Hand-Held Computer Programmer’s Reference Guide B-37...
  • Page 392 Common PEN*KEY 6000 Series Information Handwriting Recognition DLLs NORAND Value Adds BIOS (Basic Input Output System) Card Services B-38 PEN*KEY 6200/6300 Hand-Held Computer Programmer’s Reference Guide Applications Additional Windows INIs APIs Files (optional) Minimal Windows System Files Windows Drivers BIOS...
  • Page 393: Norand Utilities

    APPENDIX B Power Management Norand Utilities " " " " NOTE: ACN is NO LONGER SUPPORTED Pen Drivers Scanner Drivers NPCP Printing Drivers IrDA Printing Drivers Common PEN*KEY 6000 Series Information PEN*KEY 6200/6300 Hand-Held Computer Programmer’s Reference Guide B-39...
  • Page 394 Common PEN*KEY 6000 Series Information Memory-Sizing Guidelines All Systems " " " " " Systems with RAM Drive Storage " " " Systems with External Storage " " " B-40 PEN*KEY 6200/6300 Hand-Held Computer Programmer’s Reference Guide APPENDIX B...
  • Page 395: General Index

    " " " " " " NOTE: NUMBERS " " " " " " PEN*KEY 6200/6300 Hand-Held Computer Programmer’s Reference Guide General Index " " " " " " " " Index-1...
  • Page 396 GENERAL INDEX Index-2 PEN*KEY 6200/6300 Hand-Held Computer Programmer’s Reference Guide...
  • Page 397 GENERAL INDEX PEN*KEY 6200/6300 Hand-Held Computer Programmer’s Reference Guide Index-3...
  • Page 398 GENERAL INDEX Index-4 PEN*KEY 6200/6300 Hand-Held Computer Programmer’s Reference Guide...
  • Page 399 GENERAL INDEX PEN*KEY 6200/6300 Hand-Held Computer Programmer’s Reference Guide Index-5...
  • Page 400 GENERAL INDEX Index-6 PEN*KEY 6200/6300 Hand-Held Computer Programmer’s Reference Guide...
  • Page 401: Files Index

    " " " " " " NOTE: NUMBERS " " " " " " PEN*KEY 6200/6300 Hand-Held Computer Programmer’s Reference Guide Files Index " " " " " " " " Index-7...
  • Page 402 FILES INDEX Index-8 PEN*KEY 6200/6300 Hand-Held Computer Programmer’s Reference Guide...
  • Page 403 " " " " " " NOTE: NUMBERS " " " " " " PEN*KEY 6200/6300 Hand-Held Computer Programmer’s Reference Guide Interrupts Index " " " " " " " " Index-9...
  • Page 404 INTERRUPTS INDEX Index-10 PEN*KEY 6200/6300 Hand-Held Computer Programmer’s Reference Guide...
  • Page 405 PEN*KEY 6200/6300 Hand-Held Computer Programmer’s Reference Guide INTERRUPTS INDEX Index-11...
  • Page 406 INTERRUPTS INDEX Index-12 PEN*KEY 6200/6300 Hand-Held Computer Programmer’s Reference Guide...
  • Page 407 INTERRUPTS INDEX PEN*KEY 6200/6300 Hand-Held Computer Programmer’s Reference Guide Index-13...
  • Page 408 INTERRUPTS INDEX Index-14 PEN*KEY 6200/6300 Hand-Held Computer Programmer’s Reference Guide...
  • Page 409 PEN*KEY 6200/6300 Hand-Held Computer Programmer’s Reference Guide INTERRUPTS INDEX Index-15...
  • Page 410 INTERRUPTS INDEX Index-16 PEN*KEY 6200/6300 Hand-Held Computer Programmer’s Reference Guide...

This manual is also suitable for:

6300Pen*key 6300

Table of Contents