Intermec PEN*KEY 6100 Programmer's Reference Manual

Intermec PEN*KEY 6100 Programmer's Reference Manual

Intermec 6100: reference guide
Hide thumbs Also See for PEN*KEY 6100:

Advertisement

R
PEN*KEY
6100 Computer
PROGRAMMER'S
REFERENCE GUIDE
"
"
"
"
"
"
"
"
"
"
"
"
"
"
"
"
"
"
"
"
"
P/N 977-054-001

Advertisement

Table of Contents
loading
Need help?

Need help?

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

Questions and answers

Subscribe to Our Youtube Channel

Summary of Contents for Intermec PEN*KEY 6100

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

    Preface Level of Expertise Needed For the New User Related Publications Look at What has Changed (from previous editions) Recent Changes System Information PEN*KEY 6100 Computer Programmer’s Reference Guide...
  • Page 17 Interrupt Index Reprogramming Flash Memory Earlier Changes Organization in General Sample Configuration Files Common 6000 Series Information The Structure of the Book " " " PEN*KEY 6100 Computer Programmer’s Reference Guide Preface...
  • Page 18 Preface " " " " " " " " " " " " " " " " " " PEN*KEY 6100 Computer Programmer’s Reference Guide...
  • Page 19 Preface Locating Applications in this Book " " " " PEN*KEY 6100 Computer Programmer’s Reference Guide...
  • Page 20: Customer Support

    Preface Customer Support Factory Service Customer Support Center Web Site PEN*KEY 6100 Computer Programmer’s Reference Guide...
  • Page 21: Bulletin Board Service

    Preface Bulletin Board Service " " PEN*KEY 6100 Computer Programmer’s Reference Guide...
  • Page 22 Preface PEN*KEY 6100 Computer Programmer’s Reference Guide...
  • Page 23: Getting Started

    " " " " " " " Introduction " " " " " " " Topic Summary PEN*KEY 6100 Computer Programmer’s Reference Guide Section 1 Getting Started " " " " " "...
  • Page 24: An Open System Environment

    Getting Started An Open System Environment Introduction to the 6100 Computer How the Hardware is Different Processor Display User Input PEN*KEY 6100 Computer Programmer’s Reference Guide List of Figures and Tables SECTION 1...
  • Page 25: Power Management

    If you upgrade a system that had a flash version prior to 1.11, you will also need to upgrade the flash. Refer to the Reprogramming Flash Memory instructions on page 1-7. " " PEN*KEY 6100 Computer Programmer’s Reference Guide Getting Started...
  • Page 26: Keep The System Environment In Mind

    Surface and Pin Connections Infrared Printing Serial Data Communications Keep the System Environment in Mind The Hardware Ports Tool Kit for the 6100 Computer PEN*KEY 6100 Computer Programmer’s Reference Guide SECTION 1...
  • Page 27 SECTION 1 " " " File Integrity Verification Utility: CRC32.EXE CRC32 [@][filename | pathname] [/s] PEN*KEY 6100 Computer Programmer’s Reference Guide Getting Started...
  • Page 28: Tips For Getting Started

    Getting Started SECTION 1 Tips for Getting Started System Configuration Minimum Development Configuration PEN*KEY 6100 Computer Programmer’s Reference Guide...
  • Page 29: Sample Configuration Files

    The 6100 Computer supports SRAM PC Cards natively — meaning, no extra device driv- ers to load. However, SanDisk cards are not supported through the 6100 BIOS and thus, need Card and Socket services to be loaded before they can be used.
  • Page 30 This is particularly true when using a DataBook TMD–500–03. If you are using such a card drive, this problem can be corrected by downloading updated drivers from the DataBook BBS. PEN*KEY 6100 Computer Programmer’s Reference Guide SECTION 1...
  • Page 31 Master Mode Boot Approach Creating a Custom Flash " NOTE: Be aware! DO NOT attempt to add files beyond the 1 MB limit for disk space on the 6100 Computer. This does not check disk space for you. C:\NORAND\6100\FLASH\BOOTCARD> PROG ..\61FL1000.BIN E: PEN*KEY 6100 Computer Programmer’s Reference Guide...
  • Page 32 Getting Started IMAGE imgfile [switches] [filelist] imgfile /BOOTSEC=pathname /DATE=mm/dd/yy[yy] /FATS=[1|2] /FILES=n /FORMAT=[360|512|720|1024|1440|2048|2880|4096[K[B]]] /LABEL=[“]volume name[”] /ORG=n[[K[B]] /SPC=n 1-10 PEN*KEY 6100 Computer Programmer’s Reference Guide SECTION 1...
  • Page 33: Development Environments

    SECTION 1 /TIME=hh:mm:ss /VOLSER=xxxx[–]xxxx @pathname pathname (with wild card characters) (a final comment) Key Files Used in the Flash Upgrade Process " " Development Environments " " " " " " PEN*KEY 6100 Computer Programmer’s Reference Guide Getting Started 1-11...
  • Page 34 PEN*KEY 6000 Series Computers operate, except for bug fixes. This means if you continue to use PenPal with the display configuration in which your 6100 Computer was shipped, it continues to serve you well; but, if you want to use PenPal with a different display configuration, PenPal Associates will not necessarily provide you with a version that works with your configuration.
  • Page 35: Handwriting Recognition

    SECTION 1 Getting Started Windows Handwriting Recognition CIC Handwriter Recognition System for Windows " NOTE: This product only works in the ENHANCED mode. Synaptics Handwriter Recognition HR-1200 PEN*KEY 6100 Computer Programmer’s Reference Guide 1-13...
  • Page 36: Keyboard Options

    Getting Started SECTION 1 Pen Extensions for Windows Keyboard Options Microsoft Visual Basic for Windows 1-14 PEN*KEY 6100 Computer Programmer’s Reference Guide...
  • Page 37: Other Environments

    " " " NOTE: Be aware that the 6100 Computer is a 386-based system. Performance with Visual Basic may be an issue, especially with the latest Visual Basic offerings. Borland Delphi for Windows Microsoft Visual C++ or Borland C++ for Windows...
  • Page 38: Setup For Pc Development

    A typical development machine (60 100 MHz 486) hides some speed issues that is evident on a slower 386 machine. Setup for PC Development " NOTE: Always keep the 6100 Computer on charge while performing any setup. " " "...
  • Page 39 3) RamDrive 4) RomDrive device=d:\elanapm.exe device=d:\nordospm.exe Location of Reset Button and PC Card Drives 1. Drive B: (upper) PC Card slot 2. Drive A: (lower PC Card slot 3. Reset switch PEN*KEY 6100 Computer Programmer’s Reference Guide Getting Started 1-17...
  • Page 40: Development Resources

    Getting Started Development Resources PC Card Support NORAND Card and Socket Services: ELANCSSS.EXE 1-18 PEN*KEY 6100 Computer Programmer’s Reference Guide SECTION 1...
  • Page 41 /d m n t = delay t ticks (where m = man code and n = man info) 16b 21 = refers to the Erickson PIA radio NORAND PC Card Files NORAND Card and Socket Files PEN*KEY 6100 Computer Programmer’s Reference Guide Getting Started 1-19...
  • Page 42 Getting Started SECTION 1 SystemSoft Card and Socket Services NORAND Card and Socket Files Initialization Files 1-20 PEN*KEY 6100 Computer Programmer’s Reference Guide...
  • Page 43 All data will be lost when the card is formatted. Also note that you will need to boot a previous version of DOS in order to run INTERLNK, if you have a Windows 95 development environment. Card Libraries PEN*KEY 6100 Computer Programmer’s Reference Guide Getting Started 1-21...
  • Page 44 Communications Via INTERLNK and INTERSVR INTERLNK device=c:\dos\interlnk.exe /drives:4 " NOTE: If you are running Windows 95 on your 6100 Computer, you may want to consider an alterna- tive method of running INTERLNK/INTERSVR, such as booting to an earlier version of DOS. INTERSVR C:\WIN>INTERLNK...
  • Page 45: Ram Drive

    SECTION 1 Port=COM2 This Computer (Client) ––––––––––––––– RAM Drive Other Computer (Server) –––––––––––––––––– equals equals equals equals D: (519Kb) PEN*KEY 6100 Computer Programmer’s Reference Guide Getting Started 1-23...
  • Page 46: Norand Utilities And Communications

    Norand Utilities and Communications Norand Utilities Creating a (Host) Download Include File “newname=oldname” name EXAMPLE: The following is a sample download list file: CONFIG.SYS ROMINIT.BAT 6X00DOS\PC4800.SYS MYAPP.EXE 1-24 PEN*KEY 6100 Computer Programmer’s Reference Guide oldname newname SECTION 1 oldname new-...
  • Page 47: Npcp Network

    NCDIR.EXE is included in the 4980 Boot Toolkit. Norand Utilities Internals " " " is the name of the download list file created, above. is 6100IPL.INC. This file is created by IPLFMT.EXE. PEN*KEY 6100 Computer Programmer’s Reference Guide Getting Started 1-25...
  • Page 48 Getting Started SECTION 1 NRInet TFTP Other Intermec Software 1-26 PEN*KEY 6100 Computer Programmer’s Reference Guide...
  • Page 49: Dos Device Drivers

    SECTION 1 Getting Started DOS Device Drivers DOS Device Drivers Windows Device Drivers Windows Device Drivers PEN*KEY 6100 Computer Programmer’s Reference Guide 1-27...
  • Page 50: Utility Programs

    IF ERRORLEVEL 3 SET BootDrive=C: IF ERRORLEVEL 4 SET BootDrive=D: DD.EXE: Disk Duplicator 1-28 PEN*KEY 6100 Computer Programmer’s Reference Guide ; Get boot drive ; DL = boot drive ; errorlevel = boot drive ; Exit( errorlevel ); SECTION 1...
  • Page 51 SECTION 1 Getting Started DELAY.EXE: Display Message, Wait, Pause, Return Error Level " " " " DELAY.EXE Error Levels PEN*KEY 6100 Computer Programmer’s Reference Guide 1-29...
  • Page 52 " MMBFLAG.COM 0 MMBFLAG.COM 1 MMBFLAG.COM 2 MMBFLAG.COM 3 RESET.EXE: Reset the System 1-30 PEN*KEY 6100 Computer Programmer’s Reference Guide ISRAMDRV.COM IF ERRORLEVEL 1 GOTO NoRamDrive IF NOT ERRORLEVEL 1 GOTO RamDrivePresent (Drive A:) (Drive B: (Drive C:) (Drive D:) MMBFLAG.COM Error Levels...
  • Page 53 Section 2 Supporting DOS Applications " " " " " " " " " " " " " " " " " " " " Introduction Topic Summary PEN*KEY 6100 Computer Programmer’s Reference Guide...
  • Page 54: Command Line Switches

    DOS Power Management Driver: NORDOSPM.EXE Overview NORDOSPM.EXE Installation device=elanapm.exe device=nordospm.exe Command Line Switches PEN*KEY 6100 Computer Programmer’s Reference Guide The DOS power management driver. The APM BIOS installation for DOS. ELANAPM The system BIOS. BIOS Hardware The 6100 Computer hardware.
  • Page 55 SECTION 2 ELAN Configuration Driver: ELANCFG.EXE Usage ELANCFG.EXE <optional arguments> /? /An /Cn /Dn /En /Hn /In /Kn /Ln /Mn /Rn /Tn /Vn /Wx /S Command Line Switches Supporting DOS Applications PEN*KEY 6100 Computer Programmer’s Reference Guide...
  • Page 56 Supporting DOS Applications SECTION 2 PEN*KEY 6100 Computer Programmer’s Reference Guide...
  • Page 57 High speed before going to Low speed the time at Low speed before going to Doze the time at Doze before going to Sleep elancfg.exe /H10 /l20 /d30 elancfg /H10 /L10 /D0 Supporting DOS Applications PEN*KEY 6100 Computer Programmer’s Reference Guide...
  • Page 58 Supporting DOS Applications DOS Pen Driver: 61MOUSE.COM Overview Installation d:\path\61MOUSE.COM Driver installed 6100 Digitizer enabled " NOTE: Always load IrDA driver before the pen driver. PEN*KEY 6100 Computer Programmer’s Reference Guide SECTION 2...
  • Page 59 DOS Pen Calibration: CALIB.EXE Overview Configuration Required Calibration Files CALIB.EXE N6100.BGI " NOTE: See BGI Support in Appendix A, Sample Configuration Files for BGI driver information Usage (calibration utility) (BGI driver) PEN*KEY 6100 Computer Programmer’s Reference Guide Supporting DOS Applications...
  • Page 60 Supporting DOS Applications DOS Scanner: 61PODSCN.EXE, 61THRSCN.EXE Overview " " " " 61PODSCN [–option[value]] ... Installation PEN*KEY 6100 Computer Programmer’s Reference Guide SECTION 2...
  • Page 61 ((c != ‘\n’) && (c != ‘\r’)) { while (kbhit()){ c = getch(); putchar(c); if (c == ‘\n’ || c == ‘\r’) break; // collect only one scan – 4500 compatible PEN*KEY 6100 Computer Programmer’s Reference Guide Supporting DOS Applications...
  • Page 62: Functionality And Usage

    " NOTE: The order of the command line parameters is important (for example, specify a <device name> in order to specify a <port number>. Required AUTOEXEC.BAT Entry Functionality and Usage 2-10 PEN*KEY 6100 Computer Programmer’s Reference Guide fopen() SECTION 2...
  • Page 63 *unsigned char ioctl_cmd; far *unsigned char ioctl_buf; ONLINE = 2 STATUS = 3 GET DEVICE FEATURES = 4 SELFTEST = 5 RESET GET CURRENT CONFIGURATION =7 XTENDED ERROR = 255 Notes Supporting DOS Applications PEN*KEY 6100 Computer Programmer’s Reference Guide 2-11...
  • Page 64 –– a buffer flushing operation failed during the establishment of the link management session with a discovered device. TX_BUFFER_DESC_GET_FAILURE write failure –– could not get a transmit buffer descriptor to send the data to the printer. 2-12 PEN*KEY 6100 Computer Programmer’s Reference Guide 0x03 0x80 SECTION 2...
  • Page 65 128 bytes at this time. An attempt was made to recursively access the driv- Present the data to the driver with a buffer size of PEN*KEY 6100 Computer Programmer’s Reference Guide Supporting DOS Applications 2-13...
  • Page 66: Installation And Configuration

    Use only the switches shown here. This driver is a multi-platform program, providing fea- tures for all of the 6000 Series platforms. None of the other switches are intended for the 6100 Computer and could cause a malfunction, if used on this platform. 2-14 PEN*KEY 6100 Computer Programmer’s Reference Guide...
  • Page 67 SECTION 2 Supporting DOS Applications 6100 PEN*KEY 6100 Computer Programmer’s Reference Guide 2-15...
  • Page 68 Supporting DOS Applications SECTION 2 2-16 PEN*KEY 6100 Computer Programmer’s Reference Guide...
  • Page 69 Section 3 Supporting Windows Applications " " " " " " " " " " " " " " " " " " " " Introduction Topic Summary PEN*KEY 6100 Computer Programmer’s Reference Guide...
  • Page 70 Before loading Windows, be sure to unload VROTATE.EXE, if previously loaded. Otherwise, the results could be unpredictable. To unload VROTATE, issue the VROTATE –d command. Installation Windows Operating Modes Configuration Normal Startup (Standard Mode) PEN*KEY 6100 Computer Programmer’s Reference Guide SECTION 3...
  • Page 71 SECTION 3 Supporting Windows Applications DOSX.EXE Startup Windows Components Windows Startup and Shell Programs Initialization Files Windows System Kernel Optional, if no DOS applications are run during a Windows session. PEN*KEY 6100 Computer Programmer’s Reference Guide...
  • Page 72 Supporting Windows Applications SECTION 3 Windows Enhanced Mode Files Windows System Device Drivers Required only if NOR4800.DRV for NPCP printing is used. Windows Installable Device Drivers EGA Device Fonts PEN*KEY 6100 Computer Programmer’s Reference Guide...
  • Page 73 SECTION 3 NORAND Shell for Windows: NORSHELL.EXE Installation shell=norshell.exe Configuration: WIN.INI Entries NorShellRun " NorShellRunDir " NorShellRunDir=<drive:directory> NorShellLaunch " Popular System DLLs Utilities NorShellRun=<application command line> run= PEN*KEY 6100 Computer Programmer’s Reference Guide Supporting Windows Applications run= load= load=...
  • Page 74 NORSHELL WIN.INI Examples [WINDOWS] NorShellRun=MYAPP.EXE /a switch /another switch NorShellRunDir=c:\app NorShellLaunch=clock.exe calc.exe [WINDOWS] NorShellRun=WINFILE.EXE run=clock.exe calc.exe Shutting Down Windows Windows Power Management Driver: NORWINPM.DRV, VPOWERD.386 " " " PEN*KEY 6100 Computer Programmer’s Reference Guide NorShellLaunch=<program list> run= SW_SHOWMINIMIZED ShowWindow SECTION 3...
  • Page 75 [drivers] power=norwinpm.drv pen=uclkpen.drv [386 enh] device=vpowerd.386 " NOTE: Do not load the DOS Power Management driver, NORDOSPM.EXE, if the 6100 Computer is running Windows. Configuration Fuel Gauge Settings WindowX, WindowY Supporting Windows Applications PEN*KEY...
  • Page 76 Supporting Windows Applications OnTop TextOptions " " " " Miser Settings Miser MiserLimit PEN*KEY 6100 Computer Programmer’s Reference Guide SECTION 3...
  • Page 77 SECTION 3 Supporting Windows Applications Message Output Settings ApmSuspendDialog MsgLevel PEN*KEY 6100 Computer Programmer’s Reference Guide...
  • Page 78 Power management disabled! An application or driver is refusing to suspend Informational Messages APM Event <Hex APM Event ID>. APM OEM Event <Hex OEM Event ID>. Fuel Gauge Display " " " 3-10 PEN*KEY 6100 Computer Programmer’s Reference Guide SECTION 3 ApmEventDialogs...
  • Page 79 SECTION 3 Supporting Windows Applications Always on Top OnTop= Power Driver Fuel Gauge Display NORAND Power Management Programming Interface for Windows Windows Power Management CPU Power Management Power Management by Windows Applications PEN*KEY 6100 Computer Programmer’s Reference Guide 3-11...
  • Page 80 Some Windows application libraries are not written with mobile computing in mind and may make use of PeekMessage() busy-loops in their message handlers. Holding Off Suspend Time-outs APM Event Broadcasts Receiving APM Event Broadcasts Windows Applications 3-12 PEN*KEY 6100 Computer Programmer’s Reference Guide SECTION 3...
  • Page 81 Windows Installable Drivers DOS Real-Mode Drivers and TSRs Windows System Drivers Standard APM Event Codes SUSPENDREQUEST, System Suspend Request Notification SUSPENDRESUME, Normal Resume System Notification PWRCHANGE, Power Status Change Notification Supporting Windows Applications tagPOWER_STATUS PEN*KEY 6100 Computer Programmer’s Reference Guide 3-13...
  • Page 82 USERSUSPEND, User System Suspend Request Notification TIMEUPDATE, Update Time Notification CRITICALSUSPEND, Critical System Suspend Notification CRITICALRESUME CRITICALRESUME, Critical Resume System Notification STANDBYREQUEST, System Standby Request Notification STANDBYREQUEST USERSTANDBY USERSTANDBYRESUME APM Event Code Broadcast Values 3-14 PEN*KEY 6100 Computer Programmer’s Reference Guide...
  • Page 83 SECTION 3 Windows Pen Driver: UCLKPEN.DRV Pen Applications Installation Configuration Driver] boot PEN*KEY 6100 Computer Programmer’s Reference Guide Supporting Windows Applications [Pen drivers= drivers 3-15...
  • Page 84: Hardware Interface

    " NOTE: This entry sets the base clock value for Gazelle/Logitech digitizer. The only value that is sup- ported by the PEN*KEY 6000 Series Computer is the default value of 0. 3-16 PEN*KEY 6100 Computer Programmer’s Reference Guide SECTION 3...
  • Page 85 SECTION 3 PointsPerSecond MaxIPS Digitizer Calibration driver cxRawWidth cyRawHeight wDistinctWidth wDistinctHeight Supporting Windows Applications PEN*KEY 6100 Computer Programmer’s Reference Guide 3-17...
  • Page 86: Display Orientation

    Supporting Windows Applications SECTION 3 wOffsetX wOffsetY UseNV Display Orientation DisplayOrientation display driver PenOrientation 3-18 PEN*KEY 6100 Computer Programmer’s Reference Guide...
  • Page 87 PointsPerSecond=135 ; Set to required value. PortAddr=512 ; Set to required value. IrqLevel=14 PenOrientation=3 FlipX=1 DoEOI=SMART UseNV=1 cxRawWidth=4500 cyRawWidth=3000 [Display Driver] DisplayOrientation=1 Windows Pen Calibration: PENALIGN.EXE Pen for Windows: PENWIN.DLL Supporting Windows Applications PEN*KEY 6100 Computer Programmer’s Reference Guide 3-19...
  • Page 88 [drivers] penwindows=PENWIN.DLL " NOTE: A recognizer must be purchased and installed for this application to be useful. Intermec Technologies Corporation offers both CIC and Synaptics. Refer to the “Getting Started” sec- tion of this publication for information on handwriting recognition.
  • Page 89 [drivers] scanner=61SCAN.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 ;ScanKey = nnn ExternalFlashOnScan=FALSE AimingBeamDuration=0 Supporting Windows Applications drivers boot PEN*KEY 6100 Computer Programmer’s Reference Guide 3-21...
  • Page 90 Supporting Windows Applications SECTION 3 " " " " " Usage 3-22 PEN*KEY 6100 Computer Programmer’s Reference Guide...
  • Page 91 See the Borland C++ help for OpenDriver / CloseDriver. See also Windows 3.1 SDK for additional information. NPCP Printing for Windows: NOR4800.DRV, UNIDRV.DLL Installation Configuration Required WIN.INI Entries [windows] spooler= DosPrint=no device=NORAND 4800 Series,NOR4800,LPT1.DOS [PrinterPorts] NPCP Printer=NOR4800,LPT1.DOS,15,45 Supporting Windows Applications devices [PrinterPorts] PEN*KEY 6100 Computer Programmer’s Reference Guide 3-23...
  • Page 92 Supporting Windows Applications [devices] NPCP Printer=NOR4800,LPT1.DOS Required SYSTEM.INI Entries [boot] drivers=power irda pen penwindows scanner npcp [drivers] npcp=nornpcp.drv [boot] [NPCP Driver] PrtPort= 0 deviceName=LPT1 CommAddress=0x318 CommVector=0x0C FIFODepth=16 Usage Communications Port Usage 3-24 PEN*KEY 6100 Computer Programmer’s Reference Guide [PrinterPorts] drivers SECTION 3...
  • Page 93 SECTION 3 Supporting Windows Applications Basic Windows Printing Default Error Handling Mode Application-Defined Error-Handling Mode extern “C” WORD _export FAR PASCAL ShowPrtError (WORD wCurErr) PEN*KEY 6100 Computer Programmer’s Reference Guide 3-25...
  • Page 94 ( lpfnPrtService == NULL ) { MessageBox( NULL, return FALSE; Calling PrtService 3-26 PEN*KEY 6100 Computer Programmer’s Reference Guide “Could not open printer driver.”, “ERROR”, MB_OK | MB_ICONEXCLAMATION ); “Unable to get address for\nPrtService”, “ERROR”, MB_OK | MB_ICONEXCLAMATION );...
  • Page 95 ( lpfnPrtService (hInst, PRT_ENABLE, (LPARAM)NULL, MessageBox( NULL, return FALSE; Supported PrtService Options " " " " " " " (LPARAM)NULL) < 1) { ”Unable to enable printer driver”, ”ERROR”, MB_OK | MB_ICONEXCLAMATION ); PEN*KEY 6100 Computer Programmer’s Reference Guide Supporting Windows Applications 3-27...
  • Page 96 Supporting Windows Applications SECTION 3 Special Paper Handling NPCP Printer Driver Error Codes and Messages 3-28 PEN*KEY 6100 Computer Programmer’s Reference Guide...
  • Page 97 SECTION 3 Supporting Windows Applications PEN*KEY 6100 Computer Programmer’s Reference Guide 3-29...
  • Page 98 Supporting Windows Applications IrDA Printing for Windows: NOR6805.DRV Installation Configuration Required WIN.INI Entries [windows] spooler= DosPrint=no device=IrDA Printer,NOR6805,LPT2.DOS [NORAND 6805,LPT2.DOS] PaperSize=256 SizeUnit=1 PaperWidth=480 PaperLength=1450 " " 3-30 PEN*KEY 6100 Computer Programmer’s Reference Guide SECTION 3...
  • Page 99 [devices] NORAND 6805=NOR6805,LPT2.DOS [PrinterPorts] [devices] [PrinterPorts] IrDA Printer=NOR6805,LPT2.DOS,15,45 [devices] IrDA Printer=NOR6805,LPT2.DOS Required SYSTEM.INI Entries [boot] drivers= power irda pen penwindows scanner npcp [drivers] irda=norirda.drv boot [IRDA Driver] deviceName=LPT2 UARTAddress=1000 UARTIRQ=14 Technology=6100 PrinterFlush=TRUE PrtPort=0 PEN*KEY 6100 Computer Programmer’s Reference Guide 3-31...
  • Page 100 Supporting Windows Applications [NORAND 6805 Printer] DoGraphicsOnly=FALSE Timeout=10 WakeupChars=200 Usage Default Error-Handling Mode Application-Defined Error-Handling Mode extern “C” WORD _export FAR PASCAL ShowPrtError( WORD wCurErr ) 3-32 PEN*KEY 6100 Computer Programmer’s Reference Guide SECTION 3...
  • Page 101 MB_OK | MB_ICONEXCLAMATION ); “Unable to get address for\nPrtService”, “ERROR”, MB_OK | MB_ICONEXCLAMATION ); PrtService (LPARAM)NULL ) < 1) { “Unable to enable printer driver”, “ERROR”, MB_OK | MB_ICONEXCLAMATION ); PEN*KEY 6100 Computer Programmer’s Reference Guide Supporting Windows Applications PrtSer- PrtService( HINSTANCE 3-33...
  • Page 102 Supporting Windows Applications Supported PrtService Options " " " " " Error Codes and Messages 3-34 PEN*KEY 6100 Computer Programmer’s Reference Guide SECTION 3...
  • Page 103 Section 4 Power Management " " " " " " " " " " " " " " " " " " " " Introduction Topic Summary List of Tables Power Management BIOS: ELANAPM.EXE Overview PEN*KEY 6100 Computer Programmer’s Reference Guide...
  • Page 104: System Power States

    Power Management " " System Power States " " " " " " System Power State Management PEN*KEY 6100 Computer Programmer’s Reference Guide SECTION 4...
  • Page 105 SECTION 4 Power Management PEN*KEY 6100 Computer Programmer’s Reference Guide...
  • Page 106: Device Power Control

    Power Management SECTION 4 " " " " " " Device Power Control Power States (General Definitions) Power States (Display) PEN*KEY 6100 Computer Programmer’s Reference Guide...
  • Page 107 SECTION 4 Power Management Power States (PC Card) Power States (Serial Port) Power States (Digitizer) Power States (Pod) Power States (PC Card Slot) PEN*KEY 6100 Computer Programmer’s Reference Guide...
  • Page 108: Apm Software Interface

    Power Management SECTION 4 Power States (System) Power States (Backlight) APM Software Interface APM Connection Power Management Events PEN*KEY 6100 Computer Programmer’s Reference Guide...
  • Page 109 SECTION 4 Power Management Power Management Event Codes PEN*KEY 6100 Computer Programmer’s Reference Guide...
  • Page 110 Power Management SECTION 4 APM Include Files APMEVENT.H PMEVENTS.H PEN*KEY 6100 Computer Programmer’s Reference Guide...
  • Page 111: Firmware Error Codes

    SECTION 4 Power Management Firmware Error Codes Firmware Error Codes PEN*KEY 6100 Computer Programmer’s Reference Guide...
  • Page 112 Power Management SECTION 4 4-10 PEN*KEY 6100 Computer Programmer’s Reference Guide...
  • Page 113 Section 5 Communications and Device Support " " " " " " " " " " " " " " " " " " " " Introduction Topic Summary PEN*KEY 6100 Computer Programmer’s Reference Guide...
  • Page 114 Communications and Device Support Communications Support Using INTERLNK and INTERSVR NORAND Utilities: PSROM0C.EXE System Setup Requirements NPCP INSTALL=MININET.EXE PEN*KEY 6100 Computer Programmer’s Reference Guide ASSIGN.COM A:=E: B:=F: <path>\MININET.EXE SECTION 5...
  • Page 115 = yes ip-address = nnn.nnn.nnn.nnn subnet-mask = nnn.nnn.nnn.nnn router = 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 Communications and Device Support d:\tcp\etc. PEN*KEY 6100 Computer Programmer’s Reference Guide...
  • Page 116 YYMMDD = date HHMMSS = time . . . = additional HHC information PEN*KEY 6100 Computer Programmer’s Reference Guide < = beginning of file header D = file type (fixed) X = data type (ignored by host) > = end of file header...
  • Page 117 ‘D’ for unpacked data ‘E’ for unpacked executable ‘P’ for packed data ‘B’ for packed executable padded t = Field data type (described below) > = End of file header PEN*KEY 6100 Computer Programmer’s Reference Guide Communications and Device Support...
  • Page 118 . . = the binary file starts immediately after filesize parameter . . . = additional hand-held computer information PEN*KEY 6100 Computer Programmer’s Reference Guide < = beginning of file header D = file type (fixed) X = data type (fixed)
  • Page 119 SECTION 5 Communications and Device Support <DDOSFIL00001X027>F\DATA\DATAFILE.DAT S102000 <DDOSFIL00001X027>F\DATA\DATA0001.DAT S102000 <DDOSFIL00001X031>F\HH000001\DATAFILE.DAT S102000 Usage PSROM0C.EXE ctl–file PEN*KEY 6100 Computer Programmer’s Reference Guide...
  • Page 120 Communications and Device Support NORAND_HOST NORAND_SERVER " " " PEN*KEY 6100 Computer Programmer’s Reference Guide SECTION 5...
  • Page 121 Example Control File for TTY PROTOCOL=3 COM=1 SPEED=9600 PARITY=0 DATABITS=8 STOPBITS=1 EXAMPLE: Example Control File for NPCP PROTOCOL=4 EXAMPLE: Example Control File for NRInet PROTOCOL=14 IPHOST=nnn.nnn.nnn.nnn Upload Control File Descriptions of File Entries Communications and Device Support PEN*KEY 6100 Computer Programmer’s Reference Guide...
  • Page 122 FORMAT=N012X016N004 Minimum NRUPLD.CTL HEADER=<DSCNTRL00001X042> FILE=SCNTRL.DAT PPPPPPPPPPPPPPTTTTTTTTTTTTTTTTYYMMDDHHMMSS EXAMPLE: Example NRUPLD.CTL HEADER=<DSCNTRl00001X042> FILE=SCNTRL.DAT HEADER=<DBYPRD 00000X040> FILE=BYPRD.DAT HEADER=<DBYTRXN00000X001> RECTYPE=A FORMAT=N004N005 RECTYPE=B FORMAT=X010 RECTYPE=C FORMAT=N004X005 FILE=BYTR00.DAT FILE=BYTR01.DAT file=bytr02.dat FILE=BYTR03.DAT HEADER=<DDOSFIL00001X010>FIMAGE.PCX FILE=IMAGE.PCX HEADER=<DDOSFIL00001X020>F\RT00001\COMMON.DAT FILE=COMMON.DAT HEADER=<DDOSFIL00001X000> FILE=MYFILE.DAT 5-10 PEN*KEY 6100 Computer Programmer’s Reference Guide SECTION 5...
  • Page 123: Communications Log File

    SECTION 5 Communications and Device Support Communications Log File x = Session status. It is a single character code. m = Stage of the communications session. n = Protocol error code. PEN*KEY 6100 Computer Programmer’s Reference Guide 5-11...
  • Page 124: Protocol Errors

    Communications and Device Support SECTION 5 Protocol Errors TTY Protocol Errors NPCP Protocol Errors 5-12 PEN*KEY 6100 Computer Programmer’s Reference Guide...
  • Page 125 SECTION 5 Communications and Device Support MININET Protocol Errors PEN*KEY 6100 Computer Programmer’s Reference Guide 5-13...
  • Page 126 Communications and Device Support SECTION 5 NRInet Protocol Errors 5-14 PEN*KEY 6100 Computer Programmer’s Reference Guide...
  • Page 127: Serial Communications

    Serial Lid Installation " " " NOTE: This procedure works only when the unit is not receiving charge from an external power source. Serial Ports " " Communications and Device Support NRInet Protocol Errors PEN*KEY 6100 Computer Programmer’s Reference Guide 5-15...
  • Page 128: Irda Communications

    Communications and Device Support IrDA Communications 6000 Series LAN Communications Overview 4000 Backwards Compatibility /10 /14 /16 /PC /C3 Device Support 6100 Display Screen Rotation Docks and Modems Modem Device Driver: NORMOD.SYS 5-16 PEN*KEY 6100 Computer Programmer’s Reference Guide SECTION 5...
  • Page 129: Charge Indicator

    SECTION 5 Charge Indicator " " " RS-485 Connections Port Definitions Communications and Device Support PEN*KEY 6100 Computer Programmer’s Reference Guide 5-17...
  • Page 130 Communications and Device Support SECTION 5 Terminal to Dock Connector Pinouts 6100 Docking Connector Pinout Docking Connector Pinout Descriptions (8-Pin) 6100 Single/Vehicle Dock 25-Pin Female D-Sub Connector 5-18 PEN*KEY 6100 Computer Programmer’s Reference Guide...
  • Page 131: Keyboard Definition And Redefinition

    SECTION 5 6100 Single/Vehicle Dock 9-Pin D-Sub Female Connector Keyboard Definition and Redefinition References Keyboard Definitions Logical Keyboard Suspend/Resume Backspace “Gold” Key (Yellow Shift) Contrast Up Contrast Down Home Page Up Up Arrow (period) Left Arrow Down Arrow Control (minus sign)
  • Page 132: Keyboard Redefinition

    Communications and Device Support Physical Keyboard Keyboard Redefinition Unshifted Keys 5-20 PEN*KEY 6100 Computer Programmer’s Reference Guide Unshifted Keys SECTION 5...
  • Page 133 SECTION 5 Yellow Shifted Keys Remapping Keys for a Soft Reset " NOTE: The Soft Reset function is not recommended for users booting off an SRAM card! Communications and Device Support Yellow Shifted Keys PEN*KEY 6100 Computer Programmer’s Reference Guide 5-21...
  • Page 134 Communications and Device Support " " " " NOTE: Using “CTL-ALT-DEL” to reset is as robust as it is in conventional PC. If the 6100 processor is hung up, a soft reset may not bring the terminal back. Keyboard Overlays 5-22 PEN*KEY 6100 Computer Programmer’s Reference Guide...
  • Page 135 SECTION 5 6100 Memory Overview Using Expanded Memory on the 6100 Computer EXAMPLE: CONFIG.SYS file device=d:\himem.sys /machine:2 rem The following line is for configurations loading NORCS drivers: device=d:\elanump.sys /x=C000,D400,D800,DC00,E000 device=emm386.exe x=A000–D3FF i=D400–E3FF frame=D400 x=E400–FFEF DOS=UMB install=fixemm.exe Suspend Home PgUp BkSp...
  • Page 136 Communications and Device Support " NOTE: If FIXEMM.EXE is not loaded, 6100 Computer locks up on Suspend. device=d:\elanump.sys /x=C000,C400,D400,D800,DC00,E000 device=d:\elanump.sys /x=D400,D800,DC00,E000 Upper Memory Provider: ELANUMP.SYS DOS=UMB DEVICE=HIMEM.SYS DOS=HIGH DEVICE=ELANUMP.SYS /X=C000, C400 DOS=UMB DEVICEHIGH=... 5-24 PEN*KEY 6100 Computer Programmer’s Reference Guide /X=aaaa[,aaaa] device=d:\elanump.sys /X=C000...
  • Page 137 " " " " " " " Introduction " " " " " Conversions and Interfaces " " " " " " " PEN*KEY 6100 Computer Programmer’s Reference Guide Section 6 " " " " " "...
  • Page 138 Conversions and Interfaces SECTION 6 Topic Summary List of Tables PEN*KEY 6100 Computer Programmer’s Reference Guide...
  • Page 139 SECTION 6 Converting 4000 Series Applications Introduction Files No Longer Supported Conversions and Interfaces PEN*KEY 6100 Computer Programmer’s Reference Guide...
  • Page 140: New 6000 Series Files

    Conversions and Interfaces SECTION 6 Files that Have Changed CONFIG.SYS CPLNI.COM PC4800.SYS PC-DEXIO.BIN New 6000 Series Files AUTOEXEC.BAT PEN*KEY 6100 Computer Programmer’s Reference Guide...
  • Page 141: Unchanged Files

    SECTION 6 Conversions and Interfaces 4000API.EXE VROTATE.EXE and FONTSEL.EXE *.FNT IPLFMT.EXE MININET.EXE Unchanged Files C++ Application Changes Keyboard geUp PageDown Home Display PEN*KEY 6100 Computer Programmer’s Reference Guide...
  • Page 142 = 0x5d01; intdosx(&regs,&regs,&sregs); if (regs.x.cflag) return regs.x.ax; return 0; Drives PEN*KEY 6100 Computer Programmer’s Reference Guide SECTION 6 Only process_id and //set current computer //set up address of parameter table //commit all files to disk // if error return code...
  • Page 143 SECTION 6 Conversions and Interfaces Printers Communications Reset Memory Power Management NRApmSetPower Norlib PL/N Application Changes ++ifdef ++ifdef 6000 ++ifdef General Source Changes PEN*KEY 6100 Computer Programmer’s Reference Guide...
  • Page 144 Conversions and Interfaces SECTION 6 KBDIO GETCTL 3 (KB_PHYSIZE) " MEMIO PRTIO SYSIO XLMEMIO PEN*KEY 6100 Computer Programmer’s Reference Guide...
  • Page 145 OPEN (PRT, PRTBUF) PR_NAME IF CONFIG.PRINTER = PRT_6805 THEN PUTCTL (PRT) 1049 ELSE PUTCTL (PRT) PR_NPCPROT ENDIF IF CONFIG.PRINTER = PRT_4815 THEN PAGELEN = 66 Conversions and Interfaces ;for 6805 IR printer ;for 4810/4815/4820 printer PEN*KEY 6100 Computer Programmer’s Reference Guide...
  • Page 146 PRTIO.BIN, or putctl 1049 is used with PRTIO.BIN, the application locks up in the printer er- ror procedure. Work is in progress to support all printers in a single PL/N driver. Unsupported Standard Routines New Standard Routine Numeric Function IPFCMT6 6-10 PEN*KEY 6100 Computer Programmer’s Reference Guide SECTION 6...
  • Page 147 & ‘SUPERVISOR’, BEL, BEL ;Do not allow user to continue REPEAT RESULT = INPUT(E) UNTIL 0 ENDIF END; OF FILE_COMMIT ++endif Power Management BIOS Interfaces: ELANAPM.EXE Overview BINARY WORD NOTIFY’, PEN*KEY 6100 Computer Programmer’s Reference Guide Conversions and Interfaces 6-11...
  • Page 148: Power Device Ids

    Conversions and Interfaces SECTION 6 Power Device IDs APM Function Summary APM Interrupt Summary 6-12 PEN*KEY 6100 Computer Programmer’s Reference Guide...
  • Page 149 SECTION 6 APM CPU Idle Interrupt 6100 BIOS Interfaces Overview " " " " Supported BIOS Interfaces System Timer Interface: Interrupt 08h Conversions and Interfaces PEN*KEY 6100 Computer Programmer’s Reference Guide 6-13...
  • Page 150 Conversions and Interfaces SECTION 6 Standard Keyboard Interface: Interrupt 09h Display Services: Interrupt 10h Equipment Determination: Interrupt 11h 6-14 PEN*KEY 6100 Computer Programmer’s Reference Guide...
  • Page 151 SECTION 6 Conversions and Interfaces Memory Size Determination: Interrupt 12h Disk Services: Interrupt 13h Serial Communications Services: Interrupt 14h PEN*KEY 6100 Computer Programmer’s Reference Guide 6-15...
  • Page 152 " " Keyboard Services: Interrupt 16h System Reboot: Interrupt 19h " NOTE: Do not use INT 19h to reboot, as it causes a system failure on the 6100 Computer. Real-Time Clock: Interrupt 70h Locating 6100 BIOS Interrupts " " "...
  • Page 153 Unsupported PC, 4000 Series BIOS Functions Nonmaskable Interrupt (NMI) 02h Print Screen Interrupt 05h 4000 Series Video BIOS Functions: Interrupts 12h & 14h " " " " " " " 6100 BIOS Interrupt Summary PEN*KEY 6100 Computer Programmer’s Reference Guide Conversions and Interfaces 6-17...
  • Page 154 " " 4000 Series Port Control BIOS Services: Interrupt 14h " " 4000 Series Multitasking BIOS Services: Interrupt 15h " " " " " " " " " " " " 6-18 PEN*KEY 6100 Computer Programmer’s Reference Guide SECTION 6...
  • Page 155 4000 Series Printer BIOS Functions: Interrupt 17h " " " 4000 Series Programming Interfaces: 4000API.EXE Overview Installation 4000API.EXE /C3 /PC /10 /14 /16 Command Line Switches Conversions and Interfaces 4000API.EXE /C3 /16 /10 /PC 4000API.EXE /16 /10 /PC PEN*KEY 6100 Computer Programmer’s Reference Guide 6-19...
  • Page 156 Conversions and Interfaces SECTION 6 Supported Programming Interfaces INT 10h: Display Services INT 14h: Serial Communications Services 6-20 PEN*KEY 6100 Computer Programmer’s Reference Guide...
  • Page 157 SECTION 6 Conversions and Interfaces INT 15h: Multitasking Services (Description) Tasks and Scheduling Timeouts Resource Arbitration and Task Communication PEN*KEY 6100 Computer Programmer’s Reference Guide 6-21...
  • Page 158 Conversions and Interfaces Mailboxes Queues INT 15h: Intermec Miscellaneous System Services " " " " " INT 15h: PC-Like Miscellaneous System Services " " " INT 16h: Keyboard Services " " " " " 6-22 PEN*KEY 6100 Computer Programmer’s Reference Guide...
  • Page 159 SECTION 6 Locating 4000API.EXE Interrupts " " Unimplemented 4000 Series BIOS APIs " " " " " " " " Programming Interrupt Summary PEN*KEY 6100 Computer Programmer’s Reference Guide Conversions and Interfaces 6-23...
  • Page 160 Conversions and Interfaces " " " " " " " " 4000 Series Screen Emulation: VROTATE.EXE, FONTSEL.EXE " " " " " " " 6-24 PEN*KEY 6100 Computer Programmer’s Reference Guide SECTION 6...
  • Page 161 SECTION 6 Conversions and Interfaces VROTATE.EXE, Parameters and Command Line Switches VROTATE [x y [width height]] [–Repaint_scroll] [–Nowrap] [–PLN] [Disable] PL/N Options Norand Enhanced Video BIOS Functions PEN*KEY 6100 Computer Programmer’s Reference Guide 6-25...
  • Page 162 FONTSEL.EXE, Parameters and Command Line Switches FONTSEL <font_number> FONTSEL <font_number>=<[path\]font_file_name> " NOTE: The current default font (and maximum font size) is 12x24. Version Char_width Char_height Font_data " " " BMP Conversion Utility: BMPUTIL 6-26 PEN*KEY 6100 Computer Programmer’s Reference Guide ? dup(?) SECTION 6...
  • Page 163 SECTION 6 Locating 4000 Series Video Interrupts " " Interrupts Supported by VROTATE.EXE Unimplemented 4000 Series Video Functions " " " " " " " " Conversions and Interfaces PEN*KEY 6100 Computer Programmer’s Reference Guide 6-27...
  • Page 164 (such as –nMODEM1). All switches are optional, and if omitted does NOT default to the switch or the value indicated. Data Definitions " " " " Command Line Switches Cross-Reference by Interrupt Numbers 6-28 PEN*KEY 6100 Computer Programmer’s Reference Guide Interrupt Cross-Reference SECTION 6...
  • Page 165 SECTION 6 Conversions and Interfaces Interrupt Cross-Reference PEN*KEY 6100 Computer Programmer’s Reference Guide 6-29...
  • Page 166 Conversions and Interfaces SECTION 6 Interrupt Cross-Reference 6-30 PEN*KEY 6100 Computer Programmer’s Reference Guide...
  • Page 167 SECTION 6 Conversions and Interfaces Interrupt Cross-Reference PEN*KEY 6100 Computer Programmer’s Reference Guide 6-31...
  • Page 168 Conversions and Interfaces SECTION 6 Interrupt Cross-Reference 6-32 PEN*KEY 6100 Computer Programmer’s Reference Guide...
  • Page 169 SECTION 6 Conversions and Interfaces Interrupt Cross-Reference PEN*KEY 6100 Computer Programmer’s Reference Guide 6-33...
  • Page 170: Interrupt Definitions

    Conversions and Interfaces Interrupt Definitions " " " " " 6-34 PEN*KEY 6100 Computer Programmer’s Reference Guide Interrupt Cross-Reference SECTION 6...
  • Page 171 SECTION 6 Conversions and Interfaces Standard Keyboard Interface: INT 09h PEN*KEY 6100 Computer Programmer’s Reference Guide 6-35...
  • Page 172 Conversions and Interfaces SECTION 6 Display Services: INT 10h INT 10h, Function AH = 00h: Set Display Mode " " " " " " " " " " 6-36 PEN*KEY 6100 Computer Programmer’s Reference Guide...
  • Page 173 SECTION 6 Conversions and Interfaces INT 10h, Function AH = 01h: Set Cursor Type INT 10h, Function AH = 01F9h: Read V25 Comparator Port PEN*KEY 6100 Computer Programmer’s Reference Guide 6-37...
  • Page 174 INT 10h, Function AH = 03h: Read Cursor Position and Mode INT 10h, Function AH = 05h: Set Active Display Page " NOTE: For VROTATE.EXE, only pages 0 and 1 are supported. 6-38 PEN*KEY 6100 Computer Programmer’s Reference Guide SECTION 6...
  • Page 175 INT 10h, Function AH = 06h: Scroll Active Page Up INT 10h, Function AH = 07h: Scroll Active Page Down INT 10h, Function AH = 08h: Read Attribute & Character at Cursor Position PEN*KEY 6100 Computer Programmer’s Reference Guide 6-39...
  • Page 176 Conversions and Interfaces SECTION 6 INT 10h, Function AH = 09h: Write Attribute & Character at Cursor Position INT 10h, Function AH = 0Ah: Write Character Only at Cursor Position 6-40 PEN*KEY 6100 Computer Programmer’s Reference Guide...
  • Page 177 SECTION 6 Conversions and Interfaces INT 10h, Function AH = 0Bh: Set Color Palette INT 10h, Function AH = 0Ch: Write Graphics Dot INT 10h, Function AH = 0Dh: Read Graphics Dot PEN*KEY 6100 Computer Programmer’s Reference Guide 6-41...
  • Page 178 INT 10h, Function AH = 0Eh: Teletype Character Write INT 10h, Function AH = 0Fh: Return Current Video State INT 10h, Function AX = 1000h: Set Palette Register INT 10h, Function AX = 1001h: Set Border Color 6-42 PEN*KEY 6100 Computer Programmer’s Reference Guide...
  • Page 179 INT 10h, Function AX = 1002h: Set Palette and Border INT 10h, Function AX = 1003h: Toggle Blink and Intensity Bit INT 10h, Function AX = 1007h: Get Palette Register INT 10h, Function AX = 1008h: Get Border Color PEN*KEY 6100 Computer Programmer’s Reference Guide 6-43...
  • Page 180 Conversions and Interfaces SECTION 6 INT 10h, Function AX = 1009h: Get Palette and Border INT 10h, Function AX = 1010h: Set Color Register INT 10h, Function AX = 1012h: Set Block of Color Registers 6-44 PEN*KEY 6100 Computer Programmer’s Reference Guide...
  • Page 181 INT 10h, Function AX = 1013h: Set Color Page State INT 10h, Function AX = 1015h: Get Color Register INT 10h, Function AX = 1017h: Get Block of Color Registers INT 10h, Function AX = 1018h: Set PEL Mask PEN*KEY 6100 Computer Programmer’s Reference Guide 6-45...
  • Page 182 INT 10h, Function AX = 1019h: Get PEL Mask INT 10h, Function AX = 101Ah: Get Color Page State INT 10h, Function AX = 101Bh: Set Gray-Scale Values gray_sum = 30% red + 59% green + 11% blue. 6-46 PEN*KEY 6100 Computer Programmer’s Reference Guide...
  • Page 183 SECTION 6 Conversions and Interfaces INT 10h, Function AX = 1100h/1110h: Load User Font INT 10h, Function AX = 1101h/1111h: Load ROM 8x14 Fonts INT 10h, Function AX = 1102h/1112h: Load ROM 8x8 Fonts PEN*KEY 6100 Computer Programmer’s Reference Guide 6-47...
  • Page 184 Conversions and Interfaces SECTION 6 INT 10h, Function AX = 1103h: Set Block Specifier INT 10h, Function AX = 1104h/1114h: Load ROM 8x14 Fonts INT 10h, Function AX = 1120h: Set INT 1Fh Font Pointer 6-48 PEN*KEY 6100 Computer Programmer’s Reference Guide...
  • Page 185 INT 10h, Function AX = 1121h: Set INT 43h for User’s Font INT 10h, Function AX = 1122h: Set INT 43h for ROM 8x14 Font INT 10h, Function AX = 1123h: Set INT 43h for ROM 8x8 Font PEN*KEY 6100 Computer Programmer’s Reference Guide 6-49...
  • Page 186 Conversions and Interfaces SECTION 6 INT 10h, Function AX = 1124h: Set INT 43h for ROM 8x16 Font INT 10h, Function AX = 1130h: Get Font Information 6-50 PEN*KEY 6100 Computer Programmer’s Reference Guide...
  • Page 187 SECTION 6 Conversions and Interfaces Video, Alternate Settings: (AH=12h) Interrupt 10h INT 10h, Function AH = 12h, Subfunction 10h: Get Video Configuration Info INT 10h, Function AH = 12h, Subfunction 30h: Set Scan Lines PEN*KEY 6100 Computer Programmer’s Reference Guide 6-51...
  • Page 188 INT 10h, Function AH = 12h, Subfunction 32h: Enable/Disable Video " " INT 10h, Function AH = 12h, Subfunction 33h: Enable/Disable Gray Scale INT 10h, Function AH = 12h, Subfunction 34h: Enable/Disable Cursor 6-52 PEN*KEY 6100 Computer Programmer’s Reference Guide SECTION 6 Loading Summing Emulation...
  • Page 189 INT 10h, Function AH = 12h, BL = FAh: Set Physical Display Size INT 10h, Function AH = 12h, BL = FBh: Return Pointer to Current Display Parameters INT 10h, Function AH = 12h, BL = FDh: Return Physical Display Size PEN*KEY 6100 Computer Programmer’s Reference Guide 6-53...
  • Page 190 INT 10h, Function AH = 12h, BL = FFh: Backlight Off or On Norand-Specific Display Modes: Interrupt 10h INT 10h, Function AX = 12DDh, Subfunction BL = FCh: Return Invert Mode INT 10h, Function AX = 12DEh, Subfunction BL = FCh: Enable Invert Mode 6-54 PEN*KEY 6100 Computer Programmer’s Reference Guide...
  • Page 191 INT 10h, Function AH = 12DFh, Subfunction BL = FCh: Disable Invert Mode INT 10h, Function AH = 12E0h, Subfunction BL = FCh: Set Chase Mode INT 10h, Function AH = 12E1h, Subfunction BL = FCh: Set Fixed Mode PEN*KEY 6100 Computer Programmer’s Reference Guide 6-55...
  • Page 192 Norand Enhanced Video BIOS: Interrupt 10h INT 10h, Function AX = 7F00h: Get Version Information unsigned int Char Key[14]; // which should be “NORAND_VIDEO” unsigned int Version; unsigned int Revision; 6-56 PEN*KEY 6100 Computer Programmer’s Reference Guide InfoSize; SECTION 6...
  • Page 193 INT 10h, Function AX = 7F20h: Repaint Text Window INT 10h, Function AX = 7F21h: Load or Select Font " NOTE: If the currently-used font is changed, reselect that font to use the new character size. PEN*KEY 6100 Computer Programmer’s Reference Guide 6-57...
  • Page 194 ? Image db ? dup( ? ) ; image packed to match display 6-58 PEN*KEY 6100 Computer Programmer’s Reference Guide ; must be zero ; x,y on screen to place block ; width of image ; height of image ;...
  • Page 195 INT 10h, Function AX = 7F30h: Disable Shadow Buffer Updates INT 10h, Function AX = 7F32h: Disable Rotated Video INT 10h, Function AX = 7F33h: Enable Rotated Video Disk Services: Interrupt 13h INT 13h, Function AH = 00h: Reset Disk System PEN*KEY 6100 Computer Programmer’s Reference Guide 6-59...
  • Page 196 Conversions and Interfaces SECTION 6 INT 13h, Function AH = 01h: Read Status of Last Operation INT 13h, Function 02h: Read Sectors into Memory INT 13h, Function AH = 03h: Write Sectors from Memory 6-60 PEN*KEY 6100 Computer Programmer’s Reference Guide...
  • Page 197 SECTION 6 Conversions and Interfaces INT 13h, Function AH = 04h: Verify Sectors INT 13h, Function AH = 08h: Read Drive Parameters INT 13h, Function AH = 15h: Get Disk Type PEN*KEY 6100 Computer Programmer’s Reference Guide 6-61...
  • Page 198 Conversions and Interfaces SECTION 6 INT 13h, Function AH = 16h: Detect Disk Change INT 13h, Function AH = 18h: Set Media Type INT 13h, Function AH = DAh: Disable RAM Drive 6-62 PEN*KEY 6100 Computer Programmer’s Reference Guide...
  • Page 199 INT 13h, Function AH = EAh: Enable RAM Drive INT 13h, Function AH = ECh: Enable Checksum _RamDriveSignature label byte db “Norand RamDrive”,0 db 0,0, 0Fh, 0FFh,0FFh,0FFh db 0F0h, 3Ch,99h,0C3h, 55h,0AAh Conversions and Interfaces PEN*KEY 6100 Computer Programmer’s Reference Guide 6-63...
  • Page 200 Conversions and Interfaces SECTION 6 Serial Communications Services: Interrupt 14h INT 14h, Function AH = 00h: Initialize Communications Port 6-64 PEN*KEY 6100 Computer Programmer’s Reference Guide...
  • Page 201 SECTION 6 Conversions and Interfaces INT 14h, Function AH = 01h: Send a Character INT 14h, Function AH = 02h: Receive a Character INT 14h, Function AH = 03h: Get Port Status PEN*KEY 6100 Computer Programmer’s Reference Guide 6-65...
  • Page 202 Conversions and Interfaces SECTION 6 INT 14h, Function AH = 04h: Extended Initialize 6-66 PEN*KEY 6100 Computer Programmer’s Reference Guide...
  • Page 203 SECTION 6 Conversions and Interfaces INT 14h, Function AH = 05h: Extended Port Control INT 14h, Function AH = FFh: Port Power Off or On PEN*KEY 6100 Computer Programmer’s Reference Guide 6-67...
  • Page 204 Task_id = ((es << 4) + bx) >> 4; INT 15h, Function AX = 0101h: Delete a Task 6-68 PEN*KEY 6100 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...
  • Page 205 INT 15h, Function AX = 0102h: Return Information About a Task INT 15h, Function AX = 0103h: Disable Task Switching INT 15h, Function AX = 0104h: Enable Task Switching INT 15h, Function AX = 0105h: Reset Multitasker PEN*KEY 6100 Computer Programmer’s Reference Guide 6-69...
  • Page 206 INT 15h, Function AX = 0108h: Post Message to Mailbox INT 15h, Function AX = 0109h: Pend on Queue with Optional Timeout " NOTE: INTERRUPT ROUTINES MUST NOT ISSUE THIS CALL. 6-70 PEN*KEY 6100 Computer Programmer’s Reference Guide SECTION 6...
  • Page 207 INT 15h, Function AX = 010Ch: Delay Current Task " NOTE: INTERRUPT ROUTINES MUST NOT ISSUE THIS CALL. INT 15h, Function AX = 010Dh: Initialize a Queue Structure as Empty INT 15h, Function AX = 010Eh: Enable Time-Slicing PEN*KEY 6100 Computer Programmer’s Reference Guide 6-71...
  • Page 208 Conversions and Interfaces SECTION 6 INT 15h, Function AX = 010Fh: Disable Time-Slicing INT 15h, Function AX = 0110h: Set Task Identifier INT 15h, Function AX = 01F4h: Accumulate CRC 16h 6-72 PEN*KEY 6100 Computer Programmer’s Reference Guide...
  • Page 209 ; BIOS scratch area ; length of buffer data ; BIOS scratch area ; network address ; BIOS scratch area ; frame control field ; dup(?); frame i-field buffer ; BIOS scratch area PEN*KEY 6100 Computer Programmer’s Reference Guide Conversions and Interfaces 6-73...
  • Page 210 INT 15h, Function AX = 01FAh: Beep the Buzzer INT 15h, Function AX = 01FBh: Return Pointer to BIOS Version INT 15h, Function AX = 01FDh: Receive a Network Packet es:[bx].len es:[bx].adr es:[bx].ctl es:[bx].buffer 6-74 PEN*KEY 6100 Computer Programmer’s Reference Guide SECTION 6...
  • Page 211 Applications you write should NOT allow the ON/OFF key to wake the unit from sleep. Force the display off, and turn off all peripherals. This function is issued by the BIOS in case of a critical power failure. Conversions and Interfaces PEN*KEY 6100 Computer Programmer’s Reference Guide 6-75...
  • Page 212 Conversions and Interfaces SECTION 6 INT 15h, Function AH = 4Fh: Translate Keyboard Scan Code INT 15h, Function AH = 4Fh: Keyboard Intercept 6-76 PEN*KEY 6100 Computer Programmer’s Reference Guide...
  • Page 213 SECTION 6 Conversions and Interfaces INT 15h, Function AX = 5300h: APM Installation Check INT 15h, Function AX = 5301h: APM Real Mode Interface Connect PEN*KEY 6100 Computer Programmer’s Reference Guide 6-77...
  • Page 214 Conversions and Interfaces SECTION 6 INT 15h, Function AX = 5304h: APM Interface Disconnect INT 15h, Function AX = 5305h: CPU Idle 6-78 PEN*KEY 6100 Computer Programmer’s Reference Guide...
  • Page 215 SECTION 6 Conversions and Interfaces INT 15h, Function AX = 5306h: CPU Busy INT 15h, Function AX = 5307h: Set Power State PEN*KEY 6100 Computer Programmer’s Reference Guide 6-79...
  • Page 216 Conversions and Interfaces SECTION 6 INT 15h, Function AX = 5308h: Enable/Disable Power Management INT 15h, Function AX = 530Ah: Get Power Status 6-80 PEN*KEY 6100 Computer Programmer’s Reference Guide...
  • Page 217 SECTION 6 Conversions and Interfaces INT 15h, Function AX = 530Bh: Get PM Event INT 15h, Function AX = 530Ch: Get Power State PEN*KEY 6100 Computer Programmer’s Reference Guide 6-81...
  • Page 218 INT 15h, Function AX = 530Dh: Enable/Disable Device Power Management INT 15h, Function AX = 5380h, Subfunction BH = 1Dh: System Reset hwdreset proc near bh, 1Dh ax, 5380h hwreset endp 6-82 PEN*KEY 6100 Computer Programmer’s Reference Guide ; cold reset SECTION 6...
  • Page 219 SECTION 6 Conversions and Interfaces INT 15h, Function AH = 80h: Device Open INT 15h, Function AH = 81h: Device Close INT 15h, Function AH = 82h: Program Termination PEN*KEY 6100 Computer Programmer’s Reference Guide 6-83...
  • Page 220 INT 15h, Function AX = 8300h: Set Event Wait Interval INT 15h, Function AX = 8301h: Cancel Event Wait Interval INT 15h, Function AH = 85h: System Request Key INT 15h, Function AH = 86h: Wait 6-84 PEN*KEY 6100 Computer Programmer’s Reference Guide...
  • Page 221 SECTION 6 Conversions and Interfaces INT 15h, Function AH = 87h: Move Block INT 15h, Function AH = 88h: Read Extended Memory Size INT 15h, Function AH = 89h: Switch to Protected Mode PEN*KEY 6100 Computer Programmer’s Reference Guide 6-85...
  • Page 222 INT 15h, Function AX = 90h: Device Busy INT 15h, Function AX = 9002h: Pend On Keyboard " NOTE: INTERRUPT ROUTINES MUST NOT ISSUE THIS CALL. INT 15h, Function AH = 91h: Interrupt Complete 6-86 PEN*KEY 6100 Computer Programmer’s Reference Guide SECTION 6...
  • Page 223: Scan Codes

    INT 15h, Function AH = C0h: Return System Configuration Parameters Addr INT 15h, Function AH = C1h: Return Extended BIOS Data Area Segment Keyboard Services: Interrupt 16h Scan Codes 112 113 114 116 117 120 121 PEN*KEY 6100 Computer Programmer’s Reference Guide Conversions and Interfaces 125 126 100 105 6-87...
  • Page 224 Conversions and Interfaces SECTION 6 Character Codes Returned by INT 16h, Functions 00h/01h " " " Character Codes Returned by INT 16h, Functions 00h/01h 6-88 PEN*KEY 6100 Computer Programmer’s Reference Guide...
  • Page 225 SECTION 6 Conversions and Interfaces Character Codes Returned by INT 16h, Functions 00h/01h PEN*KEY 6100 Computer Programmer’s Reference Guide 6-89...
  • Page 226 Conversions and Interfaces SECTION 6 Character Codes Returned by INT 16h, Functions 00h/01h 6-90 PEN*KEY 6100 Computer Programmer’s Reference Guide...
  • Page 227 SECTION 6 Conversions and Interfaces Character Codes Returned by INT 16h, Functions 00h/01h PEN*KEY 6100 Computer Programmer’s Reference Guide 6-91...
  • Page 228 SECTION 6 INT 16h, Function AH = 00h: Read Next ASCII Character INT 16h, Function AH = 01h: Set Zero Flag if Key Buffer Empty INT 16h, Function AH = 02h: Read Shift Status 6-92 PEN*KEY 6100 Computer Programmer’s Reference Guide...
  • Page 229 INT 16h, Function AX = 0306h: Set Typematic Rates; Turn On Key Repeat INT 16h, Function AH = 04h: Turn Keyclick Off or On INT 16h, Function AH = 05h: Put Key into Buffer as if from Keyboard PEN*KEY 6100 Computer Programmer’s Reference Guide 6-93...
  • Page 230 See the chart showing the character codes returned by INT 16h, in the Standard Keyboard Interface topic, on page 6-35. INT 16h, Function AH = 11h: Set Zero Flag if Extended Key Buffer Empty 6-94 PEN*KEY 6100 Computer Programmer’s Reference Guide SECTION 6...
  • Page 231 ‘W’, ‘X’, CLEAR, ‘7’, –1, –1, EXIT, ‘4’, –1, –1, LSHFT, ‘1’, –1, –1, ESCAPE, ‘0’, PEN*KEY 6100 Computer Programmer’s Reference Guide Conversions and Interfaces ‘F’, ‘G’ ‘M’, ‘N’ ‘T’, ‘U’ ‘8’, ‘9’ ‘5’, ‘6’ ‘2’, ‘3’ –1, –1 6-95...
  • Page 232 ;shifted 25 key table TUP, –1, –1, –1, –1, –1, –1, INT 16h, Function AH = FFh: Return Number of Keys on Default Keyboard 6-96 PEN*KEY 6100 Computer Programmer’s Reference Guide TDWN, TLEFT, TRIGHT, ‘+’, ‘–’, ‘#’, ‘*’, ‘%’, ‘,’, ‘:’, ‘?’,...
  • Page 233 INT 1Ah, Function AH = 00h: Read System Timer Ticks INT 1Ah, Function AH = 01h: Set System Timer Ticks INT 1Ah, Function AH = 02h: Read the Real-Time Clock Time Conversions and Interfaces PEN*KEY 6100 Computer Programmer’s Reference Guide 6-97...
  • Page 234 INT 1Ah, Function AH = 03h: Set the Real-Time Clock Time INT 1Ah, Function AH = 04h: Read the Real-Time Clock Date INT 1Ah, Function AH = 05h: Set the Real-Time Clock Date 6-98 PEN*KEY 6100 Computer Programmer’s Reference Guide...
  • Page 235 INT 1Ah, Function AH = 06h: Set the Real-Time Clock Alarm INT 1Ah, Function Ah = 07h: Reset the Real-Time Clock Alarm INT 1Ah, Function AH = 09h: Read the Real-Time Clock Alarm PEN*KEY 6100 Computer Programmer’s Reference Guide 6-99...
  • Page 236 INT 33h, Function AX = 0000h: Mouse Reset and Status INT 33h, Function AX = 0001h: Show Cursor INT 33h, Function AX = 0002h: Hide Cursor INT 33h, Function AX = 0003h: Get Button Status and Mouse Position 6-100 PEN*KEY 6100 Computer Programmer’s Reference Guide...
  • Page 237 INT 33h, Function AX = 0005h: Get Button Press Information INT 33h, Function AX = 0006h: Get Button Release Information INT 33h, Function AX = 0007h: Set Minimum & Maximum x Cursor Position PEN*KEY 6100 Computer Programmer’s Reference Guide 6-101...
  • Page 238 INT 33h, Function AX = 0009h: Set Graphics Cursor Block INT 33h, Function AX = 000Ah: Set Text Cursor INT 33h, Function AX = 000Bh: Read Motion Counters INT 33h, Function AX = 000Ch: Set Interrupt Subroutine Call Mask and Addr 6-102 PEN*KEY 6100 Computer Programmer’s Reference Guide...
  • Page 239 INT 33h, Function AX = 000Eh: Light Pen Emulation Mode Off INT 33h, Function AX = 000Fh: Set Mickey to Pixel Ratio INT 33h, Function AX = 0010h: Conditional Off INT 33h, Function AX = 0013h: Set Double-Speed Threshold PEN*KEY 6100 Computer Programmer’s Reference Guide 6-103...
  • Page 240 INT 33h, Function AX = 0015h: Get Status Block Size INT 33h, Function AX = 0016h: Save Driver Status INT 33h, Function AX = 0017h: Restore Driver Status INT 33h, Function AX = 0018h: Set Alternate Subroutine Call Mask and Addr 6-104 PEN*KEY 6100 Computer Programmer’s Reference Guide...
  • Page 241 INT 33h, Function AX = 001Ah: Set Mouse Sensitivity INT 33h, Function AX = 001Bh: Get Mouse Sensitivity INT 33h, Function AX = 001Ch: Set Mouse Interrupt Rate INT 33h, Function AX = 001Dh: Set Display Page Number PEN*KEY 6100 Computer Programmer’s Reference Guide 6-105...
  • Page 242 INT 33h, Function AX = 001Fh: Disable Mouse Driver INT 33h, Function AX = 0020h: Enable Mouse Driver INT 33h, Function AX = 0021h: Software Reset INT 33h, Function AX = 0022h: Set Language for Messages 6-106 PEN*KEY 6100 Computer Programmer’s Reference Guide...
  • Page 243 INT 33h, Function AX = 0024h: Get Driver Version, Mouse Type, and IRQ No. " NOTE: For indexes to all of the interrupt definitions within this section (organized alphabetically by topic), refer to the Interrupt Index, at the end of this publication. PEN*KEY 6100 Computer Programmer’s Reference Guide Conversions and Interfaces 6-107...
  • Page 244 Conversions and Interfaces SECTION 6 6-108 PEN*KEY 6100 Computer Programmer’s Reference Guide...
  • Page 245 If you want to determine your exact configuration, refer to the .INI files in flash memory or in the 6100 Tool Kit. The IRQ and COM port mapping, for example, is defined in CARDID.INI. To verify this information, enter “CARDINFO /v”...
  • Page 246 Reference, System Information ROM DOS 5 DOS=HIGH SHELL=A:\COMMAND.COM A:\ /P " " " " PEN*KEY 6100 Computer Programmer’s Reference Guide SHELL=D:\COMMAND.COM /P D:\ DOS=HIGH DOS=UMB DOS=UMB SECTION 7...
  • Page 247: 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 Detection of Cold Boots Using the CMOS Signature Reference, System Information PEN*KEY 6100 Computer Programmer’s Reference Guide...
  • Page 248 Reference, System Information SECTION 7 Invalid RamDrive Message Testing XMS Memory Message Flash Memory Size Report BIOS Extensions are Scanned For and Installed ROM DOS 5 is Booted PEN*KEY 6100 Computer Programmer’s Reference Guide...
  • Page 249 SECTION 7 Drives A through D are Initialized " " Boot Drives Supported CONFIG.SYS is Loaded and Processed COMMAND.COM is Processed SHELL=D:\COMMAND.COM /P D:\ Drives Supported for Use Warm Booting (or Resetting) Reference, System Information PEN*KEY 6100 Computer Programmer’s Reference Guide...
  • Page 250: Boot Drive Selection

    Reference, System Information SECTION 7 Master Mode Boot Sequence Boot Drive Selection PEN*KEY 6100 Computer Programmer’s Reference Guide...
  • Page 251: System Messages

    SECTION 7 Reference, System Information System Messages System Messages PEN*KEY 6100 Computer Programmer’s Reference Guide...
  • Page 252: Audible Error Codes

    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. PEN*KEY 6100 Computer Programmer’s Reference Guide Audible Error Codes Hardware Ports SECTION 7...
  • Page 253: Irq And Other Hardware Interrupts

    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. IRQ and Other Hardware Interrupts Hardware Interrupts PEN*KEY 6100 Computer Programmer’s Reference Guide...
  • Page 254 Reference, System Information SECTION 7 I/O Map I/O Address and Devices 7-10 PEN*KEY 6100 Computer Programmer’s Reference Guide...
  • Page 255: Rom Bios Data Area

    A full description of each variable used by BIOS is beyond the scope of this guide. ROM BIOS Data Area Pass/Fail indicators for RAM POST test italicized and bold BIOS Data in System RAM PEN*KEY 6100 Computer Programmer’s Reference Guide Reference, System Information 7-11...
  • Page 256 Video feature bit flags VGA control bit flags Display combo code table index 7-12 PEN*KEY 6100 Computer Programmer’s Reference Guide BIOS Data in System RAM used by RESTART used by POST for NORAND BIOS SECTION 7...
  • Page 257: Cmos Registers

    9 equ 10 equ 11 equ 12 equ 10h equ 11h equ 12h equ 14h equ 15h ; conventional memory size equ 16h equ 17h ; extended memory size equ 18h equ 19h PEN*KEY 6100 Computer Programmer’s Reference Guide 7-13...
  • Page 258 CMOS_FLASH_INFO FLASH_1_512K FLASH_2_512K FLASH_3_512K FLASH_4_512K bATMEL bAMD 7-14 PEN*KEY 6100 Computer Programmer’s Reference Guide CMOS Register Assignments equ 1Ah equ 2Eh ; checksum for 10h–2Dh equ 2Fh equ 30h ; posted extended memory size equ 31h equ 3Fh ; ROM DOS boot flags equ 01h ;...
  • Page 259: Application Api Publications

    Reference, Open Systems Publications " " " " " " " Introduction " NOTE: All publications from Intermec Technologies Corporation should be ordered through your local Account Executive. Application API Publications " " " " " " " " "...
  • Page 260 Reference, Open Systems Publications " " " /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] archie.au [139.130.4.6] " " " LISTSERV@RPITSVM LISTSERV@NDSUVM1 PEN*KEY 6100 Computer Programmer’s Reference Guide inteRRRA.zip /pub/msdos/info SECTION 8...
  • Page 261 SECTION 8 " " " " INTrrA.*, INTrrB.*, INTrrC.*, ries.ibm.pc " " " " DOS 5.0 API " Reference, Open Systems Publications INTrrD.*. comp.binaries.ibm.pc PEN*KEY 6100 Computer Programmer’s Reference Guide comp.bina-...
  • Page 262 Reference, Open Systems Publications SECTION 8 Hardware Interface " " " PEN*KEY 6100 Computer Programmer’s Reference Guide...
  • Page 263 Rem DIRCNT.EXE returns 0 if bad drive, or file count + 1.2 will be returned Sample Configuration Files " " " " " " " Topic Summary PEN*KEY 6100 Computer Programmer’s Reference Guide Appendix A " " " " " "...
  • Page 264 /D4 – Doze to Suspend set to 4 rem /T0 – Extended timer ticks in DOZE path=\;d:\;\windows cd \ CONFIG.SYS (Default) Rem Display the Flash version message for 15 seconds device=d:\delay.exe “” “PEN*KEY 6100 FLASH 61FL1000 V1.16” /1000 break=on buffers=30 files=128 lastdrive=z stacks=9,256 device=d:\himem.xyx /machine:2...
  • Page 265 Other Sample Configuration Files PENWIN.INI [Current] User=User 1 InkWidth=1 InkColor=0 SelectTimeout=500 [*User 1] TryDictonary=100 ErryrLevel=25 EndRecognition=8000 TimeOut=500 WriteDirection=103 MenuDropAlignment=0 Preferences=0 IntlPreferences=0 Recognizer=mars.dll [Dictionary List] MAINDICT.DLL= [Recognizer List] MARS.DLL= [MsSpell] MSSPELL.DLL= [MsMainDict] enuMain= Sample Configuration Files PEN*KEY 6100 Computer Programmer’s Reference Guide...
  • Page 266 Sample Configuration Files [User List] User 1= [sysges] C!=xx,0,{Ctrl}{Ins} P!=xx,0,{Shift}{Ins} X!=xx,0,{Shift}{Del} U!=xx,0,{Alt}{Bs} [Pen Palette] SKBPos=15 92 SYSTEM.INI ;–––––––––––––––––––––––––––––––––––––––––––––––––––––– ; Norand 6100 Windows 3.1 SYSTEM.INI ; Based on 6300 Toolkit v1.16 ;–––––––––––––––––––––––––––––––––––––––––––––––––––––– [boot] shell=winfile.exe display.drv=6100disp.drv system.drv=system.drv keyboard.drv=keyboard.drv mouse.drv=yesmouse.drv comm.drv=comm.drv sound.drv=sound.drv network.drv= fonts.fon=egasys.fon...
  • Page 267 Typical causes of clock regression are setting the Use of this setting is recommended only for Add 256 to the entry to enable this option. PEN*KEY 6100 Computer Programmer’s Reference Guide Sample Configuration Files Default is 9. See Toolkit Enables the RTC...
  • Page 268 ; until Windows shuts down. ; OpenDriver and CloseDriver calls issued by the application to use the PEN*KEY 6100 Computer Programmer’s Reference Guide Windows drivers and applications are not affected. Specifically the current SystemSoft The problem is that DOS drivers only OEM-defined events are 16 bits, Also, if “ApmFixSystemSoft”...
  • Page 269 Other valid settings are: 10 (LF), 13 (CR). A value of 0 disables. This disables the ability to cancel the Valid settings are: Default value is 0. PEN*KEY 6100 Computer Programmer’s Reference Guide Sample Configuration Files The valid Valid values are: TRUE The valid...
  • Page 270 UARTIRQ=3 ; This sets the type of the Hand Held computer. ; Valid settings are PENKEY, 6100, 6600, JETEYE, and OMNIBOOK. Technology=PENKEY ;– – – – – – – – – – – – – – – – – – – – – – – – – – – – – – –...
  • Page 271 ; This section for Enhanced mode ;–––––––––––––––––––––––––––––––––––– [386Enh] display=*vddvga keyboard=*vkd mouse=*vmd network=*vnetbios, *dosnet device=vportd.386 device=vpwrd.386 device=vtdapi.386 device=*vpicd device=*vtd device=*reboot device=*vdmad device=*vsd device=*v86mmgr device=*pageswap device=*dosmgr device=*vmpoll device=*wshell device=*BLOCKDEV device=*PAGEFILE device=*vfd device=*parity device=*biosxlat device=*vcd device=*vmcpd device=*combuff device=*cdpscsi local=CON FileSysChange=off PEN*KEY 6100 Computer Programmer’s Reference Guide...
  • Page 272 ApmAcOff=chimes.wav, A/C Offline ; To reduce system overhead, do not enable any of these sounds. ; sound entry blank causes a simple beep to be played in its place. A-10 PEN*KEY 6100 Computer Programmer’s Reference Guide APPENDIX A Leaving a...
  • Page 273 ; connected to [filename] directs its output into this file. LPT1:= LPT2:= LPT3:= COM1:=9600,n,8,1,x COM2:=9600,n,8,1,x COM3:=9600,n,8,1,x COM4:=9600,n,8,1,x EPT:= FILE:= LPT1.DOS= LPT2.DOS= [FontSubstitutes] Helv=MS Sans Serif Tms Rmn=MS Serif Times=Times New Roman Helvetica=Arial [TrueType] [Sounds] SystemDefault=ding.wav, Default Beep PEN*KEY 6100 Computer Programmer’s Reference Guide A-11...
  • Page 274 Hilight=255 255 255 HilightText=0 0 0 InactiveTitleText=128 128 128 ButtonHilight=0 0 0 [NORAND 6805,LPT2.DOS] Paper Size=256 Paper Length=1450 Paper Width=480 Size Unit=1 [PrinterPorts] NORAND 4800=NOR4800,LPT1.DOS,15,45 NORAND 6805=NOR6805,LPT2.DOS,15,45 [devices] NORAND 4800=NOR4800,LPT1.DOS NORAND 6805=NOR6805,LPT2.DOS A-12 PEN*KEY 6100 Computer Programmer’s Reference Guide APPENDIX A...
  • Page 275 The key numbers, scan codes, and key definition columns may conform to your particular key layout. Adapt this to your unit. ;=========================================================================== ; 6100 keys are numbered as follows: ; Unshifted Plane ; Yellow Shifted Plane ; special scan codes:...
  • Page 276 REM Calibrate, if required. CALIB.EXE REM Run the sample PEN PAL program – Other sample programs may be chosen PPCP <APP.RUN> A-14 PEN*KEY 6100 Computer Programmer’s Reference Guide ; Key Definition ; On/Off (Suspend/Resume, I/O) ; Tab ; BackSpace ; Enter ;...
  • Page 277 Handwriting Recognition System Setup Sample AUTOEXEC.BAT Code for Handwriting Recognition EXAMPLE: PATH A:/;D:\; REM Load the PEN PAL modified pen driver call PENDOSEM.BAT 61MOUSE.COM REM Run the sample PEN PAL program PPCP 6100.RUN PEN*KEY 6100 Computer Programmer’s Reference Guide Sample Configuration Files A-15...
  • Page 278 User System Suspend Request Notification #define PWR_USERSUSPEND User System Standby Resume Notification #define PWR_USERSTANDBYRESUME 10 A-16 PEN*KEY 6100 Computer Programmer’s Reference Guide 0xFF These events are broadcast to the Windows Note that these codes Also, only three codes, 1–3, APPENDIX A...
  • Page 279: Bgi Support

    " NOTE: Init and close the driver as many times as desired during a program run, but only call installuserdriver() once and save the value returned for use in subsequent initializations. PEN*KEY 6100 Computer Programmer’s Reference Guide Sample Configuration Files A-17...
  • Page 280: Bitmap Text Output

    #define BGI_LANDSCAPE /* rotated “portrait mode” flag */ #define BGI_PORTRAIT /* bitmap text modes */ #define BGI_NORMALTEXT #define BGI_NIFTYTEXT void _Cdec1 n6100_driver(void); /* end header N6100.H */ A-18 PEN*KEY 6100 Computer Programmer’s Reference Guide 0x0000 0x0008 0x0002 0x0003 APPENDIX A...
  • Page 281 Appendix B Common PEN*KEY 6000 Series Information " " " " " " " " " " " " " " " " " " " " Introduction Topic Summary PEN*KEY 6100 Computer Programmer’s Reference Guide...
  • Page 282 // dynamic linking. //––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––– // extern “C” int FAR PASCAL _export GetPowerStatus(tagPOWER_STATUS far PEN*KEY 6100 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 283 4 // Critical Resume System Notification 5 // Battery Low Notification 6 // Power Status Change Notification 7 // Update Time Notification 8 // Critical System Suspend Notification 9 // User System Standby Request Notif. PEN*KEY 6100 Computer Programmer’s Reference Guide...
  • Page 284 #define PWR_OEM_PDOOR #define PWR_OEM_IKBD #define PWR_OEM_PWRFAIL #define PWR_OEM_PWRTICK PEN*KEY 6100 Computer Programmer’s Reference Guide 10 // User System Suspend Request Notif. 0x0201 // External keyboard detect 0x0202 // External charge detect 0x0203 // Pod 1 ring detect 0x0204 // Pod 2 ring detect...
  • Page 285 3 // Not operational and does not save HW state. // Continue operation 0x80 // Cancel operation TESTCHRG ‘Tests NorAPM Charge Detection’ WINDOWS ‘WINSTUB.EXE’ PRELOAD MOVEABLE DISCARDABLE PRELOAD MOVEABLE MULTIPLE 1024 8200 // For storing NorAPM library instance. PEN*KEY 6100 Computer Programmer’s Reference Guide...
  • Page 286 #include “stdio.h” #include “compat.h” #include “4800.h” extern uchar jamarray[4][1024]; PEN*KEY 6100 Computer Programmer’s Reference Guide // Holds current power status. // Holds error codes. // Message buffer “GetPowerStatus() call failed with result of %d”, Error); MB_RETRYCANCEL + MB_ICONEXCLAMATION); It stays around since it was already open.
  • Page 287 FP(struct devhdr) hdr; union fncptr strat; union fncptr inter; struct ioargs args; struct reqpk devpack; uchar buffer[40]; uchar cmd,exterr; Common PEN*KEY 6000 Series Information next; attribute; (*strategy)(); (*interrupt)(); name[8]; (*fnc)(); addr; PEN*KEY 6100 Computer Programmer’s Reference Guide...
  • Page 288 Abort. \n”); break; case NDMERR: scr_printf(“Printer Disconnect. Abort.\n”); break; case BINDERR: PEN*KEY 6100 Computer Programmer’s Reference Guide /* ioctl input read */ /* Point buffer to ioargsc */ /* Read one byte */ Abort.\n”); Abort. \n”); Abort. \n”);...
  • Page 289 ‘r’: return (1); case ‘3’: case ‘i’: return (0); case ‘4’: case ‘f’: return (3); default: break; FAR (void) errproc() #asm push ds push es Common PEN*KEY 6000 Series Information “Print”)); “Pmove”)); Retry.\n”); PEN*KEY 6100 Computer Programmer’s Reference Guide...
  • Page 290 (0x0B); // Interface not engaged default: // Unrecognized Return code break; return ((unsigned carh)regs.h.ah); B-10 PEN*KEY 6100 Computer Programmer’s Reference Guide // int86 This causes good power savings if used during // return the error code APPENDIX B...
  • Page 291 $<–[0;59;“INTERSVR C: D:”;13p prompt $<–[0;60;“DIR”;32p prompt $<–[0;61;“BIOS”;32p prompt $<–[0;62;“CD”;32p prompt $<–[0;63;“COPY”;32p prompt $<–[0;64;“DEL”;32p prompt $<–[0;65;“RAMDFMT”;32p prompt $<–[0;66;“C:”;13p prompt $<–[0;67;“EXIT”;13p prompt $<–[0;68;“D:”;13p prompt $p$g Explanation of Example Common PEN*KEY 6000 Series Information PEN*KEY 6100 Computer Programmer’s Reference Guide B-11...
  • Page 292 " NOTE: ANSI.SYS distinguishes upper- and lowercase letters. For example “P” and “p” are different. Memory Overview (PEN*KEY 6000 Series Computer) " " " " " " " " " " Background B-12 PEN*KEY 6100 Computer Programmer’s Reference Guide APPENDIX B...
  • Page 293 APPENDIX B Common PEN*KEY 6000 Series Information Standard PC Memory Overview Extended memory High Memory Area (HMA) Upper Memory Area (UMA) 384k 1 Megabyte Conventional memory 640k Typical Memory Organization Definition of Terms PEN*KEY 6100 Computer Programmer’s Reference Guide B-13...
  • Page 294 Common PEN*KEY 6000 Series Information Summary of Memory Types " " " " " " Statements and Programs (CONFIG.SYS, AUTOEXEC.BAT) B-14 PEN*KEY 6100 Computer Programmer’s Reference Guide APPENDIX B...
  • Page 295 Î Î Î Î Î Î Î Î 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 6100 Computer Programmer’s Reference Guide System Memory B-15...
  • Page 296 The double-headed arrow from the “Application” to the “disk” indi- cates that the application loads the data from the disk, then writes it back to the disk. How the 6000 Series PEN*KEY System Works B-16 PEN*KEY 6100 Computer Programmer’s Reference Guide 1MB FLASH RAM Disk System Memory...
  • Page 297 APPENDIX B Standard Mode Versus Enhanced Mode Common PEN*KEY 6000 Series Information PCMCIA SRAM FLASH 1MB FLASH Work Space System Application Memory Windows DOS / BIOS PEN*KEY with PC Card PEN*KEY 6100 Computer Programmer’s Reference Guide B-17...
  • Page 298 Common PEN*KEY 6000 Series Information RAM Drive Integrity-Protection Non-Windows Systems: PenPal and PenRight! Windows Environment A Brief History of Microsoft Windows B-18 PEN*KEY 6100 Computer Programmer’s Reference Guide APPENDIX B...
  • Page 299 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 6100 Computer Programmer’s Reference Guide Handwriting Recognition Pen Windows Handwriting Recognition Pen Windows B-19...
  • Page 300 Common PEN*KEY 6000 Series Information BIOS DLLs DOS Device Drivers B-20 PEN*KEY 6100 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 301 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 6100 Computer Programmer’s Reference Guide Handwriting Recognition Pen Windows Handwriting Recognition Pen Windows B-21...
  • Page 302 Common PEN*KEY 6000 Series Information Windows System Files DLLs B-22 PEN*KEY 6100 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 303 APPENDIX B Windows Device Drivers and APIs DLLs 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 6100 Computer Programmer’s Reference Guide Handwriting Recognition Pen Windows B-23...
  • Page 304 Common PEN*KEY 6000 Series Information DLLs DLLs B-24 PEN*KEY 6100 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 305 APPENDIX B INI Files DLLs [section name] variable=value 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 6100 Computer Programmer’s Reference Guide Handwriting Recognition Pen Windows B-25...
  • Page 306 Common PEN*KEY 6000 Series Information Additional Windows Files DLLs Shell Applications Fonts: What They Are and How They Impact " B-26 PEN*KEY 6100 Computer Programmer’s Reference Guide Cannot find file or one of its components. Applications Additional Windows INIs APIs Files...
  • Page 307 APPENDIX B " Applications DLLs 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 6100 Computer Programmer’s Reference Guide Handwriting Recognition Pen Windows B-27...
  • Page 308 Common PEN*KEY 6000 Series Information Pen Windows Files DLLs B-28 PEN*KEY 6100 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 309 SystemSoft Card and Socket Services NORAND Card and Socket Services 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 6100 Computer Programmer’s Reference Guide Handwriting Recognition Pen Windows B-29...
  • Page 310 Common PEN*KEY 6000 Series Information Power Management NORAND Utilities Pen Drivers Scanner Drivers NPCP Printer Drivers IrDA Printer Drivers PEN*KEY 6000 Series Memory-Sizing Guidelines All Systems " " " " " B-30 PEN*KEY 6100 Computer Programmer’s Reference Guide APPENDIX B...
  • Page 311 APPENDIX B Systems with RAM Drive Storage " " " Systems with External Storage " " " Common PEN*KEY 6000 Series Information PEN*KEY 6100 Computer Programmer’s Reference Guide B-31...
  • Page 312 Common PEN*KEY 6000 Series Information APPENDIX B B-32 PEN*KEY 6100 Computer Programmer’s Reference Guide...
  • Page 313: General Index

    " " " " " " NOTE: NUMBERS " " " " " " PEN*KEY 6100 Computer Programmer’s Reference Guide General Index " " " " " " " " Index-1...
  • Page 314 GENERAL INDEX Index-2 PEN*KEY 6100 Computer Programmer’s Reference Guide...
  • Page 315 PEN*KEY 6100 Computer Programmer’s Reference Guide GENERAL INDEX Index-3...
  • Page 316 GENERAL INDEX Index-4 PEN*KEY 6100 Computer Programmer’s Reference Guide...
  • Page 317 GENERAL INDEX PEN*KEY 6100 Computer Programmer’s Reference Guide Index-5...
  • Page 318 GENERAL INDEX Index-6 PEN*KEY 6100 Computer Programmer’s Reference Guide...
  • Page 319: Files Index

    " " " " " " NOTE: SYMBOLS NUMBERS " " " " " " PEN*KEY 6100 Computer Programmer’s Reference Guide Files Index " " " " " " " " Index-7...
  • Page 320 FILES INDEX Index-8 PEN*KEY 6100 Computer Programmer’s Reference Guide...
  • Page 321 " " " " " " NOTE: NUMBERS " " " " " " PEN*KEY 6100 Computer Programmer’s Reference Guide Interrupt Index " " " " " " " " Index-9...
  • Page 322 INTERRUPT INDEX Index-10 PEN*KEY 6100 Computer Programmer’s Reference Guide...
  • Page 323 INTERRUPT INDEX PEN*KEY 6100 Computer Programmer’s Reference Guide Index-11...
  • Page 324 INTERRUPT INDEX Index-12 PEN*KEY 6100 Computer Programmer’s Reference Guide...
  • Page 325 INTERRUPT INDEX PEN*KEY 6100 Computer Programmer’s Reference Guide Index-13...
  • Page 326 INTERRUPT INDEX Index-14 PEN*KEY 6100 Computer Programmer’s Reference Guide...
  • Page 327 INTERRUPT INDEX PEN*KEY 6100 Computer Programmer’s Reference Guide Index-15...
  • Page 328 INTERRUPT INDEX Index-16 PEN*KEY 6100 Computer Programmer’s Reference Guide...

Table of Contents