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...
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...
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...
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...
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...
Getting Started SECTION 1 Tips for Getting Started System Configuration Minimum Development Configuration PEN*KEY 6100 Computer Programmer’s Reference Guide...
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...
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.
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...
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...
" " " 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...
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...
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...
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-...
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...
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...
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 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...
" 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...
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 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 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 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...
" 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 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 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...
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...
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 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 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...
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...
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...
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 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...
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...
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(®s,®s,&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 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 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 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 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...
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 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 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...
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...
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...
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...
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...
Reference, Open Systems Publications " " " " " " " Introduction " NOTE: All publications from Intermec Technologies Corporation should be ordered through your local Account Executive. Application API Publications " " " " " " " " "...
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 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 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 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...
" 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 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...
Need help?
Do you have a question about the PEN*KEY 6100 and is the answer not in the manual?
Questions and answers