background image

SECTION 6

Conversions and Interfaces

PEN*KEY

R

 6100 Computer Programmer’s Reference Guide    6-87

INT 15h, Function AH = C0h: Return System Configuration Parameters Addr

BIOS
On Entry:

AH = C0h

On Return:

AH = 00h = Successful

86h = System model could not be determined

Carry = 0 = No error

1 = Error

ES:BX = Address of system configuration table

INT 15h, Function AH = C1h: Return Extended BIOS Data Area Segment

BIOS
On Entry:

AH = C1h

On Return:

AH = 00h = Successful

86h = No EBDA

Carry = 0 = No error

1 = Error (no EBDA)

ES = Segment address of EBDA

Keyboard Services: Interrupt 16h

Scan Codes

The following tables list the character codes for ATĆcompatible keyboards.  The

column in each of these tables labeled Scan Codes In Hex" lists the codes offered

to INT 09h by the keyboard controller through Port 60h.  The first table shows

the character codes returned in AX through the INT 16h standard functions

00h/01h.  The second table shows the values returned in AX through the INT

16h extended functions 10h/11h.  Scan codes containing the hidden key notation

are used for the extended keys on the 101Ćstyle keyboards.  Hidden key notation

is defined as scan codes offered to INT 09h in the form E0Ćxx.  Hidden key notaĆ

tion is not used for the 83/84Ćstyle keyboards.  The key number system for the

101Ćkey keyboard is defined in the following chart:

59

60

61

62

83

106

108

110

112 113 114

115

116 117

118

119

120 121

122

123

124

125 126

1

2

3

4

5

6

7

8

9

10

11

12

13

15

16

17

18

19

20

21

22

23

24

25

26

27

28

29

30

31

32

33

34

35

36

37

38

39

40

41

42

44

46

47

48

49

50

51

52

53

54

55

57

75

80

85

76

81

86

79

84

89

90

95

100 105

91

96

101

92

97

102

93

98

103

99

104

6. Conversions and

Interfaces

Summary of Contents for PEN*KEY 6100

Page 1: ...PEN KEYR 6100 Computer PROGRAMMER S REFERENCE GUIDE P N 977 054 001 Revision B December 2000 ...

Page 2: ...A 52401 ANTARES INTERMEC NORAND NOR WARE PEN KEY ROUTEPOWER TRAKKER and TRAKKER ANTARES are registered trademarks and ENTERPRISE WIRELESS LAN INCA Mobile Framework TE 2000 UAP and UNIVERSAL ACCESS POINT are trademarks of Intermec Technologies Corporation 1996 Intermec Technologies Corporation All rights reserved Acknowledgments ActiveX Microsoft MS and MSĆDOS Windows and Windows NT are registered ...

Page 3: ...ice 6 Customer Support Center 6 Web Site 6 Bulletin Board Service 7 SECTION 1 Getting Started Introduction 1Ć1 An Open System Environment 1Ć2 Introduction to the 6100 Computer 1Ć2 How the Hardware is Different 1Ć2 Processor 1Ć2 Display 1Ć2 User Input 1Ć2 Power Management 1Ć3 Batteries 1Ć3 System Memory 1Ć3 Input Output and Storage Devices More Varied 1Ć4 PC Card 1Ć4 Surface and Pin Connections 1Ć4...

Page 4: ...oard Considerations 1Ć15 Some System Guidelines 1Ć16 Setup for PC Development 1Ć16 Development Resources 1Ć18 PC Card Support 1Ć18 NORAND Card and Socket Services ELANCSSS EXE 1Ć18 NORAND PC Card Files 1Ć19 SystemSoft Card and Socket Services 1Ć20 SanDisk Support 1Ć21 Communications Via INTERLNK and INTERSVR 1Ć22 INTERLNK 1Ć22 INTERSVR 1Ć22 RAM Drive 1Ć23 Norand Utilities and Communications 1Ć24 N...

Page 5: ...ptions 2Ć9 Usage 2Ć9 Example Scanner Application 2Ć9 DOS NPCP Printing PC4800 SYS 2Ć10 Overview 2Ć10 Driver Installation and Configuration 2Ć10 Required CONFIG SYS Entry 2Ć10 Required AUTOEXEC BAT Entry 2Ć10 Functionality and Usage 2Ć10 Notes 2Ć11 DOS IrDA Printing PRDRV SYS IRDAPDRV EXE 2Ć12 Overview 2Ć12 Installation and Configuration 2Ć14 Required CONFIG SYS Entry 2Ć14 Required AUTOEXEC BAT Ent...

Page 6: ...ver UCLKPEN DRV 3Ć15 Pen Applications 3Ć15 Installation 3Ć15 Configuration 3Ć15 Required SYSTEM INI Entries 3Ć16 Hardware Interface 3Ć16 Digitizer Calibration 3Ć17 Display Orientation 3Ć18 SYSTEM INI Configuration Example for UCLKPEN DRV 3Ć19 Windows Pen Calibration PENALIGN EXE 3Ć19 Pen for Windows PENWIN DLL 3Ć19 Required SYSTEM INI Entries 3Ć20 Required PENWIN INI Entries 3Ć20 Integrated Scanne...

Page 7: ...Control 4Ć4 APM Software Interface 4Ć6 APM Connection 4Ć6 Power Management Events 4Ć6 APM Include Files 4Ć8 APMEVENT H 4Ć8 PMEVENTS H 4Ć8 Firmware Error Codes 4Ć9 SECTION 5 Communications and Device Support Introduction 5Ć1 Communications Support 5Ć2 Using INTERLNK and INTERSVR 5Ć2 NORAND Utilities PSROM0C EXE 5Ć2 System Setup Requirements 5Ć2 NPCP 5Ć2 TTY 5Ć2 NRInet Using PSROM0C Version 3 xx 5Ć3...

Page 8: ...rd Definitions 5Ć19 Logical Keyboard 5Ć19 Physical Keyboard 5Ć20 Keyboard Redefinition 5Ć20 Unshifted Keys 5Ć20 Yellow Shifted Keys 5Ć21 Remapping Keys for a Soft Reset 5Ć21 Keyboard Overlays 5Ć22 6100 Memory 5Ć23 Overview 5Ć23 Using Expanded Memory on the 6100 Computer 5Ć23 Upper Memory Provider ELANUMP SYS 5Ć24 SECTION 6 Conversions and Interfaces Converting 4000 Series Applications 6Ć3 Files No...

Page 9: ...upt 19h 6Ć16 RealĆTime Clock Interrupt 70h 6Ć16 Locating 6100 BIOS Interrupts 6Ć16 NORAND Proprietary System Interfaces 6Ć17 Unsupported PC 4000 Series BIOS Functions 6Ć17 Nonmaskable Interrupt NMI 02h 6Ć17 Print Screen Interrupt 05h 6Ć17 4000 Series Video BIOS Functions Interrupts 12h 14h 6Ć17 4000 Series Disk BIOS Services Interrupt 13h 6Ć18 4000 Series Port Control BIOS Services Interrupt 14h 6...

Page 10: ...6Ć56 Disk Services Interrupt 13h 6Ć59 Serial Communications Services Interrupt 14h 6Ć64 System Services Interrupt 15h 6Ć68 Keyboard Services Interrupt 16h 6Ć87 Scan Codes 6Ć87 Character Codes Returned by INT 16h Functions 00h 01h 6Ć88 Timer and RealĆTime Clock Services Interrupt 1Ah 6Ć97 Standard Mouse Interface INT 33h 6Ć100 SECTION 7 Reference System Information Introduction 7Ć1 ROM DOS 5 7Ć2 Bo...

Page 11: ...AĆ13 KEYS INI Key Remapping Parameter File AĆ13 Setups for Third Party Applications AĆ14 Handwriting Recognition System Setup AĆ15 APM Event Code Broadcast Values AĆ16 BGI Support AĆ17 Using the N6100 BGI Driver AĆ17 Bitmap Text Output AĆ18 APPENDIX B Common PEN KEY 6000 Series Information Introduction BĆ1 Development Support Files BĆ2 NORAPM H BĆ2 APMCODES H BĆ3 Sample Program Listings BĆ5 Charge...

Page 12: ...tions BĆ27 Pen Windows Files BĆ28 Handwriting Recognition BĆ29 Norand Value Adds BĆ29 BIOS Basic Input Output System BĆ29 SystemSoft Card and Socket Services BĆ29 NORAND Card and Socket Services BĆ29 Power Management BĆ30 NORAND Utilities BĆ30 Pen Drivers BĆ30 Scanner Drivers BĆ30 NPCP Printer Drivers BĆ30 IrDA Printer Drivers BĆ30 PEN KEY 6000 Series MemoryĆSizing Guidelines BĆ30 All Systems BĆ30...

Page 13: ... States Digitizer 4Ć5 Table 4Ć6 Power States Pod 4Ć5 Table 4Ć7 Power States PC Card Slot 4Ć5 Table 4Ć8 Power States System 4Ć6 Table 4Ć9 Power States Backlight 4Ć6 Table 4Ć10 Power Management Event Codes 4Ć7 Table 4Ć11 Firmware Error Codes 4Ć9 Table 5Ć1 TTY Protocol Errors 5Ć12 Table 5Ć2 NPCP Protocol Errors 5Ć12 Table 5Ć3 MININET Protocol Errors 5Ć13 Table 5Ć4 NRInet Protocol Errors 5Ć14 Table 5Ć...

Page 14: ...CONTENTS xii PEN KEYR 6100 Computer Programmer s Reference Guide ...

Page 15: ...d assistance in developing applications for your 6100 Computer There is also a detailed list of the steps needed for access to the Intermec BBS The Contents just previous to this section and the individual Topic Summaries in each section in this publication could be useful in assisting you in your search for information in this book For example the Topic Summary in the Supporting DOS Applications ...

Page 16: ...mation Obviously some of you are already familĆ iar with finding information in previous editions this may cause you some grief However please take time to become familiar with the new organization These changes are based on input from readers and for the most part were implementĆ ed to make the task of locating information easier for the reader Unfortunately we made these changes in several steps...

Page 17: ...firm that informaĆ tion was hard to find Sample Configuration Files This information is removed from the Getting Started section and relocated to Appendix A because it constitutes information to which statements in several different paragraphs need to refer It also simplified the task of updating this information with each new edition Common 6000 Series Information This information is collected fr...

Page 18: ...em and boot process Reference Open Systems Publications includes a list of publications which are referenced from other places within this document or that may be useful for developing applications for the 6100 Computer Appendix A Sample Configuration Files provides examples of configĆ uration files for your 6100 Computer Appendix B Common PEN KEY 6000 Series Information contains information that ...

Page 19: ...DOS Pen Driver Supporting DOS Applications 61PODSCN EXE DOS Scanner Supporting DOS Applications 61SCAN DRV Integrated Scanner Supporting Windows Applications BOOTDRV COM Other NORAND Software Getting Started CALIB EXE Other NORAND Software Getting Started 6100DISP DRV Other NORAND Software Getting Started CRC32 EXE Tool Kit for the 6100 Computer Getting Started DELAY EXE Other NORAND Software Gett...

Page 20: ...e Description column of this table Customer Support Factory Service If your unit is faulty you can ship it to the nearest authorized Service Center for factoryĆquality service Customer Support Center The Intermec Customer Support Center technical support telephone number is 800Ć755Ć5505 U S A or Canada or 425Ć356Ć1799 The facsimile number is 425Ć356Ć1688 Email is support intermec com If you email ...

Page 21: ...e and documentation Phone number 319Ć369Ć3515 14 4 Kbps modem 319Ć369Ć3516 28 8 Kbps modem Protocol Full duplex ANSI or ANSIĆBBS 300 to 28 800 bps v 32bis 8 bits no parity 1 stop bit For highĆspeed modems disable XON XOFF and enable RTS CTS This is the same location available via the web site If your web access uses highĆspeed phone lines the web interface provides a faster response PREFACE ...

Page 22: ...Preface 8 PEN KEYR 6100 Computer Programmer s Reference Guide PREFACE ...

Page 23: ... 1Ć4 Tips for Getting Started 1Ć6 System Configuration 1Ć6 Reprogramming Flash Memory 1Ć7 procedures for updating current flash version a description of an INTERLNK session and creating a custom flash Development Environments 1Ć11 environments available for developing applications and some brief descriptions of applications supported for the 6000 Series computers Setup for PC Development 1Ć16 step...

Page 24: ...g pieces that work well together especially when you are working in the areas of communications and interfaces If you have DOS and or Windows programming experience you will quickly feel comfortable with the PEN KEY 6100 platform Introduction to the 6100 Computer From the viewpoint of an application the 6100 Computer is like other PCs 386 33 MHz with some exceptions as described below How the Hard...

Page 25: ...talled The Main Battery is used even in suspend mode to maintain RAM RTC and CMOS settings When the terminal is off charge the Main Battery also supplies any needed charge to the Backup Battery The Backup Battery is for emergencies only The Backup Battery should not be relied upon for extended periods to support the system with no Main Battery A unit with functioning Main and Backup Batteries can ...

Page 26: ...s Keep the System Environment in Mind The 6100 system environment should be kept in mind while writing applications for it The 6100 Computer has no external keyboard port uses a flash memory file system and has a builtĆin VGA viewing screen Applications programmers need to remember the constraints listed previously and the flash file system is usually kept writeĆprotected to prevent overwriting Th...

Page 27: ...g files are posĆ sible And in some cases this requires substitution of the appropriate drive letĆ ter in place of D for the RAM drive File Integrity Verification Utility CRC32 EXE The Tool Kit contains a utility CRC32 EXE for verifying the integrity of the files provided on the Tool Kit diskettes CRC32 EXE calculates a 32Ćbit CRC value for a file This value may then be compared with the factory CR...

Page 28: ... remembering that the devices can be moved about as required by different configurations The PC Card slots can accept nonvolatile SRAM flash hard disk devices RF devices radio or land modems and other devices 7 Keep in mind the general system design of the penĆoriented 6100 ComputĆ er flash memory file system builtĆin CGA screen and keyboard etc 8 There are some files listed in this publication th...

Page 29: ...mming or reflashing Updating to Flash Version 1 16 or Later If you have a flash version older than 1 16 it is highly recommended that you obtain an upgrade to the latest version of flash A selfĆextracting executable archive file found in the Tool Kit contains the entire flash load Run this executable from a temporary directory on a desktop PC AfĆ ter running the executable a file is produced that ...

Page 30: ...d A PC Card reader writer adapter drive for a standard PC together with the associated software or a PC that can access PC Cards A standard PC for use with the PC Card reader writer or a PC that can acĆ cess PC Cards If the card drive is an external unit you can use a laptop or notebook computer The PROG BAT utility and the 61FL1000 BIN Creating a Master Mode Boot IFL Card Use the PROG BAT utility...

Page 31: ...g a Custom Flash If necessary to create a custom flash for an application a flash customization utility is available Use the following procedure to create the custom flash 1 Obtain the flash customization utility from the BBS 6100 forum If you do not have access to this contact your field technical support person to forĆ ward it on to you This is a zip file that has the file structure of the flash...

Page 32: ... switches below BOOTSEC pathname Specifies the pathname of a binary file used to define the logical boot sector If this switch is not specified a DOS 5 0 compatible boot sector with English error messages is supplied DATE mm dd yy yy When this switch is used all files and subdirectories have their datestamp set to the supplied value This switch does not affect the corresponding timestamp If this s...

Page 33: ...ge When a subdirectory name is supplied the entire subdirectory tree is added to the image All format parameters specified after a pathname are ignored Note that the only way to create a subdirectory is to add a subdirectory that has children subdirectories a final comment DOS environment variables can be used either on the command line or within an argument filename simply by enclosing the enviro...

Page 34: ...t 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 For an example of setting up PenPal DOS refer to the Setups for Third P...

Page 35: ...r enabling the Pen Extensions are provided in the Tool Kit Standard and Enhanced modes for Windows are discussed the in Memory OverĆ view topic in Appendix B Common PEN KEY 6000 Series Information Contact your Intermec sales representative to order software and manuals Any of the following handwriter recognition packages can be ordered Manufacturer Communication Intelligence Corp CIC Software Hand...

Page 36: ...subĆkeyboard A file INI configures the keyboard The keyboard kit contains default INI files for several of the PEN KEY 6000 Series Computers including the 6100 Computer The keyboard automatically creates the proper number of tabs based upon the contents of the INI file The legends that appear on the tabs are userĆdefined The tabbed notebook metaphor permits a large complex keyboard to be subdiĆ vi...

Page 37: ...a DLLs or VBXs Other Environments Obviously any development environment that runs on the aforementioned operĆ ating systems may potentially be used to develop software for the 6100 ComputĆ er However not all of the development environments will necessarily work as well nor are they recommended This is mainly because of size and speed limiĆ tations of the 6100 Computer Some Screen Considerations So...

Page 38: ...e any of the APIs that are provided for you 3 The 6100 Computer uses a 33 MHz 386 processor Test the performance of your application on a comparable computer NOTE 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 The following steps outline a g...

Page 39: ... INTERSVR For a complete description of navigating the screens in the Norand Utilities program refer to the PEN KEY Model 6100 User s Guide 11 Prepare the CONFIG SYS and AUTOEXEC BAT files for initial program load For an example CONFIG SYS file or an example AUTOEXEC BAT file refer to Appendix A Sample Configuration Files At a minimum the CONFIG SYS file needs the following lines device d elanapm ...

Page 40: ...t NORAND Card and Socket Services ELANCSSS EXE Support for the AMD ELAN PC card accessory card controller is provided via the NORAND Card and Socket services product ELANCSSS EXE This product is configured integrated and tested in the 6100 Computer and supports ATA and COM cards on the 6100 Computer It is used in conjunction with PC card device drivers that use card services For a listing of the f...

Page 41: ... If you select the option to format an SRAM card when an ATA card is actually in the slot you will get an Error code 4 invalid media NORAND PC Card Files The following list contains a brief description of each of the files in the integrated and tested distribution Table 1Ć1 NORAND Card and Socket Files File Description ATABIOS SYS A PC card device driver It identifies and configures cards with a d...

Page 42: ...iguration of the PC Card slot adapter and card on card insertion detection Also frees allocated system resources upon detection of card removal CARDINFO EXE helps diagnose problems with cards by verifying if the card is recognized It is a DOS utility that scans the PC Card slots on the system and lists information about the cards in the slots It also lists any warnings or error messages that may h...

Page 43: ...st copy the new CONFIG SYS file to the RAM drive and reboot from the RAM drive Any drivers specified in the new CONFIG SYS that are not in the flash must also be copied to the RAM drive To access a SanDisk card loaded with Stacker from a laptop computer that supĆ ports PC Cards you must do one of two things Install the Stacker device driver on the laptop This is done by running SINSTALL from the S...

Page 44: ...t assumes that MSĆDOS is located in the C DOS directory on your host PC The DRIVES 4 parameter allows mapping of four drives from your 6100 Computer This statement should be inserted at the end of the CONFIG SYS file after any other statement that creates a drive letter After rebooting your host PC you can copy the application files to the 6100 ComĆ puter with INTERLNK NOTE If you are running Wind...

Page 45: ...s a RAM Drive on the computer This RAM drive is a block of system memory that is treated as DOS drive C The data stored on the RAM drive is maintained as long as power is supplied to the system and the drive is not reformatted When a RAM drive is created this results in less extended memory available for programs No additional conventional memory is required for the RAM drive Because this support ...

Page 46: ...48 which creates a 2 MB RAM drive When processing RAMDFMT CTL if RAMDFMT EXE cannot be executed or returns an error the communication session fails with error F 0 Also if the parameters in RAMDFMT CTL cause the RAM drive to be removed such as s0 the communication session fails with error F 0 Norand Utilities and Communications Norand Utilities For a description of the Norand Utilities refer to tha...

Page 47: ...include file 1 Create a download include file as described in the preceding paragraphs 2 Create either Boot Disk if necessary 4920 Boot Disk The only file on a 4920 Boot Disk is a download include file The include file is copied to the DOWNLOAD subdirectory of the 4920 4980 Boot Disk Be aware there is limited space on the 4980 System Place the 4980 System Files on the 4980 Boot Disk in the same wa...

Page 48: ...pported on many TCP IP servers 1 A TFTPD service must be running on a TCP IP server 2 Optionally configure a DHCP server to provide information required by the handĆheld computer IP addresses of the client router and subnet mask Any information not provided must be entered manually on the computer A DHCP server can also provide a domain name and IP addresses of domain name servers which allows the...

Page 49: ...rds on the 6100 Computer FONTSEL EXE NORAND DOS font selection utility used with VROTATE IRDAPDRV EXE DOS IrDA Printer driver NORATA SYS NORAND ATA card support such as SanDisk NORDOSPM EXE NORAND DOS APM driver NORMOD SYS NORAND PC Card modem support PC4800 SYS Standard DOS 4800 Series Printer driver PRDRV SYS DOS IrDA Printer driver VROTATE EXE DOS portrait mode display driver text only Windows ...

Page 50: ...rdospm exe CALIB EXE DOS Pen Calibration This is a DOS penĆcalibration utility For more information refer to the NORAND DOS Pen Driver paragraph in the Supporting DOS Applications section PENALIGN EXE Windows Pen Calibration This is a Windows penĆcalibration utility For more information refer to the NORAND Windows Pen Driver paragraph in the Supporting Windows ApplicaĆ tions section DOS Batch File...

Page 51: ...sor positioned immediately following the last character displayed do not supply the trailing quote To simply disĆ play a message without waiting for either a timeĆout or a key press specify a delay timeĆout of zero 0 2 To force DELAY to exit after a period of time has elapsed even if no key has been pressed specify a nnnn switch on the command line anywhere even within quoted text The value of nnn...

Page 52: ...LEVEL 1 GOTO NoRamDrive IF NOT ERRORLEVEL 1 GOTO RamDrivePresent MMBFLAG COM Set Get ROM DOS Boot Flags This program satisfies a couple of batch file requirements The error level returned by MMBFLAG COM indicates the current value of the ROM DOS boot flags The boot flags keep track of the default boot drive and serve as an indicator of Master Mode Booting Supply a command parameter to change the d...

Page 53: ...EXE 2Ć3 configuration utility that sets APM options for the AMD ELAN processor DOS Pen Driver 61MOUSE COM 2Ć6 emulates the standard INT 33h mouse interface DOS Pen Calibration CALIB EXE 2Ć7 for calibration of the pen interface for the 6100 Computer DOS Scanner 61PODSCN EXE 61THRSCN EXE 2Ć8 provides support for collecting and passing scanned data to applications DOS NPCP Printing PC4800 SYS 2Ć10 st...

Page 54: ...ain power management settings at installation time Figure 2Ć1 below is a simplified diagram of Power Management Software NORDOSPM EXE ELANAPM BIOS Hardware The DOS power management driver The APM BIOS installation for DOS The system BIOS The 6100 Computer hardware Figure 2Ć1 Power Management Software Installation NORDOSPM EXE which is installed as a device driver in the CONFIG SYS file requires EL...

Page 55: ... and Sleep mode 0 timeĆout is disabled If any activity is detected during timeĆout period processor goes back to High speed PLL mode and timer is reset to zero For any other valid values timer is set En AC Power Activity Monitor Configures External power charge activity mask Valid values for n 0 and 1 0 processor does not count down or timeĆout when external charge is detected 1 processor continue...

Page 56: ...riod the processor goes back to High Speed PLL mode and the timer is reset to zero Mn COM4 Activity Monitor Configures Modem activity mask Valid values for n 0 and 1 0 count down timer continues during modem access 1 count down timer is reset to zero when modem activity is detected P UNUSED Rn Configures Ram drive access activity mask Valid values for n 0 and 1 0 count down timer continues during ...

Page 57: ...he unit at 60 seconds Ċ one way to configure this is as follows elancfg exe H10 l20 d30 This keeps the 6100 Computer operating at High speed for 10 seconds Then if no activity is perceived at 11 seconds it switches to Low speed for 20 seconds Then if there is still no activity perceived after that 20 seconds it switches to Doze and the backlight turns off Finally after 30 seconds has passed the un...

Page 58: ...NT 33 see the Reference Open Systems PublicaĆ tions section for ordering information Installation Ensure the following files are located in the root directory on the 6100 Computer File Directory ELANAPM EXE root 61MOUSE COM root CALIB EXE root The pen driver installs as a TSR as a result of placing the following statement in the AUTOEXEC BAT file 61MOUSE COM If the drive and directory for this dri...

Page 59: ...Files for BGI driver information Usage CALIB EXE begins the calibration process by placing one of four targets at a fixed location on the screen and waits for the user to press the pen at the center of the target three times It is important during this process to apply moderate pressure while pressing the target Lightly tapping or placing too much pressure generates incorrect results The unit beep...

Page 60: ... is no way to reprogram a key as a trigger Does not display anything on the screen Can be used if you need a fully decoded RSĆ232 scanner 61PODSCN is generally installed from AUTOEXEC BAT by this statement 61PODSCN option value The program must be installed after the CardSoft drivers and TSRs are installed if they are used and after ELANAPM EXE is installed Also if CardSoft drivĆ ers and TSRs are ...

Page 61: ...B key On Power off delay where n is the number of seconds from release of the trigger to the time power is removed from the scanner PLN Use the PLN API interface RESET Resets scanner configuration to the factory default on start up SCANBIOS Use the SCANBIOS API interface Usage The DOS scanner uses command line switches to drive the desired functions For example 61PODSCN E A2 K16 where ćE enables t...

Page 62: ...alues are 1 COM1 2 COM2 etc The default is COM1 in This switch enables support for the interrupt 17h interface This is needed for PL N applications n is a digit that specifies the LPT port that accesses the device For exĆ ample I1 indicates that interrupt 17h calls for LPT1 are intended for this device drivĆ er Note The interface provided is not 100 percent PCĆcompatible It is intended only to sup...

Page 63: ...of bytes specified in register CX when the ioctl call is made The first byte of the reĆ turned data represents any error encountered during the call If the call was successful this byte is set to zero If the call was unsuccessful this byte repreĆ sents the extended error The format of the rest of the data is described in the documentation for the printer being communicated with Notes The printer d...

Page 64: ...er write byte count is sent with the IrLMP protocol header inĆ serted without any attempt at local coalescence ioctl this processing is specific to Intermec Technologies Corporation and is intended to support printĆ ing applications A printing program may hook the DOS INT 24 critical error interrupt and then call the driver s ioctl directly using the information provided by INT 24 The driver reĆ s...

Page 65: ...gement failure the system did not receive an IrLMP control frame from the remote device after the IrLAP link session was established 64 NOT_LINK_MANAGEMENT_CONNECT_CONFIRM open failure link management failure the system did not receive an IrLMP connect confirm frame from the remote device after the IrLAP link session was established 65 RECEIVE_FRAME_FAILURE open failure link management failure the...

Page 66: ...l a command line example a list of the availĆ able switches and brief descriptions of each NOTE 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 bn REMOVES a baud rate from consideration for data transf...

Page 67: ... 500 milliseconds to bring the system within range of the printer for data transfer discovery The default is 2 retries ts identifies the 6100 Computer as the IrDAĆequipped system on which the driver is running The required string is 6100 x specifies that the driver should disable interrupts not in the open state This implies that the core is not discoverable and connectable and therefore cannot pe...

Page 68: ...SECTION 2 Supporting DOS Applications 2 16 PEN KEYR 6100 Computer Programmer s Reference Guide 2 DOS Applications ...

Page 69: ...ned for the 6100 Computer Topic Summary Topic Page NORAND Minimal Windows Installation 3Ć2 Normal Startup Standard Mode DOSX EXE Startup Windows Components NORAND Shell for Windows NORSHELL EXE 3Ć5 Windows Power Management Driver NORWINPM DRV VPOWERD 386 3Ć6 Standard APM Event Codes Windows Pen Driver UCLKPEN DRV 3Ć15 Hardware Interface Digitizer Calibration Display Orientation SYSTEM INI Configur...

Page 70: ... Modes The Windows 3 1 minimal configuration is shipped with all the files necessary for operating Windows in both Standard and Enhanced modes Where possible you should run Windows in Standard mode Standard mode can be configured into a much smaller footprint and can provide better performance You can start StanĆ dard mode by using the s option when running WIN COM For more informaĆ tion on files ...

Page 71: ...marked Optional may be deleted from the conĆ figuration if the running applications do not need them Table 3Ć1 Windows Startup and Shell Programs Component Description WIN COM DOS program that launches Windows Optional WINTITLE RLE Default desktop wallpaper Displays Windows 3 1 logo Optional NORSHELL EXE Norand shell program Optional WINFILE EXE Windows File Manager shell launched by NORSHELL EXE ...

Page 72: ...RV DRV Windows 3 1 universal printer driver Used by NOR4800 DRV Required only if NOR4800 DRV for NPCP printing is used Required Table 3Ć6 Windows Installable Device Drivers Component Description SYSTEM NORWINPM DRV Windows Advanced Power Management APM driver for 6100 Computer Provides interface to power management and system control hardware Requires APM BIOS ELANAPM EXE Required SYSTEM UCLKPEN D...

Page 73: ...XE which must be loaded in all Windows configurations provides a method for launching multiple applications when Windows starts this is funcĆ tionality that is similar to that provided by the standard Windows shells ProĆ gram Manager and File Manager Installation To install NORSHELL EXE as the Windows shell program edit the shell line in SYSTEM INI as shown in the following example shell norshell ...

Page 74: ...exe calc exe The following example WIN INI file launches the Windows File Manager shell application which launches the clock and calculator in turn WINDOWS NorShellRun WINFILE EXE run clock exe calc exe Shutting Down Windows Windows shuts down automatically whenever the shell program exits However because NORSHELL does not exit in that sense it shuts Windows down whenĆ ever it detects that the app...

Page 75: ...t needs to be The significant drivers here are power and pen These are merely token names for the drivers The actual driver names are specified in the following drivers section of the SYSTEM INI file drivers power norwinpm drv pen uclkpen drv 386 enh device vpowerd 386 where power tells Windows the actual name of the installable Power Management driver named in the boot section of the SYSTEM INI f...

Page 76: ...ry enables the Power Miser by setting this entry to 1 The power miser can increase battery life when running an application that does not allow the Windows kernel to idle It does this by forcing the Windows kernel to idle at apĆ propriate times If the busy bar on the fuel gauge icon is always topped out try enabling this entry The Miser can be somewhat invasive so the best apĆ proach is to impleme...

Page 77: ...he messages from the levels below it Value Description 0 No Warnings or Debug Messages appropriate when an application wants to control the timing and presentation of power management event notification The application would catch the WM_POWER messages broadcast by NORWINPM DRV and deal with them accordingly 1 Warnings only display dialogs for APM warnings such as battery status See MsgRepeatMinut...

Page 78: ...o the value of 2 or higher They are inĆ tended for power management debugging See the Standard APM Event Codes paragraph on page 3Ć13 for descriptions of APM event codes APM Event Hex APM Event ID APM OEM Event Hex OEM Event ID Fuel Gauge Display The NORWINPM DRV fuel gauge icon depicted below shows all of the possible elements The battery on right side of gauge displays the charge level When it i...

Page 79: ...components are placed into a low power state until the next hardware interrupt occurs The sysĆ tem then returns to full speed to process the interrupt and any Windows events created by the interrupt When an application is idle 95 of CPU current can usually be saved Power Management by Windows Applications Windows applications can benefit from system power management because it frees up the Windows...

Page 80: ...nd tasks As mentioned above USERSUSPEND requests can also be failed but the application should inform the user about this type of action otherwise the user may think that the system is locked up since the Suspend Resume button does not work and might reset the system or take some other drastic measure APM Event Broadcasts The APM BIOS specification defines event codes for various power management ...

Page 81: ...ce none of them has this entry point Standard APM Event Codes These are the most common APM event codes defined and is described in the Intel Microsoft APM Specification versions 1 0 and 1 1 There are additional events but these are the ones typically handled by drivers and applications Events marked 1 1 are only valid in APM 1 1 and may not be present on open systems that only implement 1 0 event...

Page 82: ...ey see any of the resume events CRITICALSUSPEND Critical System Suspend Notification This event is never broadcast NORWINPM DRV immediately suspends the sysĆ tem when it receives it and broadcasts a CRITICALRESUME event upon resumĆ ing CRITICALRESUME Critical Resume System Notification The system was suspended without sending a notification broadcast in advance This event is usually caused by a po...

Page 83: ...g recognition should simply treat the pen as a mouse Mouse input is quite adequate for pointing and drawing tasks such as signature capture Microsoft Windows for Pen Computing requires additional storage and processing resources therefore it should be used when handwriting recognition is a requirement Installation Place the files in the following directories File Directory PENALIGN EXE WINDOWS NOR...

Page 84: ...M INI file in Appendix A Sample Configuration Files for further details on how to configure the Windows Pen driver Hardware Interface These entries in the SYSTEM INI file initialize the hardware interface for the PEN KEY 6000 Series Computer Unless otherwise specified any of these entries used should go into the pen drivĆ er section of the SYSTEM INI file Most of these hardware interfaces default ...

Page 85: ...er section of the SYSTEM INI file Most of these hardware interfaces deĆ fault to the values needed for the PEN KEY 6000 Series Computer and should not need to be set Note the required values cxRawWidth Valid values 0 to 32767 Default value 4500 This entry sets the physical width of the digitizer in thousandths of an inch in the display s native nonĆrotated hardware orientation The default value sh...

Page 86: ...tizer to the screen display The Pen driver must take into acĆ count any rotation of the screen display as well as additional rotational offset of the digitizer relative to the display The calibration values given above are swapped and flipped to match the final user orientation of the digitizer Unless otherwise specified any of these entries used should go into the pen drivĆ er section of the SYST...

Page 87: ...ing recognition 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 PENALIGN EXE is the Windows penĆcalibration utility with no parameters There are two screens the first prompts to tap three times in marked scree...

Page 88: ...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 Required PENWIN INI Entries This is a sample PENWIN INI file to use with Windows 3 1 on a 6100 Computer Current User User 1 InkWidth 1 InkColor 0 SelectTimeout 500 User 1 Try...

Page 89: ... an application boot drivers power irda pen penwindows scanner npcp where drivers tells Windows to load the installable drivers This list of drivers is the standard driver list in the order that it needs to be The significant driver here is scanner This is just a token name for the driver The actual driver name is specified in the following drivers section of the SYSTEM INI file drivers scanner 61...

Page 90: ...ions is not allowed This option uses more power DisplayScanningDataDialog Controls whether or not the Scanning Data diaĆ log is displayed when the trigger is pulled Valid values are TRUE and FALSE ShowWindowOnLoad Controls whether or not the scanner window icon is disĆ played on the screen If this is FALSE it is not possible to get to the scanner window Valid values are TRUE and FALSE EnableScanCo...

Page 91: ...ng for Windows NOR4800 DRV UNIDRV DLL NPCP printing support under Windows consists of DOS device driver NORNPCP SYS a DOS TSR NORPAPI EXE and Windows printer driver NOR4800 DRV UNIDRV DLL These device drivers work together to provide transparent NPCP printing Applications use the standard Windows printing API StartDoc EndDoc etc to print to a printer set up for LPT1 DOS output Installation Place t...

Page 92: ...ivers section of the SYSTEM INI file drivers npcp nornpcp drv npcp tells Windows the actual name of the installable driver named in the boot section of the SYSTEM INI file listed above NPCP Driver PrtPort 0 deviceName LPT1 CommAddress 0x318 CommVector 0x0C FIFODepth 16 PrtPort PrtPort specifies the printer port to use 0 LPT1 1 LPT2 2 LPT3 This option must match the options set in the CONFIG SYS fi...

Page 93: ...c to complete the printing operation AbortDoc can cancel a job GDI cleans things up if possible 9 Free the instance of your abort procedure using FreeProcInstance Refer to the Windows SDK manual for more API information Default Error Handling Mode Once the drivers are loaded as defined above no special processing by the apĆ plication is needed This makes it possible for offĆtheĆshelf packages to t...

Page 94: ...able printer services Printer Services API The NPCP printer driver includes an Applications Program Interface API to provide access to the features of the NPCP driver that are not available through the standard Windows API Retrieving the API Entry Point PrtService To use the API the application must first obtain the entry point for the PrtService procedure as described in the following code fragme...

Page 95: ...RT 0x0003 lParam1 should be the value of the option you want to check lParam2 should be 0 Install Remove External Error handler Installs or removes the applicaĆ tions error handler wOpt should be PRT_SETPROC 0x0010 lParam1 should be far pointer to your error handling procedure A value of 0 removes the handler Call MakeProcInstance to obtain the value lParam2 should be 0 Flush Driver Flushes all th...

Page 96: ...inted on the bottom inch of the page or if the information is not critical Ask the user to determine whether the page is correct 4 Use PRT_REVERSE to rewind the paper back into the printer the same number of lines used in step 3 assuming the paper is advanced in step 3 This moves the print position to the top of the form 5 Use PRT_REVERSE to rewind the paper back into the printer to get to the spo...

Page 97: ...LF Frame Too Long Frame was too long 210 BINDERR Bind Error Invalid bind sequence 221 IPLDUR Invalid PLDU Invalid Presentation Layer Data Unit 222 227 see below see below Messages for DATA WAS RCVD 242 247 see below see below Messages for DATA WAS LOST 255 DEVERR Device Error A device error occurred XXX Unknown Error Unrecognized error occurred The following messages are applicable when DATA WAS R...

Page 98: ...Printer NOR6805 LPT2 DOS where spooler tells Windows not to use Print Manager to spool printing DosPrint no tells Windows not to print directly to the printer port device IrDA Printer NOR6805 LPT2 DOS specifies the default printer for WinĆ dows The following section of the WIN INI file are necessary to set up the paper paĆ rameters for the printer NORAND 6805 LPT2 DOS PaperSize 256 SizeUnit 1 Pape...

Page 99: ... that there is a printer named IrDA Printer that uses the NOR6805 printer driver to print using the DOS deĆ vice LPT2 This section is included for compatibility with older Windows applicaĆ tions and should match the entry in the PrinterPorts section of the WIN INI file listed previously Required SYSTEM INI Entries boot drivers power irda pen penwindows scanner npcp where drivers tells Windows to l...

Page 100: ... 200 to 500 Setting a lower value may disrupt graphics printing resulting in garbled output to printer Usage Default Error Handling Mode Once the drivers are loaded as defined in the preceding paragraphs no special processing by the application is needed This makes it possible for offĆtheĆshelf packages to take advantage of the IrDA protocol In this mode all printerĆreĆ lated errors are handled by...

Page 101: ...he PrtSer vice procedure as described in the following code fragment hInstNorPrnt LoadLibrary NORIRDA DRV if hInstNorPrnt HINSTANCE_ERROR MessageBox NULL Could not open printer driver ERROR MB_OK MB_ICONEXCLAMATION return FALSE lpfnPrtService fpPrtService GetProcAddress hInstNorPrnt PrtService if lpfnPrtService NULL MessageBox NULL Unable to get address for nPrtService ERROR MB_OK MB_ICONEXCLAMATI...

Page 102: ...ll MakeProcInstance to get the value lParam2 should be set to 0 Flush Driver Flushes all the data buffers so that everything sent to the printer actually gets printed wOpt should be set to PRT_FLUSH 0x0020 lParam1 should be set to 0 lParam2 should be set to 0 Error Codes and Messages As pointed out in the topic Default ErrorĆHandling Mode the IrDA printer driver can provide the error handler and t...

Page 103: ... Definitions 4Ć4 Table 4Ć2 Power States Display 4Ć4 Table 4Ć10 Power Management Event Codes 4Ć7 Table 4Ć11 Firmware Error Codes 4Ć9 Power Management BIOS ELANAPM EXE Overview ELANAPM EXE is the APM BIOS The APM system consists of one or more layĆ ers of software The APM BIOS resides at the lowest layer To provide portability at the higher layers of the APM system ELANAPM EXE an installable DOS dev...

Page 104: ...hree default system power states Ready full on Idle APM suspend The primary difference between states is the latency needed for the system to reach full operation Power consumption and performance are greatest in the Ready state and decrease with each succeeding state System Ready is the default mode when the system is not engaged in power management System Idle is the first level of power managem...

Page 105: ...System Suspend to be reset when activity occurs on the masked device OEM APM functions Set Device Activity Mask and Get Device Activity Mask are provided for this purpose Functions that affect system power states are CPU IDLE CPU BUSY and SysĆ tem Suspend System Suspend is invoked by the Set Power State function for deĆ vice 0001h APM Drivers or APMĆaware applications may make these function calls...

Page 106: ...is functionality during Suspend These drivers or applications take sole responsibility for device power management during SusĆ pend This feature allows system devices the operating system or application to tell the BIOS to stop power managing a particular device after which operatingĆ systemĆspecific drivers or applications for that device may directly take over powĆ er management Devices may be r...

Page 107: ...abled STANDBY If both RSĆ232 and RSĆ485 are disabled the UART CLOCK is turned off If RSĆ232 is off the RSĆ232 transceiver is turned off SUSPEND Same as STANDBY OFF Same as STANDBY Table 4Ć5 Power States Digitizer Power State Description READY The digitizer is placed in its fullĆpower state STANDBY The digitizer is placed in hardware suspend state SUSPEND Same as STANDBY OFF Same as STANDBY Table 4...

Page 108: ...s an interface between the APM BIOS and APMĆaware applications When the interface between the APM BIOS and device driver is established the APM driver receives powerĆrelated events from the APM BIOS which the driver in turn broadcasts to APMĆaware applications The APM Installation Check function determines whether ELANAPM EXE is present in the system the version of APM that ELANAPM EXE supports an...

Page 109: ... RESUME key after a normal System Suspend has ocĆ curred The APM driver must update the time from the realĆtime clock when it receives this notification and notify APMĆaware applications of the event The applications are then responsible for preparing devices for use Critical Resume System Notification indicates that a Critical Resume System operation occurred The APM driver updates the time from ...

Page 110: ... suspend The BIOS does not enter the suspend state on its own unless BIOS power management has been enabled via the EnĆ able Disable Power Management call APM Include Files APMEVENT H APMEVENT H is a C include file that defines APM 1 1 event codes for BIOS DOS and Windows APM 1 1 BIOS event codes These codes are broadcast to DOS TSRs by the APM OS Driver Windows APM 1 1 event codes These events ar...

Page 111: ... Interface Connect APM Protect Mode 32Ćbit Interface Connect APM Real Mode Interface Connect 08 32Ćbit protected mode interface not supported APM Protect Mode 32Ćbit Interface Connect 09 Unrecognized device ID APM Installation Check APM Interface Disconnect APM Protect Mode 16Ćbit Interface Connect APM Protect Mode 32Ćbit Interface Connect APM Real Mode Interface Connect Enable Disable Device Powe...

Page 112: ...SECTION 4 Power Management 4 10 PEN KEYR 6100 Computer Programmer s Reference Guide 4 Power Management ...

Page 113: ...RSVR 5Ć2 NORAND Utilities PSROM0C EXE 5Ć2 TCOM Session Overview 5Ć4 Example Control File for TTY 5Ć9 Example Control File for NPCP 5Ć9 Upload Control File 5Ć9 Communications Log File 5Ć11 Protocol Errors 5Ć12 Serial Communications 5Ć15 Serial Ports 5Ć15 Option Connector 5Ć15 Serial Lid Installation 5Ć15 IrDA Communications 5Ć16 6000 Series LAN Communications 5Ć16 Device Support 6100 Display 5Ć16 D...

Page 114: ...ystem Setup Requirements To use PSROM0C EXE the file NRTCMERR TBL must exist in the current working directory or in the PATH When using PSROM0C EXE Ver 2 00 or later if the application uses CardSoft device drivers to access PC Cards it must reassign the drive letters A and B For example ASSIGN COM A E B F NPCP To use NPCP you must load the program MININET EXE You can install this program by insert...

Page 115: ...order for NRInet sessions to work correctly NRInet Using PSROM0C Version 2 xx To use the NRInet protocol the PATH must include the directories of the following drivers which are loaded and unloaded by PSROM0C EXE BOOTP EXE DHCP EXE ETHDRV EXE INET EXE LSL COM ODIPKT COM RS485ODI COM BOOTP EXE and DHCP EXE are required only if IP information is to be retrieved from a BOOTP server or a DHCP server a...

Page 116: ...r If the application uses the Ethernet adapter outside of PSROM0C EXE it is recommended to unload the Ethernet drivers before calling PSROM0C EXE then reload them afterwards TCOM Session Overview Under the NORAND standard file transfer session the HHC always uploads first Once all upload files are sent the line is turned around and the host then sends any download files Each file is preceded by a ...

Page 117: ...e downloaded NOTE The download request file must be the first or second file sent Otherwise it is not treated as a special file by the host The format of the download request file is as follows DDWNLRQnnnnnX016 filename1 filename2 where Beginning of file header D File type fixed DWNLRQ File name fixed nnnnn Decimal number of records in file X Data type X for character 016 Decimal number of bytes i...

Page 118: ... terminator N A Marks the beginning of a repeated field descripter sequence The field length is the number of repetitions of the sequence For example the sequence B002X004B002X004 can be written as 002B002X004 000 002 marks the beginning of a pattern repeating twice 000 marks its end N A Marks the end of a repeated sequence begun with a nnn descripter Field length is the number of repetitions of t...

Page 119: ...raph page 5Ć11 COM Valid only if twoĆway TTY protocol is specified It indicates the COM port to use for twoĆway TTY communications Any value can be supplied valid values are determined by the application such as the DOS power management driver that utilizes this parameter Example COM 4 Default value 1 COM1 CONFIG This is a modem command string to configure a HayesĆcompatible modem Example CONFIG A...

Page 120: ... MODEMTYPE 1 Valid Values 0 No modem i e direct connect default 1 NORAND modem or other HayesĆcompatible modem NETMASK Supported in PSROM0C V3 xx only This is the local subnet mask and is required if IPLCIENT is specified ExamĆ ple NETMASK 255 255 240 0 NPCPHOST NPCP host name Valid values NORAND_HOST NORAND_SERVER PARITY Valid only if twoĆway TTY protocol was specified Example PARITY 2 Valid valu...

Page 121: ...ecord precedes the files subsequently specified in FILE parameĆ ters This header record provides the host information on data formatting If the header parameter is omitted or blank the files subsequently specified are transferred as is That is no header precedes the file Any header information is assumed to be embedded in the file itself When you specify the binary file descriptor DOSFIL you do no...

Page 122: ...AT N012X016N004 FILE The name of an upload file Files are uploaded according to the preceding header information Multiple FILE parameters may follow a single HEADER parameĆ ter if the header applies to all the specified files Example FILE BYPRD DAT Minimum NRUPLD CTL At a minimum the NRUPLD CTL file must specify a session control file as deĆ scribed earlier HEADER DSCNTRL00001X042 FILE SCNTRL DAT ...

Page 123: ... that a file download was attempted where nnn error code Example DOWN C CUST DAT 23 Valid Values 0 indicates a successful download ENDS x m n Indicates the end of a TCOM session where x Session status It is a single character code m Stage of the communications session n Protocol error code The following table shows the valid character codes for x This is the returned value from the application PSR...

Page 124: ...r 107 Block check error 108 Block framing error 109 Control character error 2xx Modem error xx is Hayes response code or programĆdefined code 03 No carrier 04 Command not recognized 06 No dial tone 07 Dialed number is busy 08 No answer 86 Error sending command to modem 87 Expected numeric response was not numeric 88 Invalid response format 89 No significant response from modem 97 System disabled C...

Page 125: ...ssion closed 111 Command canceled 113 Duplicate name in local name table 114 Name table is full 115 Name is deregistered command completed 117 Local session table full 118 Session open rejected 119 Invalid name number 120 No answer 121 Name not found 122 Name in use on remote adapter 123 Name deleted 124 Session ended abnormally 125 Name conflict 126 Incompatible remote device 133 Network interfac...

Page 126: ...nd domainĆnameĆserver in PCTCP INI For PSROM0C V3 XX verify the IPHOST NETMASK and ROUTER parameters 804 PSROM0C V2 XX only Could not create socket Check all cables and network connections 806 Block sent was incomplete or block received was incomplete 807 Client server negotiation failed 808 Server specified an unsupported block size 809 Invalid buffer pointer 810 All server connections are alread...

Page 127: ... is correctly attached to the 6100 Computer With the 6100 Computer in Suspend mode with no external charge attached and a properly charged and well operating Main Battery attaching this specific serial lid causes the unit to Power on or wake up from Suspend mode Thus you can verify proper installation If it does not Power on when the serial lid is attached then one or both of the following problem...

Page 128: ... to the 4000 Series Screen Emulation paragraph in the Conversions and Interfaces section of this publication Screen rotation is produced in the DOS graphics mode using the Borland BGI driver N6100 H and N6100 BGI Screen rotation is produced in Windows using the video driver 6100DISP DRV Docks and Modems Modem Device Driver NORMOD SYS NORMOD SYS is a PC Card card services client handling the identi...

Page 129: ...None No computer in dock or no power applied to dock The charge indicator is driven by a small processor in the dock When the comĆ puter is installed it sends charge status information over a two wire interface BCLK and BDAT to the dock processor The dock processor then turns on the indicator to show the user the state of the charge in the computer The dock processor does not control charge but is...

Page 130: ...scriptions 8 Pin Pin Signal Function 1 BCLK Battery Clock 2 Dock Pwr 12 Vdc Power to Dock from Terminal 3 GND Ground 4 BDAT Battery Data 5 TX Transmit for Serial Port 6 RX Receive for Serial Port 7 RTS Ready to Send 8 CTS Clear to Send 6100 Single Vehicle Dock 25 Pin Female D Sub Connector With screwĆin type retention posts like a PC connector For use with either RSĆ232 or RSĆ485 systems This conn...

Page 131: ... Refer to a book such as System BIOS for IBM PC s Compatibles and EISA Computers Second Edition Phoenix Technologies LTD for the scan codes make codes and break codes for a standard keyboard or Ralf Brown s Interrupt List Keyboard Definitions Logical Keyboard Alt Contrast Up Contrast Down Backlight Off On Home Page Up Up Arrow Page Down period Left Arrow Down Arrow Right Arrow Suspend Resume Backs...

Page 132: ...t for the Gold key The key numbers and scan codes for the keys on the 6100 Keyboard can be deĆ termined using the charts shown below Unshifted Keys Table 5Ć6 shows key numbers and associated scan codes for the unshifted keys Table 5Ć6 Unshifted Keys Key Number Keyboard Legend Scan Code 0 9 0Ah 1 8 09h 2 7 08h 3 Suspend Resume 70h 4 6 07h 5 5 06h 6 4 05h 7 Tab 0Fh 8 3 04h 9 2 03h 10 1 02h 11 Backsp...

Page 133: ...lationship between the Yellow Shifted key numbers and their physical locations on the keyboard 67 71 66 65 64 70 69 68 73 72 75 76 74 77 78 79 For additional information relating to using the scan codes in an application reĆ fer to the Standard Keyboard Interface topic in the Conversions and Interfaces section of this publication Remapping Keys for a Soft Reset The 6100 Computers provides the capa...

Page 134: ...s reĆ placed with the actual path to the INI file 4 Implementing the Soft Reset Simply hold down the entire bottom row of keys including the yellow shift key on the 6100 keypad and the system performs a soft reset Notice that after the modification there may be a potential for duplicate key asĆ signments such as Alt and Ctrl or missing key assignments such as End and Minus Assign or reassign keys ...

Page 135: ...ed memory to store its inforĆ mation So when you create a oneĆmegabyte RAM drive you are using one megabyte of Extended memory On a twoĆmegabyte 6100 Computer there is only one megabyte of Extended memory Therefore using up to 64K of HMA to load programs high takes away from the memory available for the RAM drive Using Expanded Memory on the 6100 Computer The only reason you should use Expanded me...

Page 136: ...ded memory to emulate upper memory The UMP is smaller and simpler than EMM386 Since EMM386 is a virtual mode system extension it also slows down processing as it handles special excepĆ tion interrupts that are required when providing virtual memory to DOS If you want upper memory and do not need expanded memory the UMP uses less sysĆ tem memory therefore making more memory available to the system ...

Page 137: ...and the Topic Summary The detailed interrupt list has been left out of those lists Several methods for locating the interrupts and their definitions have been provided as described below The Topic Summary on page 6Ć2 contains pointers to each of the major topics containing interfaces and converting 4000 Series applications for the 6100 Computer The List of Tables page 6Ć2 contains pointers to inte...

Page 138: ... VROTATE EXE Parameters and Command Line Switches 6Ć25 FONTSEL EXE Parameters and Command Line Switches 6Ć26 BMP Conversion Utility BMPUTIL 6Ć26 Locating 4000 Series Video Interrupts 6Ć27 ATA BIOS ATABIOS SYS 6Ć28 Standard Keyboard Interface INT 09h 6Ć28 Keyboard Services Interrupt 16h 6Ć87 The following tables provide additional assistance in locating interfaces List of Tables Paragraph Table Pag...

Page 139: ...0 Series Files on page 6Ć4 CATMAKE BAT Use IPLFMT EXE CATPREAM BIN DEXIO BIN Use PCĆDEXIO BIN FONTBUF COM FPNOP COM IO SYS ROM DOS 5 is loaded from flash MAXIĆDOS SYS ROM DOS 5 is loaded from flash MEMIO EXT XLMEMIO is not supported MINIĆDOS SYS ROM DOS 5 is loaded from flash MINIĆIO SYS ROM DOS 5 is loaded from flash MINIĆNET COM Use MININET EXE see New 6000 Series Files on page 6Ć4 NORĆANSI SYS ...

Page 140: ...mmits Refer to the PL N Application Changes topic on page 6Ć7 Refer to the sample CONFIG SYS listing in Appendix A Sample Configuration Files for an example of the CONFIG SYS as used in an application for the 6100 Computer Also refer to the ROM DOS 5 paragraph in the Reference System Information section for additional information CPLNI COM Do not use the d command line switch Do not delete driver ...

Page 141: ...e for download in a Norand communications session MININET EXE This program replaces the 4000 Series MINIĆNET COM on the PEN KEY 6000 Series platforms It provides the NET BIOS interface to the NPCP LAN Unchanged Files The following 6000 Series files have not changed from the 4000 Series File Comments CLKIO BIN DELETE COM HOSTIO BIN INT15 EXE For a PC only Do not run on a PEN KEY 6000 Series platfor...

Page 142: ... used by function 5d01h Only process_id and computer_id are used struct unsigned int ax unsigned int bx unsigned int cx unsigned int dx unsigned int si unsigned int di unsigned int ds unsigned int es unsigned int RESERVED unsigned int computer_id unsigned int process_id dos_parm dos_parm computer_id 0 set current computer dos_parm process_id getpsp set current process sregs ds FP_SEG dos_parm set ...

Page 143: ...PEN KEY 6000 Series which uses ROM DOS 5 Because of this and due to differing system software requirements some applications could encounter problems of insufficient memory Power Management For maximum battery life power to system components should be carefully managed Drivers provided in the 6100 Tool Kit such as PC4800 SYS and MININET EXE turn power on as needed but they restore power to its pre...

Page 144: ...IO to flush its buffers close and reopen these files AlterĆ natively replace all OUT statements with calls to the standard routine PZUFT1P which ensures that partial buffers are written correctly PRTIO The 4805 Endcap Printer is not supported on the PEN KEY 6000 Series platĆ form Remove references to PUTCTL 1047 PR_4805 as well as any other code that is specific to the 4805 Printer RCT printers e ...

Page 145: ...OUSE COM C CALIB EXE C VROTATE EXE 12 20 159 240 PLN LH D FONTSEL EXE 1 C PSEKM0C EXE KBDFILE DAT LH D DOSGAS EXE 25 1 u5000 C LH D ELANCFG EXE H12 L1 D4 V0 T2 R1 C0 LH D BKSP2DEL COM DPLNI COM PBRRR0P PL6 CONFIG PLN p w2 2 Use PCĆPRTIO BIN instead of PRTIO BIN A new PL N driver named PCĆPRTIO BIN supports the use of the IrDA drivers Use this instead of PRTIO BIN This driver can be found in PLN400...

Page 146: ...ormats used for the 6805 are the same as previous 40Ćcolumn printers However the 6805 requires fewer linefeeds to sufficiently eject a report Many applications feed eight lines at the end of a report on a 40ĆcolĆ umn printer Reduce this to five lines for a 6805 Printer Also reduce the number of linefeeds used prior to TICKET OK prompts This saves paĆ per and makes your reports look nicer Unsupport...

Page 147: ...agement BIOS Interfaces ELANAPM EXE Overview This paragraph describes the register interfaces to the APM BIOS functions Functions are accessed through INT 15h The carry flag is set and an error code is placed in the AH register when an error condition is detected The carry flag is reset to zero upon return from successful calls The contents of the AH regisĆ ter depend on the particular call This i...

Page 148: ...C Card socket B 0700 DFFF Reserved E000 EFFF OEMĆdefined power device IDs E000 POD1 E100 Digitizer E200 Backlight F000 FFFF Reserved APM Function Summary The following is a summary of the interrupt 15h functions that are available for Advanced Power Management APM in the 6100 Computer Table 6Ć1 APM Interrupt Summary INT DOS APM Interrupts INT 15h Function AL Requires Connection 15h APM Installatio...

Page 149: ...ribed in the paragraph The following paragraphs summarize the supported interrupts as well as the unsupported interrupts Only some of the 4000 Series BIOS interrupts are supported by the 6100 ComĆ puter as described in the following paragraphs Supported BIOS Interfaces There are two indexes provided for the details of the BIOS interface functions supported for the 6100 Computer To find an interrup...

Page 150: ...ndard VGA BIOS is provided The software interface to the display hardĆ ware is through function calls to the BIOS interrupt 10h The function number is placed in the AH register Other registers are loaded with the values required by the individual function and then the call to the interrupt is made Each indiĆ vidual function is described in detail in the following pages Equipment Determination Inte...

Page 151: ...signment of drive letters are deterĆ mined at system configuration The following is a list of the Error Codes Code Hex Description Code Hex Description 00 No error 0D Invalid number of sectors on format 01 Invalid function or parameter 0E Control data address mark detected 03 WriteĆprotect error 0F DMA arbitration level out of range 04 Sector not found 10 Uncorrectable ECC or CRC error 05 Reset fa...

Page 152: ...erence table page 6Ć28 for INT 15h System Reset function AX 5380h subfunction BH 1Dh Real Time Clock Interrupt 70h This interrupt handler controls the periodic and alarm interrupt functions from the RTC The periodic function when activated occurs 1024 times per second The Dword counter is decremented by 976 at each interrupt When the location becomes equal to or less than zero bit seven of the des...

Page 153: ...upported by the 6100 BIOS 4000 Series Video BIOS Functions Interrupts 12h 14h 4000 Series video functions are not available in the BIOS This means that the 4000 display processing features listed below are not available The 6100 screen rotation and font mapping utilities are provided to emulate the 4000 Series video functions for porting applications from the 4000 Series to the computer Cursor Fix...

Page 154: ...Long Sectors reserved for diagnostics Refer to Disk Services Interrupt starting on page 6Ć36 in this section for inforĆ mation on supported disk services 4000 Series Port Control BIOS Services Interrupt 14h These 4000 BIOS Interrupt 14h functions are unsupported by the 6100 BIOS Function AH 05h Extended Port Control Function AH 0FFh Port Power On Off Support is provided via 4000API EXE for porting...

Page 155: ... provides proprietary functions that are not indusĆ try standards Use of certain 4000API EXE functions limit the ability of the apĆ plication to function on standard platforms If you desire portability and stanĆ dardization of applications consider modifying old programs and developing new programs to conform to industry standards These PEN KEY 6000 Series platĆ forms are PCĆcompatible When you wa...

Page 156: ... ignored For example Function 01h sends the character regardless of the state of those signals Port 0 can act like port 2 with Function 05h A major enhancement that these communication functions provide is the ability to ignore modem control signals when sending and receiving characters This is a nonĆPC standard but allows the use of cables that do not have DTR CSR and RTS CTS loopĆbacks or threeĆ...

Page 157: ...ivated from the head All tasks have the same priority and are executed roundĆrobin The currently executing task is not on either list It moves to the pended list if it issues wait any pend on mailbox pend on queue or delay with timeout comĆ mands The current task moves to the ready list if its time slice expires preempĆ tive only or if it voluntarily gives up control by issuing a delay with 0 time...

Page 158: ... 8Ćbyte field manipulated by INT 15 followed by a message field The length and structure of the message field is up to the user Queues differ from mailboxes in that posting to a nonempty queue just adds a new node to the tail of the queue When a task pends on an empty queue the task is moved to the pended list until another task posts to the queue When a task pends on a nonempty queue the pend req...

Page 159: ...ial Communications Character Communications Control Extended Initialize Port Power Receive Send Serial Status 15h Multitasking Services Accept Create Current Delay Delete Disable Empty Enable Identifier Information Initialize Mailbox Message Multitask Optional Pend Post Reset Queue Return Switch Task Timeout TimeĆslicing 15h Norand Miscellaneous System Services Accumulate Adjust Beep BIOS Block Bu...

Page 160: ...modifying the display logic VROTATE is a TSR program that provides screen rotation and FONTSEL provides the font characteristics VROTATE and FONTSEL provide 4000 Series screen features such as Character mapping Cursor fixed mode Variable font sizes 20 21 or 16 characters across the screen VROTATE and FONTSEL EXE work together providing several font selections as described below These programs repl...

Page 161: ...t the PLN error screen Disable Disables the VROTATE driver which remains in memory and can be reenabled by running VROTATE again PL N Options The following is an additional parameter to be used for PL N applications Parameters Description PLN To be used for PL N applications Norand Enhanced Video BIOS Functions The VROTATE utility implements the Norand Enhanced Video BIOS calls The general Enhance...

Page 162: ...rmat is for replacing a font in VROTATE where font_number is the font to be replaced If you replace the currently used font also select the font again to cause the new character size to be used If not trashed it shows up on the display The format of a font file is Version dw 1 Char_width dw Char_height dw Font_data db dup The 8x8 and 8x16 fonts can only be replaced with an 8x8 and 8x16 font The us...

Page 163: ...rupt CrossĆReference table or just thumbing through the definitions searching for the notation VROTATE Table 6Ć4 Interrupts Supported by VROTATE EXE INT Supported Interfaces Keywords 10h Alternate Settings Video Functions Alternate Current Display Parameter Physical Pointer Refresh Return Screen Settings Size 10h Set Norand Specific Display Modes Chase Fixed Invert Mode 10h Norand enhanced Video B...

Page 164: ...indicator for a decimal digit EXAMPLE A switch shown as NTTTTTTTT indicates that the N switch is followed by up to 8 charac ters such as nMODEM1 All switches are optional and if omitted does NOT default to the switch or the value indicated Data Definitions R Retry command after a suspend DH Specify device type default D FH Specify function code default 4 IHHH Specify I O address default first avai...

Page 165: ...t 0Dh 6Ć41 Teletype Character Write 0Eh 6Ć42 Return Current Video State 0Fh 6Ć42 Set Palette Register 10h 00h 6Ć42 Set Border Color 10h 01h 6Ć42 Set Palette and Border 10h 02h 6Ć43 Toggle Blink and Intensity Bit 10h 03h 6Ć43 Get Palette Register 10h 07h 6Ć43 Get Border Color 10h 08h 6Ć43 Get Palette and Border 10h 09h 6Ć44 Set Color Register 10h 10h 6Ć44 Set Block of Color Registers 10h 12h 6Ć44 S...

Page 166: ...hysical Display Size 12h FDh 6Ć53 Read or Write Contrast 12h FEh 6Ć54 Backlight Off or On 12h FFh 6Ć54 Return Invert Mode 12h DDh FCh 6Ć54 Enable Invert Mode 12h DEh FCh 6Ć54 Disable Invert Mode 12h DFh FCh 6Ć55 Set Chase Mode 12h E0h FCh 6Ć55 Set Fixed Mode 12h E1h FCh 6Ć55 Load User Font 14h 00h FCh 6Ć56 Load System Default Font 14h 01h 00h 6Ć56 Get Version Information 7Fh 00h 6Ć56 Absolute Writ...

Page 167: ...mation about a Task 01h 02h 6Ć69 Disable Task Switching 01h 03h 6Ć69 Enable Task Switching 01h 04h 6Ć69 Reset Multitasker 01h 05h 6Ć69 Pend on Mailbox with Optional Timeout 01h 06h 6Ć70 Accept Message from Mailbox No Pend 01h 07h 6Ć70 Post Message to Mailbox 01h 08h 6Ć70 Pend on Queue with Optional Timeout 01h 09h 6Ć70 Accept Message from Queue No Pend 01h 0Ah 6Ć71 Post Message to Queue 01h 0Bh 6Ć...

Page 168: ...0h 1Dh 6Ć82 Device Open 80h 6Ć83 Device Close 81h 6Ć83 Program Termination 82h 6Ć83 Set Event Wait Interval 83h 00h 6Ć84 Cancel Event Wait Interval 83h 01h 6Ć84 System Request Key 85h 6Ć84 Wait 86h 6Ć84 Move Block 87h 6Ć85 Read Extended Memory Size 88h 6Ć85 Switch to Protected Mode 89h 6Ć85 Device Busy 90h 6Ć86 Pend On Keyboard 90h 02h 6Ć86 Interrupt Complete 91h 6Ć86 Return System Configuration P...

Page 169: ...0 Hide Cursor 00h 02h 6Ć100 Get Button Status and Mouse Position 00h 03h 6Ć100 Set Cursor Position 00h 04h 6Ć101 Get Button Press Information 00h 05h 6Ć101 Get Button Release Information 00h 06h 6Ć101 Set Minimum and Maximum x Cursor Position 00h 07h 6Ć101 Set Minimum and Maximum y Cursor Position 00h 08h 6Ć102 Set Graphics Cursor Block 00h 09h 6Ć102 Set Text Cursor 00h 0Ah 6Ć102 Read Motion Count...

Page 170: ...he end of this publication A reference token is included at the beginning of each interrupt definition to asĆ sist you in determining which application or applications support that particuĆ lar interrupt This reference token is a name that represents the application handling the interrupt such as 4000API EXE VROTATE EXE ELAĆ NAPM EXE or BIOS for the interrupt function being defined In some cases t...

Page 171: ...t Screen issues an INT 05h CtrlĆNum Lock Pause The Pause key causes the handler to issue INT 15 Function 41h to wait for a valid ASCII keystroke The keyboard handler issues an INT 15h Function 91h with AL 2 on return from interrupt to indicate a keystroke is available for keys that return values The keyboard handler issues an INT 15h Function 4Fh after reading the scan code from port 60 for the sy...

Page 172: ... None Start address of the REGEN buffer data item is initialized to zero crt_mode is set to the selected mode crt_cols is set to the number of columns for the selected mode page_len is set to 1000h for 80x25 modes and 800h for 40x25 modes page_offset is set to zero for all modes cursor_loc array is initialized to zero for all modes curstype is set to 0x607 for all modes curpage is set to 0 for all...

Page 173: ...CH and CL are ignored with respect to cursor shape The cursor top and bottom lines are saved to memory The function does control whether the cursor is on or off for the curĆ rently selected video page If CH is equal to 0XE0 the cursor is turned off This checks for PL N emulation of cursor on and cursor off If this test fails and if bit 5 of CH is set the cursor is turned off Otherwise the cursor i...

Page 174: ...h Function AH 03h Read Cursor Position and Mode BIOS VROTATE Returns the cursor position from the value in cursor_loc page for the page repreĆ sented by BH in register DX The page selected need not be active The display page value is equal to zero for graphic modes On Entry AH 03h BH Display page number On Return DH Cursor row DL Cursor column CX Cursor type CH Start scan row in character box CL E...

Page 175: ... VROTATE Allows the active display page to scroll down the number of lines indicated by AL If AL 0 the entire window is blanked Information outside the scroll winĆ dow indicated by the values in CH CL DH and DL is not altered Works in all display modes For 320x200 graphics modes the position used to determine the window area is based on a 40x25 display For 640x200 and 640x480 graphic modes the pos...

Page 176: ... map for ASCII values 128ć255 are stored in a table pointed at by location 0 10Ch in the interrupt table location Interrupt 43h This value is initialized to an internal table maintained by the BIOS This value may be altered to point to a userĆdefined table The BIOS maintains a separate bit map table for ASCII values 0ć127 The value in BL is the foreground color of the character being written and i...

Page 177: ...or graphics modes or the border color for text modes 1 Selects the palette in 320x200 color graphics mode BL Color value to use with the color ID value in BH On Return None INT 10h Function AH 0Ch Write Graphics Dot BIOS Writes a specified pixel to video memory at the location represented by DX and CX The value in AL is the color value for graphic modes If bit 7 of AL is set the color value is XOR...

Page 178: ...e next line If the position of the last line of the display is written to the display is scrolled up by one line On Entry AH 0Eh AL Character to write BH Page BL Foreground color in graphics mode On Return None INT 10h Function AH 0Fh Return Current Video State BIOS VROTATE Returns information stored in locations maintained by Functions 0 and 5 On Entry AH 0Fh On Return AH Number of screen columns...

Page 179: ...2 Green 10 Light Green 3 Cyan 11 Light Cyan 4 Red 12 Light Red 5 Magenta 13 Light Magenta 6 Brown 14 Yellow 7 White 15 Intense White 8 Gray On Entry AH 10h AL 02h ES DX Pointer to color list On Return None INT 10h Function AX 1003h Toggle Blink and Intensity Bit BIOS On Entry AH 10h AL 03h BH Enable 00h Intensity 01h Blink On Return None INT 10h Function AX 1007h Get Palette Register BIOS Returns ...

Page 180: ...nto all three components of the color register On Entry AH 10h AL 10h BX Color register CH Green value CL Blue value DH Red value On Return None INT 10h Function AX 1012h Set Block of Color Registers BIOS The table consists of 3Ćbyte entries one per color to be programmed The bytes of an individual entry are red green and blue values for the associated color regĆ ister For grayĆscale summing the w...

Page 181: ...ents On Entry AH 10h AL 15h BX Color register On Return CH Green value CL Blue value DH Red value INT 10h Function AX 1017h Get Block of Color Registers BIOS Allows the red green and blue components associated with each of a set of color registers read in one operation The table consists of a series of 3Ćbyte entries The bytes of an individual entry are red green and blue values for the associatĆ ...

Page 182: ...g mode 00h 4 pages of 64 registers 01h 16 pages of 16 registers INT 10h Function AX 101Bh Set Gray Scale Values BIOS For each color register the weighted sum of its red green and blue values is calĆ culated according to the formula gray_sum 30 red 59 green 11 blue The gray_sum is then written back into all three components of the color regisĆ ter The original values are lost On Entry AH 10h AL 1Bh...

Page 183: ...of the charĆ acterĆgenerator RAM Provides the font selection in text display modes If AL 11h page 0 must be active The points rows and length of the refresh buffer are recalculated and the controller is reprogrammed with the maximum scan line points 1 cursor start points 2 cursor end points 1 vertical disĆ play end rows points 1 and underline location points 1 mode 7 only To avoid unpredictable be...

Page 184: ...tribute byte 1 Bits 6 7 are not used On Return None INT 10h Function AX 1104h 1114h Load ROM 8x14 Fonts BIOS Loads the default ROM BIOS 8x14 font table into the specified block of the charĆ acterĆgenerator RAM This function provides the font selection in text display modes If AL 14h page 0 must be active The points rows and length of the refresh buffer are recalculated and the controller is reprog...

Page 185: ...he INT 43h vector to point to the default ROM BIOS 8x14 font and updates the video ROM BIOS data area The video controller is not reprogrammed ProĆ vides font selection in graphic display modes On Entry AH 11h AL 22h BL 00h Character rows specified by register DL 01h 14 rows 02h 25 rows 03h 43 rows CX Bytes per character DL Character rows per screen On Return None INT 10h Function AX 1123h Set INT...

Page 186: ...AH 11h AL 24h BL 00h Character rows specified by register DL 01h 14 rows 02h 25 rows 03h 43 rows CX Bytes per character DL Character rows per screen On Return None INT 10h Function AX 1130h Get Font Information BIOS On Entry AH 11h AL 30h BH Font code 0 Current INT 1Fh contents 1 Current INT 43h contents 2 ROM 8x14 font 3 ROM 8x8 font codes 0ć127 4 ROM 8x8 font codes 128ć255 5 ROM alternate 9x14 f...

Page 187: ...VGA dip switches 1ć4 respectively Feature Bits CH Feature Control Output Bit Input Status Bit 0 0 5 1 0 6 2 1 5 3 1 6 4ć7 Not used On Entry AH 12h BL 10h On Return BH Display type 0 Color 1 Monochrome BL Memory installed on VGA board 0 64k 1 128k 2 192k 3 256k CH Feature bits CL Switch settings INT 10h Function AH 12h Subfunction 30h Set Scan Lines BIOS Selects the number of scan lines for text mo...

Page 188: ... turned off or on On Entry AH 12h BL 32h AL 0 Enable video 1 Disable video On Return AL 12h Function supported INT 10h Function AH 12h Subfunction 33h Enable Disable Gray Scale Summing BIOS Enables or disables grayĆscale summing On Entry AH 12h BL 33h AL 0 Enable gray scale summing 1 Disable gray scale summing On Return AL 12h Function supported INT 10h Function AH 12h Subfunction 34h Enable Disab...

Page 189: ...16Ćline display only On Entry AH 12h BL 0FAh CH Number of rows CL Number of columns On Return ES DI Points at the 16Ćline display parameter packet this value is reserved for use by Intermec Technologies Corporation INT 10h Function AH 12h BL FBh Return Pointer to Current Display Parameters VROTATE Returns a pointer to the 16Ćline display parameter packet and font information for the 16Ćline displa...

Page 190: ...pressed If the light is active it is deactivated If inactive activated On Entry AH 12h BL 0FFh AL Request type 0 Activate backlight 1 Turn light off 2 Toggle the backlight On Return None Norand Specific Display Modes Interrupt 10h INT 10h Function AX 12DDh Subfunction BL FCh Return Invert Mode VROTATE On Entry AH 12h AL 0DDh BL 0FCh On Return AL Nonzero Invert mode set INT 10h Function AX 12DEh Su...

Page 191: ...se Mode VROTATE Forces the physical screen window to chase the cursor around the screen On Entry AH 12h AL 0E0h BL 0FCh On Return None INT 10h Function AH 12E1h Subfunction BL FCh Set Fixed Mode VROTATE Forces the physical screen window to remain fixed over the virtual screen segĆ ment whose upper left corner is specified by the DX value On Entry AH 12h AL 0E1h BL 0FCh DH Row window coordinate DL ...

Page 192: ...t character value to be programmed CX Number of characters to be programmed BH Number of bytes per character 8 or 16 ES DI Pointer to font bit map On Return None INT 10h Function AX 1401h Load System Default Font VROTATE On Entry AH 14h AL 01h BL 00h Load main font On Return None Norand Enhanced Video BIOS Interrupt 10h INT 10h Function AX 7F00h Get Version Information VROTATE Returns version info...

Page 193: ...d text window On Entry AH 7Fh AL 20h On Return AH 00h AL 7Fh INT 10h Function AX 7F21h Load or Select Font VROTATE Performs absolute screen writes Allows the system application to write strings anywhere on the screen Overrides the emulation window NOTE If the currently used font is changed reselect that font to use the new character size On Entry AH 7Fh AL 21h Select Font BH 0 Font select option B...

Page 194: ...graphical data anywhere to the physical screen Call goes around the winĆ dowing to allow the application to place graphics outside the emulated video BIOS screen NOTE Pass data with each scan line starting on a byte boundary On Entry AH 7Fh AL 2Ah ES DI Pointer to image data block Image data block format Type dw 0 must be zero X Y dw x y on screen to place block Width dw width of image Height dw h...

Page 195: ...Entry AH 7Fh AL 30h On Return AH Error code 0 successful AL 7Fh INT 10h Function AX 7F32h Disable Rotated Video VROTATE Disables the rotated text driver to manage the screen On Entry AH 7Fh AL 32h On Return AH Error code 0 successful AL 7Fh INT 10h Function AX 7F33h Enable Rotated Video VROTATE Enables the rotated text driver to manage the screen On Entry AH 7Fh AL 33h On Return AH Error code 0 su...

Page 196: ...try AH 02h AL Number of sectors DH Track number DL Drive number CH Cylinder number CL Sector number ES BX Buffer address On Return Carry Set if AH is nonzero AH Disk status AL Number of sectors actually transferred INT 13h Function AH 03h Write Sectors from Memory BIOS The requested sectors are transferred from the buffer to the disk On Entry AH 03h AL Number of sectors DH Track number DL Drive nu...

Page 197: ... for any drive This function reports the native format for any given drive On Entry AH 08h DL Drive number On Return AH Error code if carry set 1 Carry Set of invalid drive AX 0 if no error BX 5 if no error CX 7F08h 128 cylinders 8 sectors per track DH 0 One head per cylinder DL 3 Number of floppy drives INT 13h Function AH 15h Get Disk Type BIOS Returns AH 01 floppy with NO changeĆline support as...

Page 198: ...lid drive or media changed Error code 1 if carry set Clear if no media change AH Drive status 00h No media change 01h Invalid drive 06h Media changed or change line not supported 80h Card is not present INT 13h Function AH 18h Set Media Type BIOS On Entry AH 18h DL Drive number CH Lower 8 bits of highest cylinder number CL Sectors per track bits 0 5 top 2 bits of highest cylinder number bits 6 7 O...

Page 199: ...ctor _RamDriveSignature label byte db Norand RamDrive 0 db 0 0 0Fh 0FFh 0FFh 0FFh db 0F0h 3Ch 99h 0C3h 55h 0AAh On Entry AH 0ECh ES SI Pointer to global descriptor table GDT offset 00h Uninitialized null descriptor 08h Uninitialized is made into GDT descriptor 10h Uninitialized descriptor for source of move 18h Uninitialized descriptor for destination of move 20h Uninitialized used by BIOS 28h Uni...

Page 200: ... 150 bps 010 300 bps 011 600 bps 100 1200 bps 101 2400 bps 110 4800 bps 111 9600 bps Bits 4 3 Parity 00 NO parity 10 ODD parity 11 EVEN parity Bit 2 Stop Bits 0 1 stop bit 1 2 stop bits Bits 1 0 Word Length 10 7Ćbit word length 11 8Ćbit word length On Return AH Line status register 7 Timeout if set other bits are meaningless 6 Transmit shift register empty 5 Transmit holding register empty 4 Unuse...

Page 201: ...unications port specified by DX DTR is raised RTS is dropped and DSR is expected within a timeout period speĆ cified by an array at 40 7C When DSR is received a character is expected withĆ in the receive buffer within the timeout period If a timeout occurs the timeout bit is set in AH If a character is received it is returned in AL The value of the Line Status Register is returned in AH On Entry A...

Page 202: ... On Entry AH 04h DX Communications port number BH Parity setting 0 None 1 Odd 2 Even BL Stop bits 0 One 1 Two CH Word length 2 7 bits 3 8 bits CL Baud rate 0 110 1 150 2 300 3 600 4 1200 5 2400 6 4800 7 9600 8 19200 9 38400 10 57600 11 115200 12 125000 13 250000 14 500000 On Return AH Line status same as Function 00h AL Modem status same as Function 00h This is a nonstandard PC function It may not...

Page 203: ...urn AH Line status same as Function 00h AL Modem status same as Function 00h BL Modem control register value if read This is a nonstandard PC function It may not be available in every PC BIOS Use caution where portability is a concern INT 14h Function AH FFh Port Power Off or On 4000API Turns off the communications port driver power On Entry AH 0FFh DX Communications port number AL Turn communicat...

Page 204: ...s for new task csval dw cs register contents for new task dw does not care context ends csval ipval specifies the code segment and instruction pointer where the child task begins execution the parent task MUST provide them The child task always inherits the flags register from the parent Create returns a task ID that is computed with the following equation ES BX is the value passed to the create t...

Page 205: ...nly when the task is ready or pending not running On Entry AH 01h AL 02h CX Task ID 0 for currently active task On Return CX Task identifier 0 if task not found ES BX TCB address or pointer to multitasking data area for active task SI Modified DI Modified INT 15h Function AX 0103h Disable Task Switching 4000API On Entry AH 01h AL 03h On Return None INT 15h Function AX 0104h Enable Task Switching 4...

Page 206: ...y AH 01h AL 07h ES BX Mailbox pointer On Return AX Undefined DX CX Message if available 0 otherwise INT 15h Function AX 0108h Post Message to Mailbox 4000API On Entry AH 01h AL 08h ES BX Mailbox pointer DX CX Message On Return DX CX Zero if mailbox was empty operation successful previous message if mailbox overrun INT 15h Function AX 0109h Pend on Queue with Optional Timeout 4000API On Entry AH 01...

Page 207: ...Entry AH 01h AL 0Bh ES BX Pointer to queue DX CX Pointer to queue message node On Return AX Undefined INT 15h Function AX 010Ch Delay Current Task 4000API On Entry AH 01h AL 0Ch DX CX Timeout value in milliseconds 0 forces a task switch On Return AX Undefined NOTE INTERRUPT ROUTINES MUST NOT ISSUE THIS CALL INT 15h Function AX 010Dh Initialize a Queue Structure as Empty 4000API On Entry AH 01h AL ...

Page 208: ...y AH 01h AL 10h CX New task ID for current task On Return None INT 15h Function AX 01F4h Accumulate CRC 16h 4000API The CRC is computed for the block using the seed passed in BX The generator polynomial is CRC 16 X 16 X 15 X 2 X On Entry AH 01h AL 0F4h DS SI Points at the data block CX Contains the block length in bytes BX Contains the CRC seed Output DS SI Points past the end of the block CX Zero...

Page 209: ...o service has stalled C1 Timeout transmit complete no receive activity FF Timeout receive activity Code fragment cbuf struc dd BIOS scratch area db unused by BIOS db BIOS scratch area len dw length of buffer data dw BIOS scratch area adr db network address dw BIOS scratch area ctl db frame control field buffer db dup frame i field buffer dw BIOS scratch area cbuf ends INT 15h Function AX 01F8h Adj...

Page 210: ...h Function AX 01FDh Receive a Network Packet 4000API Allows access to the BIOS MAC layer for receiving a network packet Set the COM channel for the proper communication rate parity and bits before making this call On Entry AH 01h AL 0FDh CX Timeout value in milliseconds DX COM port 0 or 1 ES BX Pointer to cbuf cbuf as in Function 1F5h es bx len must indicate number bytes available in the buffer On...

Page 211: ...e CRC 16 on Block of Data 4000API Generator polynomial is CRC 16 X 16 X 15 X 2 X On Entry AX 01FFh DS SI Points at the data block CX Contains the block length in bytes On Return DS SI Points past the end of the block CX Zero AX CRC INT 15h Function AX 4200h Request System Shutdown Normal 4000API Wakes the unit from sleep with the ON OFF key Puts the processor to sleep to save power It is issued by...

Page 212: ...l or modified scan code Carry Set means to post the key value Reset forces the keyboard interrupt routine to ignore the key INT 15h Function AH 4Fh Keyboard Intercept BIOS Called by INT 09h ISR each time a key is pressed It creates alternate keyboard layouts Scan codes may be substituted or discarded by the intercept routine The default BIOS routine returns the input scan code unmodified and carry...

Page 213: ...ted 1 1 32Ćbit protected mode interface supported 2 1 CPU Idle call slows processor clock speed 2 0 CPU Idle call stops the clock 3 1 APM BIOS Power Management disabled 4 1 APM BIOS Power Management disengaged Other bits reserved Carry 1 if unsuccessful AH Error code 09h Unrecognized device ID 86h APM not present INT 15h Function AX 5301h APM Real Mode Interface Connect ELANAPM Provides compatibil...

Page 214: ... code 03h Interface not connected 09h Unrecognized device ID INT 15h Function AX 5305h CPU Idle ELANAPM An APM driver or powerĆaware application can use this call to reduce the power consumed by the system This call causes the system to halt the CPU and reĆ duce the clock frequency of the system until an interrupt occurs Any interrupt routine that generates I O activity to one of the defined activ...

Page 215: ...onnected 0Bh Unrecognized device ID INT 15h Function AX 5307h Set Power State ELANAPM Sets system or device specified in power device ID into the requested power state On Entry AH 53h AL 07h BX Power device ID 0001h All devices power managed by the APM BIOS 01XXh Display 02XXh PC Card controller 04XXh RSĆ232 05XXh Network adapters 06XXh PC Card Slots 0EXXh Intermec defined devices where XXh unit n...

Page 216: ...nterface not connected 09h Unrecognized device ID 0Ah Parameter value out or range Function code INT 15h Function AX 530Ah Get Power Status ELANAPM Returns the current power status of the system On Entry AH 53h AL 0Ah BX 0001h APM BIOS On Return Carry 0 if successful BH AC line status 00h OffĆline 01h OnĆline FFh undefined All other values reserved BL Battery status 00h High 01h Low 02h Critical 0...

Page 217: ...this function until there are no more pending PM events On Entry AH 53h AL 0Bh On Return Carry 0 if successful BX PM event code 1 if unsuccessful AH Error code 80h No power management events pending INT 15h Function AX 530Ch Get Power State ELANAPM Returns the device power state only when a specific device ID is used On Entry AH 53h AL 0Ch BX Power device ID 0001h All devices power managed by the ...

Page 218: ...AH 53h AL 0Dh BX Power device ID 0001h All devices power managed by the APM BIOS 01XXh Display 02XXh PC Card controller 04XXh RSĆ232 05XXh Network adapters 06XXh PC Card slots 0EXXh Norand defined devices where XXh unit number 0 based CX Function code 0000h Disable 0001h Enable On Return Carry 0 if successful 1 if unsuccessful AH Error code 09h Unrecognized device ID INT 15h Function AX 5380h Subf...

Page 219: ...l AH 0 1 if unsuccessful AH Status INT 15h Function AH 81h Device Close BIOS Default BIOS returns with AH 0 and carry flag clear On Entry AH 81h BX Device ID CX Process ID On Return Carry 0 if successful AH 0 1 if unsuccessful AH Status INT 15h Function AH 82h Program Termination BIOS Default BIOS returns with AH 0 and carry flag clear On Entry AH 82h BX Process ID On Return Carry 0 if successful ...

Page 220: ...successful AH 0 1 if unsuccessful AH Status INT 15h Function AX 8301h Cancel Event Wait Interval BIOS On Entry AH 83h AL 01h On Return None INT 15h Function AH 85h System Request Key BIOS Called by INT 09h ISR when the SYS REQ key is pressed The default BIOS reĆ turns AH 0 and carry clear On Entry AH 85h AL 00 Key make 01 Key break On Return Carry 0 if successful AH 0 1 if unsuccessful AH Status I...

Page 221: ...ads the amount of memory above 1 megabytes from the CMOS RAM locations 30h and 31h On Entry AH 88h On Return AX Number of contiguous 1 KB blocks of extended memory INT 15h Function AH 89h Switch to Protected Mode BIOS GDT describes the memory management environment in effect on return to the calling program All table descriptors are initialized by the calling program exĆ cept the BIOS code segment...

Page 222: ...st complete own wait 1 Wait performed I O complete or timeout INT 15h Function AX 9002h Pend On Keyboard BIOS 4000API Invoked from the BIOS to indicate that it wants to pend until a key is pressed On Entry AX 9002h On Return None NOTE INTERRUPT ROUTINES MUST NOT ISSUE THIS CALL INT 15h Function AH 91h Interrupt Complete BIOS On Entry AH 91h AL Device type 00h Fixed disk 01h Diskette 02h Keyboard 0...

Page 223: ... by the keyboard controller through Port 60h The first table shows the character codes returned in AX through the INT 16h standard functions 00h 01h The second table shows the values returned in AX through the INT 16h extended functions 10h 11h Scan codes containing the hidden key notation are used for the extended keys on the 101Ćstyle keyboards Hidden key notation is defined as scan codes offere...

Page 224: ... entered code when the Alt key is released If more than three digits are entered the value returned is moduleĆ256 Combination of Alt Ctrl and shift key presses are given the following priority Alt Ctrl Shift The only valid combination is CtrlĆAlt used for system reset Duplicate keys on the 101Ćstyle keyboard return the same 2Ćbyte character code as their equivalent 83 84Ćstyle keyboard value These...

Page 225: ... 14 54 14 14 14 00 22 Y 15 15 79 15 59 15 19 15 00 23 U 16 16 75 16 55 16 15 16 00 24 I 17 17 69 17 49 17 09 17 00 25 O 18 18 6F 18 4F 18 0F 18 00 26 P 19 19 70 19 50 19 10 19 00 27 1A 1A 5B 1A 7B 1A 1B 28 1B 1B 5D 1B 7D 1B 1D 29 2B 2B 5C 2B 7C 2B 1C 30 Caps Lock 3A 31 A 1E 1E 61 1E 41 1E 01 1E 00 32 S 1F 1F 73 1F 53 1F 13 1F 00 33 D 20 20 64 20 44 20 04 20 00 34 F 21 21 66 21 46 21 06 21 00 35 G ...

Page 226: ...32 6D 32 4D 32 0D 32 00 53 33 33 2C 33 3C 54 34 34 2E 34 3E 55 35 35 2F 35 3F 57 R Shift 36 58 L Ctrl 1D 60 L Alt 38 61 Space 39 39 20 39 20 39 20 39 20 62 R Alt E0ć38 64 R Ctrl E0ć1D 75 Insert E0ć52 52 00 52 00 76 Delete E0ć53 53 00 53 00 79 Left E0ć4B 4B 00 4B 00 73 00 80 Home E0ć47 47 00 47 00 77 00 81 End E0ć4F 4F 00 4F 00 75 00 83 Up E0ć48 48 00 48 00 84 Down E0ć50 50 00 50 00 85 Page Up E0ć4...

Page 227: ...4D 4D 00 4D 36 74 00 103 3 PgDn 51 51 00 51 33 76 00 104 Del 53 53 00 53 2E 105 4A 4A 2D 4A 2D 106 4E 4E 2B 4E 2B 108 Enter pad E0ć1C 1C 0D 1C 0D IC 0A 110 Esc 01 01 1B 01 1B 01 1B 112 F1 3B 3B 00 54 00 5E 00 68 00 113 F2 3C 3C 00 55 00 5F 00 69 00 114 F3 3D 3D 00 56 00 60 00 6A 00 115 F4 3E 3E 00 57 00 61 00 6B 00 116 F5 3F 3F 00 58 00 62 00 6C 00 117 F6 40 40 00 59 00 63 00 6D 00 118 F7 41 41 00...

Page 228: ...n the 4000 BIOS is zero when AL is a valid ASCII character On Entry AH 00h On Return AX Character code INT 16h Function AH 01h Set Zero Flag if Key Buffer Empty BIOS The key is not removed from the buffer If the keyboard buffer does not contain a key the zero flag is set This function acts as an 83 84Ćstyle keyboard filter masking duplicates and removing undefined 101 keys Send a command to the ke...

Page 229: ...17 second On Entry AH 03h AL 05h BH First repeat delay in system timer ticks BL Repeat time in system timer ticks On Return None INT 16h Function AX 0306h Set Typematic Rates Turn On Key Repeat 4000API On Entry AH 03h AL 06h On Return None INT 16h Function AH 04h Turn Keyclick Off or On 4000API On Entry AH 04h AL Click state Bit values 0 Turn key click off 1 Turn key click on On Return None INT 16...

Page 230: ...ld be some PL N compatibility issues since the scan code returned in the AH reg ister in the 4000 BIOS is zero when AL is a valid ASCII character such as some of the ALT character combinations 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 BIOS The key is not remo...

Page 231: ... Ctl Shift 1 Left shift 0 Right shift INT 16h Function AH FEh Swap Keyboard Translate Tables 4000API On Entry AH 0FEh ES BX Address of new keyboard table as defined in the following table ES BX 0 0 causes the default table to be restored On Return None If ES BX 0 install the default keyboard table This is a nonstandard function Using this function affects the portability of the application to othe...

Page 232: ...P TDWN TLEFT TRIGHT db 1 EXIT db 1 LSHFT TDEL CLEAR db 1 7 8 9 db 1 1 2 3 db 1 ESCAPE 0 CR shifted 25 key table db TUP TDWN TLEFT LITE db 1 EXIT db 1 LSHFT TDEL CLEAR db 1 7 8 9 db 1 4 5 6 db 1 1 2 3 db 1 ESCAPE 0 CR INT 16h Function AH FFh Return Number of Keys on Default Keyboard 4000API On Entry AH 0FFh On Return AL Number of keys This is a nonstandard function Using this function affects the p...

Page 233: ...verflow flag 0 if day has not rolled over since last read 1 if timer value has exceeded 24 hours INT 1Ah Function AH 01h Set System Timer Ticks BIOS Sets the BIOS data values located at 40 6Ch and 40 6Eh to the data contained in CX and DX respectively It thereby sets the system timer tick count Execution of this function clears the timer overflow flag at location 40 70h On Entry AH 01h CX High byt...

Page 234: ...Reads the century year month and day from the CMOS RAM area of the MC 146818 It must wait for the updateĆinĆprogress bit to become zero and disable interrupts before accessing the CMOS data Then it must return with the carry flag set if there was an error otherwise the carry flag must be cleared On Entry AH 04h On Return CH Century in BCD 19 or 20 CL Year in BCD 0ć99 DH Month in BCD 1ć12 DL Day in...

Page 235: ...es are set the alarm expires every minute If the high two bits of the seconds are set the alarm expires every second The function must return with the carry flag set if there was an error otherĆ wise the carry flag must be cleared On Entry AH 06h CH Hours in BCD 0ć23 CL Minutes in BCD 0ć59 DH Seconds in BCD 0ć59 On Return None INT 1Ah Function Ah 07h Reset the Real Time Clock Alarm BIOS Clears any...

Page 236: ...tware and returns the status On Entry AH 00h AL 00h On Return AX 1 Successful 0 Failed BX Number of buttons INT 33h Function AX 0001h Show Cursor MOUSE No action taken On Entry AH 00h AL 01h On Return None INT 33h Function AX 0002h Hide Cursor MOUSE No action taken On Entry AH 00h AL 02h On Return None INT 33h Function AX 0003h Get Button Status and Mouse Position MOUSE Gets the current button sta...

Page 237: ...ton status BX Number of presses since last call CX X coordinate at last press DX Y coordinate at last press INT 33h Function AX 0006h Get Button Release Information MOUSE Gets the current status information relating to releasing of the pen or button On Entry AH 00h AL 06h BX 0 For pen status information 1 For button status information On Return AX Pen or button status BX Number of releases since l...

Page 238: ...Block MOUSE On Entry AH 00h AL 09h On Return None INT 33h Function AX 000Ah Set Text Cursor MOUSE No action taken On Entry AH 00h AL 0Ah On Return None INT 33h Function AX 000Bh Read Motion Counters MOUSE Reads the motion counters On Entry AH 00h AL 0Bh On Return CX X mickey count delta x since last call DX Y mickey count delta y since last call INT 33h Function AX 000Ch Set Interrupt Subroutine C...

Page 239: ...t Pen Emulation Mode Off MOUSE No action taken On Entry AH 00h AL 0Eh On Return None INT 33h Function AX 000Fh Set Mickey to Pixel Ratio MOUSE On Entry AH 00h AL 0Fh On Return None INT 33h Function AX 0010h Conditional Off MOUSE No action taken On Entry AH 00h AL 10h On Return None INT 33h Function AX 0013h Set Double Speed Threshold MOUSE No action taken On Entry AH 00h AL 13h On Return None 6 Co...

Page 240: ...T 33h Function AX 0015h Get Status Block Size MOUSE Gets size of status block On Entry AH 00h AL 15h On Return BX Size INT 33h Function AX 0016h Save Driver Status MOUSE Saves status of mouse driver On Entry AH 00h AL 16h On Return ES DX Copy of status block INT 33h Function AX 0017h Restore Driver Status MOUSE Restores status of mouse driver On Entry AH 00h AL 17h ES DX Copied to status block On ...

Page 241: ... Sensitivity MOUSE No action taken On Entry AH 00h AL 1Ah On Return None INT 33h Function AX 001Bh Get Mouse Sensitivity MOUSE Gets the mouse sensitivity On Entry AH 00h AL 1Bh On Return BX 50 CX 50 DX 50 INT 33h Function AX 001Ch Set Mouse Interrupt Rate MOUSE No action taken On Entry AH 00h AL 1Ch On Return None INT 33h Function AX 001Dh Set Display Page Number MOUSE No action taken On Entry AH ...

Page 242: ...r MOUSE Disables the mouse driver On Entry AH 00h AL 1Fh On Return AX 1 INT 33h Function AX 0020h Enable Mouse Driver MOUSE Enables the mouse driver No return values On Entry AH 00h AL 20h On Return None INT 33h Function AX 0021h Software Reset MOUSE Resets the mouse software values On Entry AH 00h AL 21h On Return AX 1 BX 2 INT 33h Function AX 0022h Set Language for Messages MOUSE No action taken...

Page 243: ... 0 INT 33h Function AX 0024h Get Driver Version Mouse Type and IRQ No MOUSE Gets values for driver version mouse type and IRQ number On Entry AH 00h AL 24h On Return BX Version CH 0 CL IRQ 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 6 Conversions and Interfaces ...

Page 244: ...SECTION 6 Conversions and Interfaces 6 108 PEN KEYR 6100 Computer Programmer s Reference Guide 6 Conversions and Interfaces ...

Page 245: ...Data Area 7Ć11 CMOS Registers 7Ć13 List of Tables Page Table 7Ć1 System Messages 7Ć7 Table 7Ć2 Audible Error Codes 7Ć8 Table 7Ć3 Hardware Ports 7Ć8 Table 7Ć4 COM1 Connector PinĆOuts 7Ć9 Table 7Ć5 Hardware Interrupt 7Ć9 Table 7Ć6 I O Addresses and Devices 7Ć10 Table 7Ć7 BIOS Data in System RAM 7Ć11 Table 7Ć8 CMOS Register Assignments 7Ć13 NOTE Because this is an open system your system configuratio...

Page 246: ...much smaller and simpler than EMM386 EXE Using shadow RAM instead of XMS memory to provide upper memory it provides more overall memory to DOS and Windows applications However since ELANUMP SYS cannot support expanded memory EMM386 EXE is still the only method for providing expanded EMS memory The standard MSĆDOS 5 version of COMMAND COM is provided in flash HowĆ ever one change has been made to C...

Page 247: ...ance Running from system memory is faster than running from flash memory directly Power On Self Tests POSTs are Run A series of tests is performed on the hardware to ensure the system is functionĆ ing properly Mostly these tests are performed without indication that they are running If a test fails an error message is displayed on the screen or a series of beeps is sent to the speaker The beep cod...

Page 248: ... reported on each boot cycle There is no test asĆ sociated with this display but there is the possibility that an incorrect size could be reported if a hardware problem existed BIOS Extensions are Scanned For and Installed After most of the POSTs have ended the ROM BIOS scan through system memory in the address range of E800 0 through F7FF F looking for BIOS extenĆ sions On PCĆcompatible computers...

Page 249: ...he Getting Started section for the location of the PC Card slots A DOS 5 embedded device driver uses Interrupt 15h Function 87h move exĆ tended memory to access both the RAM drive drive C and the flash drive data drive D ROM DOS 5 obtains the starting address for each drive by reading values stored in the BIOS data area of system memory Boot Drives Supported Drives A through F are supported as boo...

Page 250: ...or on the RAM drive The Master Mode boot process also affects the drive B support provided by the ROM BIOS Since drive B now refers to the same data as the ROM drive D drive B is writeĆprotected by the BIOS Boot Drive Selection The 6100 Computer always boots to DOS from ROM that is it never loads IO SYS and MSDOS SYS from a boot drive CONFIG SYS and AUTOEXEC BAT files are read from the default dri...

Page 251: ...g An application download is reĆ quired unless the application was not stored on the RAM drive Hot Int Failure Hot interrupt failure Error Call the Customer Support C 800 755 5505 U S A IC1 Failure pp Center at 800Ć755Ć5505 U S A or Canada or 425 356 1799 IC2 Failure Canada or 425Ć356Ć1799 Master DMA Failure Slave DMA Failure DMA Page Reg Failure DMA page register failure Timer0 Failure Timer2 Fai...

Page 252: ...ectly 3 4 3 The LCD cannot be enabled 4 2 3 Cannot enable A20 using port 64h see NOTE standard keyboard port 4 2 4 Cannot enable A20 using port 92h see NOTE IBM fast A20 port 4 2 5 Cannot enable A20 using port 0EEh see NOTE special fast A20 port 4 4 2 Cannot copy BIOS into shadow RAM NOTE A20 refers to the special PC AT hardware that enables or disables address line number 20 on the system memory ...

Page 253: ...errupt 03h processor Breakpoint 04h processor Overflow trap 05h processor Bounds exception 07h processor Invalid opcode 08h IRQ0 processor Timer interrupt handler Double exception 09h IRQ1 processor Keyboard interrupt handler Coprocessor segment overrun 0Ah IRQ2 processor Slave cascades IRQ8 IRQ15 Invalid task state segment 0Bh IRQ3 processor Serial port 2 COM2 serial lid or scanner Segment not pr...

Page 254: ...Card primary ATA IDE disk controller 1F8 ć 1FF Reserved for PC Card general use 200 ć 207 Touch screen clock 210 ć 21f Reserved for PC Card general use 220 ć 224 Reserved for SST radio 225 ć237 Reserved for PC Card general use 238 ć 23F Reserved bus mouse 240 ć 277 Reserved for PC Card general use 278 ć 27F Reserved Parallel Port i e LPT1 280 ć 2E7 Reserved for PC Card general use 2E8 ć 2EF Reserv...

Page 255: ... asynchronous communications adapters COM1ćCOM4 40 08 3 words Reserved I O address up to 3 printer adapters LPT1 LPT3 40 0E word Segment address of extended BIOS Data Area 40 10 word Equipment status word Returned by interrupt 11h 40 12 byte Reserved POST status 40 13 word Conventional memory size in kilobytes returned by INT12h 40 15 word Pass Fail indicators for RAM POST test 40 17 word Keyboard...

Page 256: ...haracter height bytes char 40 87 byte video control bit flags 40 88 byte Video feature bit flags 40 89 byte VGA control bit flags 40 8A byte Display combo code table index 40 8B byte Reserved diskette data rate info 40 8C byte Reserved fixed disk status register 40 8D byte Reserved fixed disk error register 40 8E byte Reserved fixed disk interrupt flag 40 8F byte Reserved diskette controller infor...

Page 257: ..._SECONDS equ 0 RTC_SECONDS_ALARM equ 1 RTC_MINUTES equ 2 RTC_MINUTES_ALARM equ 3 RTC_HOURS equ 4 RTC_HOURS_ALARM equ 5 RTC_WEEKDAY equ 6 RTC_DAY equ 7 RTC_MONTH equ 8 RTC_YEAR equ 9 RTC_REG_A equ 10 RTC_REG_B equ 11 RTC_REG_C equ 12 RTC_REG_D equ 13 RTC_CENTURY equ 032h CMOS_DIAGS equ 0Eh CMOS_SHUTDOWN equ 0Fh SD_NORMAL_RESET equ 0 SD_REAL_MODE_ENTRY equ 1 SD_BOOTSTRAP equ 4 SD_EOI_JMP equ 5 SD_FA...

Page 258: ...OS_POST_XTD_MEMLO equ 30h posted extended memory size CMOS_POST_XTD_MEMHI equ 31h CMOS_DOS_FLAGS equ 3Fh ROM DOS boot flags bMasterModeBoot equ 01h MasterMode boot bit bDefaultDrive equ 06h 00 A 01 B 10 C 11 D CMOS_FLASH_INFO equ 40h FLASH_1_512K equ 00h Bit values define flash size FLASH_2_512K equ 01h FLASH_3_512K equ 02h FLASH_4_512K equ 03h bATMEL equ 40h Set only for Atmel Flash type bAMD equ...

Page 259: ...on System for Windows User s Guide Communication Intelligence Corp CIC Can be ordered through your Account Executive P N 961Ć054Ć001 Handwriter Recognition System for Windows Release Notes Communication Intelligence Corp CIC Can be ordered through your Account Executive P N 961Ć054Ć002 PenDOS V2 21 Handwriter Recognition System User s Guide Communication Intelligence Corp CIC Can be ordered throug...

Page 260: ...andard Unix VMS whatever directoĆ ry listing and copy files from the above directory On FIDOnet from SoundingBoard BBS 1 129 26 1 412 621 4604 9600 14 4k HST V32 as files INTERrrA ZIP to INTERrrD ZIP rr stands for the release number in file area 8 FirstĆtime callers may download Alternative Distribution Points the list is typically available within 24 hours of release Internet On the SimTel Softwa...

Page 261: ...TrrB INTrrC and INTrrD The list is also posted to USEnet in comp binaries ibm pc about twice a year concurrently with a new release of the list Since comp bina ries ibm pc is archived you should be able to find a fairly recent release in the various UUCP archives System BIOS for IBM PC s Compatibles and EISA Computers SecĆ ond Edition Phoenix Technologies LTD Addison Wesley Publishing Company ISBN...

Page 262: ...re Sales P 0 Box 7641 Mt Prospect IL 60056 7641 ISBN 1 55512 127 6 Motorola Microprocessor Microcontroller and Peripheral Data VolĆ ume II DL139 Motorola Literature Distribution P O Box 20912 Phoenix AZ 85036 PCMCIA Controller Data Book CL PD6710 PD6720 Advanced Data Book Cirrus Logic Inc 3100 West Warren Ave Fremont CA 94538 ISBN 510 623 8300 8 Reference Publications ...

Page 263: ...ight DOS Handwriting Recognition System Setup AĆ15 This paragraph contains the Handwriting Recognition program installation code APM Event Code Broadcast Values AĆ14 This paragraph contains sample listing of event code values BGI Support AĆ15 This includes some programming examples and a sample N6100 H file Sample Boot Configurations Files AUTOEXEC BAT Default NOTE The AUTOEXEC BAT and CONFIG SYS ...

Page 264: ... vrotate exe D REM Disable Video Accesses as Activity d elancfg V0 H16 L1 D4 T2 C0 rem V0 Disable Video Accesses as Activity rem H16 High Speed to Low Speed set to 16 seconds rem L1 Low Speed to DOZE set to 16 seconds rem D4 Doze to Suspend set to 4 rem T0 Extended timer ticks in DOZE path d windows cd 911 CONFIG SYS Default Rem Display the Flash version message for 15 seconds device d delay exe P...

Page 265: ...com d p device d elanapm exe device d nordospm exe EXAMPLE Another Sample CONFIG SYS The following is another sample of a CONFIG SYS file shell d command com d e 512 p device d himem sys devicehigh d elanump sys x C000 D400 D800 DC00 E000 device a emm386 exe i D400 EFFF FRAME D400 devicehigh d elanapm exe devicehigh d nordospm exe dos high umb break on buffers 30 files 50 Other Sample Configuratio...

Page 266: ...acolor 2gr language dll Installable driver tokens See Drivers section below for actual driver file names Optional drivers can be left out or can be commented out in the Drivers section drivers power irda pen penwindows scanner npcp SCRNSAVE EXE None drivers This is the Required APM driver See Power Driver section below power power crv power norwinpm drv This is the Required pen driver See Pen Driv...

Page 267: ... starts since NORAPM DLL tries to output debug data before DBWIN can load ApmDebugOutput 0 Enables Real Time Clock RTC diagnostics Default is 0 Enables the RTC diagnostics built into NORAPM DLL This entry is a DECIMAL representation of several bit mapped options A diagram of the currently defined fields separated into nibbles for readability is laid out below A description of each defined field fo...

Page 268: ...r notice ApmFixSystemSoft 1 Pen Driver Pen Key increases wOffsetX to move cursor down relative to pen wOffsetX 693 Increase wOffsetY to move cursor to left relative to pen wOffsetY 318 Increase wDistinctWidth to make cursor move slower relative to pen in the up down direction on screen wDistinctWidth 3512 Increase wDistinctHeight to make cursor move slower relative to pen in the left right directi...

Page 269: ...6 3f8 for COM1 760 2f8 for COM2 DedicatedUARTAddress 488 Use this option to set the IRQ Line on which the Scanner UART interrupts Default setting is 5 Other valid settings are 4 for COM1 3 for COM2 DedicatedUARTIRQ 5 This option is applicable to Hand held Scanners only It sets the value of the Terminating character of the packet sent by the Scanner The default setting is 03 ETX Other valid setting...

Page 270: ...E and OMNIBOOK Technology PENKEY Norand 6805 Printer This forces the drivers to use Graphics commands for entire Document Valid settings are TRUE FALSE Default value is FALSE DoGraphicsOnly FALSE This sets the idle time in seconds after which the Printer is Awakened while printing multiple pages Default setting is 10 Valid settings are 10 50 Timeout 10 This controls the of NULL characters sent to ...

Page 271: ...mputer being used DisplayColumns Overrides the Screen Row size used to draw the alignment screen The default values are obtained at run time depending on the Windows mode Valid values are based on the handheld computer being used DisplayRows NORAND Model 0 standard This section for Enhanced mode 386Enh display vddvga keyboard vkd mouse vmd network vnetbios dosnet device vportd 386 device vpwrd 386...

Page 272: ...s com exe bat pif Documents DeviceNotSelectedTimeout 15 TransmissionRetryTimeout 45 KeyboardDelay 2 KeyboardSpeed 31 ScreenSaveActive 0 ScreenSaveTimeOut 120 DoubleClickWidth 96 DoubleClickHeight 96 CoolSwitch 1 DosPrint no Uncomment this line to make the 48xx NPCP printer be the default device NORAND 4800 NOR4800 LPT1 DOS Uncomment this line to make the 6805 IrDA printer be the default device NOR...

Page 273: ...tf intl sLanguage enu sCountry United States iCountry 1 iDate 0 iTime 0 iTLZero 0 iCurrency 0 iCurrDigits 2 iNegCurr 0 iLzero 1 iDigits 2 iMeasure 1 s1159 AM s2359 PM sCurrency sThousand sDecimal sDate sTime sList sShortDate M d yy sLongDate dddd MMMM dd yyyy ports A line with filename PRN followed by an equal sign causes filename to appear in the Control Panel s Printer Configuration dialog box A...

Page 274: ...ec exe picture Package Package Package packager exe picture PBrush Paintbrush Picture Paintbrush Picture pbrush exe picture Note it MS Note It MS Note It note it exe picture colors Background 0 0 0 AppWorkspace 64 0 0 Window 0 0 0 WindowText 255 255 255 Menu 0 0 0 MenuText 255 255 255 ActiveTitle 255 255 232 InactiveTitle 0 0 128 TitleText 0 0 0 ActiveBorder 255 255 232 InactiveBorder 0 64 0 Windo...

Page 275: ...s exe devicehigh d norcs stabios sys r devicehigh d norcs nordata sys device pc4800 sys LPT1 1 I1 device stacker com p 1 E install d 4000api exe install d mininet exe KEYS INI Key Remapping Parameter File This listing is a standard key definition file included in the 6100 Tool Kit It is a sample for you to modify as needed The numbers listed below the Unshifted Plane and the Yellow Shifted Plane r...

Page 276: ...code may be helpful in setting up thirdĆparty applications but keep in mind the thirdĆparty companies are the best sources for support for this subject Some of the files required are located in the Tool Kit such as the mouse and calĆ ibration programs some are supplied with PenPal and some can be separately purchased from Intermec Technologies Corporation EXAMPLE Sample PenPal DOS Setup The follow...

Page 277: ... as Activity D ELANCFG V0 H8 L12 D20 T2 REM Load the modified pen driver SEST APIRSC 61PENRT RSC REM Calibrate if required CALIB REM Run the sample PEN PAL program PENR api e k x 320 y 240 PENR hwp e REM Start application APP EXE NOTE PENR API EXE is not the same as one for a desktop computer You need one that comes with a PenRight machine Required Files 61MOUSE RSC Specific to the 6100 Computer 6...

Page 278: ...y Low Notification define APM_BATLOW 5 User System Standby Request Notification define APM_USERSTANDBY 9 User System Suspend Request Notification define APM_USERSUSPEND 10 User System Standby Resume Notification define APM_USERSTANDBYRESUME11 Status Request Ok to suspend define APM_STATUS 0xFF Windows APM 1 1 event codes These events are broadcast to the Windows drivers and parent windows by the W...

Page 279: ...use with the BGI driver Using the N6100 BGI Driver The driver plugs in to the Borland BGI graphics library via the installuserdrivĆ er function Mode selection is done via a series of define symbols in the N6100 H header file note that the BGI DETECT autodetect logic does not work with this driver The following modes are available from this driver Resolution Symbol 230x240x4 BGI_LANDSCAPE 240x320x4...

Page 280: ...o back to normal BGI text rendering pass BGI_NORMALTEXT to the setwritemode function which also seems troublesome EXAMPLE Sample N6100 H File The following is a sample listing of the N6100 H file written by Ryle Design used as an inter face for a BGI driver Header N6100 H Header file containing public declarations for the Ryle Design N6100 BGI driver written for the Norand Corporation Copyright c ...

Page 281: ...program listing demonstrating a method of accessing NORAPM DLL Critical Error Handler CRITICAL C BĆ6 a sample program listing demonstrating the handling of critical errors IDLE CPP BĆ10 sample program that demonstrates the use of the CPU Idle interrupt Keyboard Remapping with ANSI SYS BĆ10 Memory Overview PEN KEY 6000 Series Computer BĆ12 a review of the basic memory system as it applies to the PE...

Page 282: ...rved BYTE LineStatus AC line status bits 00H Off line 01H On line 02H On backup power FFH Unknown All other values reserved BYTE BatteryCharge of battery left 0 100 Percentage of full charge FFH Unknown All other values reserved BYTE BatteryFlags Current battery status bit 0 1 High bit 1 1 Low bit 2 1 Critical bit 3 1 Charging bit 7 1 No system battery All other bits reserved FFH Unknown All other...

Page 283: ...activity and hold off standby backlight and suspend timeouts This function is generally called by a device driver that controls background processing or communications peripherals EventType Parameter 0 Indicates system activity This resets Suspend timeouts 1 Indicates user or input activity This resets the Standby backlight and Suspend timeouts extern C void FAR PASCAL _export SystemActivity int E...

Page 284: ...es 1 3 are actually defined in the current Windows 3 1Windows H header file define PWR_STANDBYREQUEST 0 System Standby Request Notification define PWR_SUSPENDREQUEST 1 System Suspend Request Notification define PWR_SUSPENDRESUME 2 Normal Resume System Notification define PWR_CRITICALRESUME 3 Critical Resume System Notification define PWR_BATLOW 4 Battery Low Notification define PWR_PWRCHANGE 5 Pow...

Page 285: ...ne APM_OEM_SWV5 0xE400 Wwitch 5 control for 4600 APM power states define APM_READY 0 ON define APM_STANDBY 1 Still operational but in low power state define APM_SUSPEND 2 Not operational but saves HW state define APM_OFF 3 Not operational and does not save HW state APM Event Return Codes for DOS The Windows versions of these codes PWR_FAIL PWR_OK are in WINDOWS H define APM_OK 0 Continue operation...

Page 286: ...h result of d Error Error MessageBox NULL MsgBuf szTitle MB_RETRYCANCEL MB_ICONEXCLAMATION then else Display battery status wsprintf MsgBuf A C is s line nBattery is scharging n char far PwrStat LineStatus 1 on off char far PwrStat BatteryFlags 8 NOT Error MessageBox NULL MsgBuf szTitle MB_RETRYCANCEL MB_ICONINFORMATION else while Error IDRETRY then else MessageBox NULL Could not get entry point f...

Page 287: ...devhdr next unsigned attribute void strategy void interrupt uchar name 8 struct faddr void offset void segment union fncptr FAR void fnc struct faddr addr FP struct devhdr fncx void set24h fnc FP void fnc asm xor ax ax mov es ax mov bx 24h 4 mov ax bp 4 mov dx bp 6 cli mov es bx ax mov es bx 2 dx sti endasm drivercall fncptr pak FP void pak FAR void fncptr asm les bx 8 bp call dword ptr 4 bp endas...

Page 288: ...scr_printf nprinter error n d n exterr switch exterr case PNRDY scr_printf Printer not ready Check connection Retry n break case RXTMO scr_printf Printer not transmitting Check connection Retry n break case TXTMO scr_printf Printer not receiving Check connection Retry n break case BADADR scr_printf MAC address error Abort n break case GAPERR scr_printf MAC intercharacter Gap error Retry n break ca...

Page 289: ...jam 128 highspeed lowspeed scr_printf ncnter0 d n jam2 scr_printf interrupts d n jam3 tdelay 10000 break case PAPEROUT scr_printf Printer paper out Retry n break case LOWVOLTS scr_printf Printer low voltage Retry n break case HIVOLTS scr_printf Printer over voltage Retry n break case LOWBAT scr_printf Printer low battery Retry n break case COVEROFF scr_printf Printer cover off Retry n default brea...

Page 290: ...rocessor to halt via HLT instruction until the next hardware interrupt This causes good power savings if used during input polling loops or other low activity points in an application See MS Intel APM 1 1 specification or Ralf Brown s interrupt list for info unsigned char APMCPUIdle void union REGS regs regs x ax 0x5305 int86 0x15 regs regs makes actual function call being tested if regs x cflag 0...

Page 291: ...g line to your CONFIG SYS file where the x switch selects keyĆ board redefinition as specified in the DOS Help for ANSI SYS device c dos ansi sys X Add the following assignments with any modifications that you prefer to suit your needs to your AUTOEXEC BAT file to set these mappings each time your system is powered up or reset echo on prompt 0 59 INTERSVR C D 13p prompt 0 60 DIR 32p prompt 0 61 BI...

Page 292: ...phs describe the operation of Windows for the PEN KEY 6000 Series HandĆHeld Computers and examines some noteworthy design asĆ pects to help you understand the concept Some of these topics include A little background information about memory A highĆlevel view of memory as it applies to the PEN KEY 6000 Series computers compared to a standard desktop PC The typical memory organization of a standard ...

Page 293: ... Memory Organization Definition of Terms Conventional Memory That area of memory in which most DOS applications run Other programs that could reside there include portions of DOS and any programs called using a device or install line in CONFIG SYS or any proĆ grams that are not executed with a loadhigh from AUTOEXEC BAT ConvenĆ tional memory can be up to 640 KB UMA Just above conventional memory U...

Page 294: ...ory Types Conventional memory First 640K of memory where most applications run Expanded memory Type of memory simulated using EMM386 EXE Extended memory All memory above 1 MB HMA Lower 64K of extended memory with DOS loaded RAM drive Section of extended memory simulates a disk drive UMA 64 KB section located above conventional memory where drivers are loaded to free space for applications running ...

Page 295: ...dows Application Work Space 4MB 3MB 2MB 1MB Figure BĆ2 Desktop Laptop PC with Hard Disk The system depicted in Figure BĆ2 represents the standard desktop or laptop PC All of the software components DOS Windows and the application are loaded from the hard drive into RAM as indicated by the arrows in the diagram The box labeled Work Space is part of RAM used by the system for shortĆterm storĆ age of...

Page 296: ...RAM is powered continuously ConseĆ quently the RAM disk retains its contents over long periods of time NOTE In the illustrations 4 or 8 megabyte memory models are shown Keep in mind as the PEN KEY 6000 Series systems continue to be enhanced that future releases may allow larger memory models The double headed arrow from the Application to the disk indi cates that the application loads the data fro...

Page 297: ...a DOSĆmanaged PC The main drawbacks to enhanced mode are slower execution speed and larger code size Despite its name the enhanced mode is the slower of the two modes and the size of the Windows code required to support enhanced mode is up to 1 megabyte larger The standard mode which is the native mode for Windows does not support DOS programs But the standard mode is significantly faster and smal...

Page 298: ...of Microsoft Windows The design for the Windows environment was made for a better user interface The Macintosh environment had gained significant popularity with many potenĆ tial customers who felt that the DOS user interface was clumsy and hard to learn While the Macintosh environment was built without concern for existing applications from previous Apple products the Windows designers knew that ...

Page 299: ...tional Applications DLLs INIs APIs Additional Windows Files optional Handwriting Recognition Pen Windows Minimal Windows System Files Windows Drivers DOS DOS Drivers BIOS Hardware These paragraphs describe each component shown with each diagram Hardware Starting at the bottom of the following diagram the hardware layer represents all of the components that are required to create an operable comput...

Page 300: ...is an important concept in view of the fact that an application that is written for a computer with HAL can be easily moved to another computer where the hardware is different For those peripherals that are supported directly by BIOS software developers need not be concerned about differences between hardware from various manufacturers Hard drives are one example since all these devices look the s...

Page 301: ...t provide support for specific displays or printers nor does it provide serĆ vices for other peripherals These services are not common to all applications written for the DOS environment Each application written for a DOS PC must provide its own drivers for most of the peripherals that the application uses Applications DLLs INIs APIs Additional Windows Files optional Handwriting Recognition Pen Wi...

Page 302: ... with the display and other peripherals Windows applications need only conform to the general parameters of the device The intricacies of dealing with the device are handled by a Windows driver letting the application focus its attention on other tasks The retail version of Windows is delivered on several diskettes and requires from 6 to 8 megabytes of hard disk space for installation There are a ...

Page 303: ...als Windows does not allow the application to access the hardĆ ware directly that is the job of the device driver By following this approach the application does not need to concern itself with details of the display or other peĆ ripheral as long as it conforms to the API it works with any device driver WinĆ dows device drivers are typically provided by the hardware manufacturer HowĆ ever Windows ...

Page 304: ...is needĆ ed and is removed when its job is done DOS subroutines are bound to the DOS application program If two programs on a DOS PC use the same subroutine each of the DOS programs contains its own copy of the subroutine The DOS program subroutine is always present in executable memory even if it is not needed at any given time Any application that conforms to the API of a specific DLL may use th...

Page 305: ...n such as where the fonts are loĆ cated how the windows need to look the speed of the mouse etc Many applicaĆ tions create sections of their own within WIN INI as well A thorough treatĆ ment of WIN INI is beyond the scope of this section of the document information can be obtained from various outside sources including some entire books deĆ voted to the subject The other key initialization file is...

Page 306: ...exactly which files the application is expecting to have available on the disk For assistance in determining what these files are Ċ in reference to an apĆ plication that is documented in this programming guide Ċ see the appropriate paragraph for that application in this section of the document Shell Applications The shell is the first program that Windows starts and it is the program that causes W...

Page 307: ...tions include the main executable program with the EXE exĆ tension the device driver files with the DLL extension and other files that are required for the main program to execute Applications DLLs INIs APIs Additional Windows Files optional Handwriting Recognition Pen Windows Minimal Windows System Files Windows Drivers DOS DOS Drivers BIOS Hardware Often you will find that an application s execu...

Page 308: ...ers BIOS Hardware Pen Windows adds only a few files to the standard Windows configuration Basic added functionality includes enabling pen input for nonĆpenĆaware applications and handwriting recognition see below The manufacturer of penĆbased hardĆ ware devices may supply Pen Windows to users although Pen Windows is not available to end users by itself from Microsoft or OEMs The assumption is if y...

Page 309: ...sĆspecific value added software provided by Intermec Technologies Corporation there are several BIOSĆ and DOSĆlevel programs liĆ censed with the PEN KEY 6000 Series Computer The following is a list of softĆ ware included and a brief description of the software s value BIOS Basic Input Output System This is the lowĆlevel software that allows operating systems such as DOS and Windows to work on the ...

Page 310: ...lement scanning of bar codes on the PEN KEY 6000 Series Computer NPCP Printer Drivers NPCP Printer Drivers for Windows are included These drivers are required to implement printing using NPCP on the PEN KEY 6000 Series Computer IrDA Printer Drivers IrDA Printer Drivers for Windows are included These drivers are required to implement printing using IrDA protocol on the PEN KEY 6000 Series Computer ...

Page 311: ... at least 4 MB should be devoted to execution space leavĆ ing 4 MB for the RAM drive You can have one RAM Drive with a maximum size as specified in the RAM Drive paragraph in the Getting Started section of this publication Systems with External Storage The PEN KEY 6000 Series Computer offers SanDisk and flash memory cards that can dramatically increase the space available for storing applicaĆ tion...

Page 312: ...APPENDIX B Common PEN KEY 6000 Series Information B 32 PEN KEYR 6100 Computer Programmer s Reference Guide B Common PEN KEY 6000 Series Info ...

Page 313: ...1Ć21 supported 7Ć5 Boot process 7Ć3 Booting after reflashing 1Ć23 and telecommunicating 1Ć5 beep signals 1Ć16 default drive 1Ć28 from ATA card to create a RAM drive 1Ć24 INTERLNK and Windows 95 1Ć21 1Ć22 INTERSVR and Windows 95 1Ć22 Stacker and Windows 95 1Ć21 Booting ROM DOS 5 7Ć4 Borland BGI driver 5Ć16 C compiler 1Ć13 dump utility 1Ć13 Bulletin board 5Ć22 C C compiler 1Ć13 Calibration digitizer...

Page 314: ...ed memory test 7Ć4 F Flash creating custom 1Ć9 Flash memory similar to RAM BĆ16 size report 7Ć4 upgrade necessary files 1Ć11 Flash updating 6100 Master Mode boot approach 1Ć9 Flash updating 6100 preferred apĆ proach 1Ć9 Fonts bitmapped BĆ26 TrueType BĆ27 Windows BĆ26 Fuel gauge display 3Ć7 3Ć11 H Handwriter for Windows BĆ28 Handwriter Recognition licensing 1Ć12 Handwriting Recognition how it fits ...

Page 315: ... display 3Ć18 P Paper handling special NPCP printer driver 3Ć28 PC Card as RAM disk BĆ15 input output 1Ć2 support for 1Ć18 support for SystemSoft reserved adĆ dress range 1Ć24 with Stacker booting from RAM drive 1Ć24 Pen Computing Windows BĆ28 Pen digitizer Windows 3Ć15 Pen Windows and landscape mode 1Ć15 Pen Windows files how they fit into the Windows architecture BĆ28 PENALIGN EXE calibration ut...

Page 316: ...ard and enhanced Windows modes compared BĆ17 Standard APM event codes 3Ć13 Standard mode Windows BĆ17 Start from menu 1Ć17 7Ć6 Startup sequence for Windows 3Ć2 Support printing NPCP 3Ć13 scanner Windows 3Ć13 Suspend resume 1Ć3 1Ć20 6Ć13 Switches command line RAMDFMT EXE 1Ć23 installation MININET EXE 5Ć2 System files Windows how they fit into the Windows architecture BĆ22 System reset assembly code...

Page 317: ...ard mode 3Ć2 startup sequence 3Ć2 tool kit 6100 license 1Ć5 1Ć12 Windows Architecture how it all fits toĆ gether BĆ19 additional Windows files BĆ26 APIs and Windows device drivers BĆ23 application programs BĆ27 BIOS BĆ20 DLLs BĆ24 DOS BĆ21 DOS device drivers BĆ20 Handwriting Recogition BĆ29 hardware BĆ19 INI files BĆ25 Pen Windows files BĆ28 Windows device drivers and APIs BĆ23 Windows system file...

Page 318: ...GENERAL INDEX Index 6 PEN KEYR 6100 Computer Programmer s Reference Guide ...

Page 319: ... 5Ć23 6Ć4 7Ć2 7Ć6 AĆ1 AĆ2 AĆ13 AĆ16 BĆ11 BĆ12 BĆ13 BĆ14 BĆ20 CPLNI COM 6Ć4 CRC32 EXE 1Ć5 CRITICAL C BĆ6 CS EXE 1Ć20 CSALLOC EXE 1Ć20 CSALLOC INI 1Ć20 5Ć24 D DD EXE 1Ć28 DDEML DLL 3Ć5 DELAY EXE 1Ć28 1Ć29 DELETE COM 6Ć5 DEXIO BIN 6Ć3 DHCP EXE 5Ć3 5Ć4 DOSX EXE 3Ć2 3Ć3 3Ć3 DPM16BI OVI AĆ15 E EDIT COM BĆ11 EGAFIX FON 3Ć4 EGAOEM FON 3Ć4 EGASYS FON 3Ć4 ELANAPM EXE 1Ć17 1Ć27 1Ć28 2Ć2 2Ć6 2Ć8 2Ć8 3Ć4 3Ć7 4...

Page 320: ... H 4Ć8 PPCP EXE AĆ15 PPCP REG AĆ15 PPRCP RSC AĆ15 PRDRV SYS 1Ć27 2Ć12 2Ć14 PRN2COM COM 6Ć5 PRTBIOS EXT 6Ć3 PRTIO BIN 6Ć5 6Ć9 PSROM0C DAT 1Ć25 PSROM0C EXE 5Ć2 5Ć3 5Ć7 5Ć11 version 2 xx 5Ć3 version 3 xx 5Ć3 PSROM0C INI 1Ć25 R RAMCARD SYS 6Ć3 RAMCFMT EXE 6Ć3 RAMCUTIL EXE 6Ć3 RAMDFMT CTL 1Ć24 RAMDFMT EXE 1Ć23 RAMDISK EXT 6Ć3 RESET EXE 6Ć82 AĆ13 ROMDOSLO BIN 7Ć4 ROMINI BAT 6Ć4 ROMINIT BAT 5Ć2 RPLHOST E...

Page 321: ...t INT 15h 6Ć78 APM Real Mode Interface Connect INT 15h 6Ć77 Area Return Extended BIOS Data Area Segment INT 15h 6Ć87 ASCII Read Next ASCII Character INT 16h 6Ć92 Read Next Extended ASCII Character INT 16h 6Ć94 Attribute Read Attribute and Character at Cursor Position INT 10h 6Ć39 Write Attribute and Character at Cursor Position Interrupt 10h 6Ć40 B Backlight Backlight Off or On INT 10h 6Ć54 Batter...

Page 322: ...of Data INT 15h 6Ć75 Create Create a Task INT 15h 6Ć68 Current Delay Current Task INT 15h 6Ć71 Return Current Video State INT 10h 6Ć42 Return Pointer to Current Display Parameters INT 10h 6Ć53 Cursor Enable Disable Cursor Emulation INT 10h 6Ć52 Hide Cursor INT 33h 6Ć100 Read Attribute and Character at Cursor Position INT 10h 6Ć39 Read Cursor Position and Mode INT 10h 6Ć38 Set Cursor Position INT 1...

Page 323: ...Ć73 Extended Extended Initialize INT 14h 6Ć66 Extended Port Control INT 14h 6Ć67 Read Extended Memory Size INT 15h 6Ć85 Read Extended Shift Status INT 16h 6Ć95 Read Next Extended ASCII Character INT 16h 6Ć94 Return Extended BIOS Data Area Segment INT 15h 6Ć87 Set Zero Flag if Extended Key Buffer Empty INT 16h 6Ć94 F Fixed Set Fixed Mode INT 10h 6Ć55 Flag Set Zero Flag if Extended Key Buffer Empty ...

Page 324: ... 10h 6Ć47 Low Battery Request System Shutdown Low Battery INT 15h 6Ć75 M Mailbox Accept Message from Mailbox No Pend INT 15h 6Ć70 Pend on Mailbox with Optional Timeout INT 15h 6Ć70 Post Message to Mailbox INT 15h 6Ć70 Management Enable Disable Device Power Management INT 15h 6Ć82 Enable Disable Power Management INT 15h 6Ć80 Mask Get PEL Mask INT 10h 6Ć46 Set Alternate Subroutine Call Mask and Addr...

Page 325: ... PEL Mask INT 10h 6Ć46 Set PEL Mask INT 10h 6Ć45 Pen Light Pen Emulation Mode Off INT 33h 6Ć103 Light Pen Emulation Mode On INT 33h 6Ć103 Pend Accept Message from Mailbox No Pend INT 15h 6Ć70 Accept Message from Queue No Pend INT 15h 6Ć71 Pend On Keyboard INT 15h 6Ć86 Pend on Mailbox with Optional Timeout INT 15h 6Ć70 Pend on Queue with Optional Timeout INT 15h 6Ć70 Physical 6Ć53 Physical Write Im...

Page 326: ...arameters INT 10h 6Ć53 Return System Configuration Parameters Address INT 15h 6Ć87 ROM Load ROM 8x14 Fonts INT 10h 6Ć47 6Ć48 Load ROM 8x8 Fonts INT 10h 6Ć47 Set INT 43h for ROM 8x14 Font INT 10h 6Ć49 Set INT 43h for ROM 8x16 Font INT 10h 6Ć50 Set INT 43h for ROM 8x8 Font INT 10h 6Ć49 Rotated Disable Rotated Video INT 10h 6Ć59 Enable Rotated Video INT 10h 6Ć59 S Save Save Driver Status INT 33h 6Ć10...

Page 327: ...NT 15h 6Ć72 Teletype Teletype Character Write INT 10h 6Ć42 Termination Program Termination INT 15h 6Ć83 Text Repaint Text Window INT 10h 6Ć57 Set Text Cursor INT 33h 6Ć102 Threshold Set Double Speed Threshold INT 33h 6Ć103 Ticks Read System Timer Ticks INT 1Ah 6Ć97 Set System Timer Ticks INT 1Ah 6Ć97 Time Read the Real Time Clock Time INT 1Ah 6Ć97 Set the Real Time Clock Time INT 1Ah 6Ć98 TimeĆSli...

Page 328: ...4 Wait INT 15h 6Ć84 Window Get Window Size INT 10h 6Ć58 Repaint Text Window INT 10h 6Ć57 Write See also specific function under applicable noun Absolute Write String INT 10h 6Ć57 Physical Write Image INT 10h 6Ć58 Teletype Character Write INT 10h 6Ć42 Z Zero Set Zero Flag if Extended Key Buffer Empty INT 16h 6Ć94 Set Zero Flag if Key Buffer Empty INT 16h 6Ć92 ...

Reviews: