Intermec 6100 Reference Guide

Page of 328
SECTION 6
Conversions and Interfaces
PEN*KEY
R
 6100 Computer Programmer’s Reference Guide    6-7
Applications that use drive tables may need to change the file maintenance done
after communications.  Applications which attempt to move files from one drive
to another, to conform to the drive table, should be changed to ignore drive D:,
which is the Flash, a readĆonly drive.
Printers
The 4805 Endcap Printer is not supported by the PEN*KEY 6000 Series ComĆ
puters.  Remove any code that is specific to the 4805 Printer.
Communications
References to COM3 must be changed.  On the 4000 Series, COM3 refers to the
same port as COM1, but ignores the modem control signals RTS and CTS.  INT
14h function 5, provided by 4000API.EXE, can ignore modem control signals on
COM1 when needed.
Remove any reference to internal modems for the 4000 Series.  This includes
turning on/off switch V+ (Norlib function NRSwitchVplus).
PEN*KEY 6000 Series applications can utilize PC modems.
Reset
It is important to remember that all variables lose their values when the 6100
Computer is reset.  Any information needed to recover from a reset must be writĆ
ten to a file so that it can be retrieved.
Memory
Verify that the memory requirements of the application can be met.  On the 4000
Series, it is possible to achieve executable memory sizes of greater than 640K.
This is not true on the 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 previous
state when finished.  Therefore, applications should initially turn power off to
certain components.  For example: COM ports, the LAN adapter, and the touch
screen.  NORDOSPM.EXE provides this capability, or the Norlib function
NRApmSetPower
 can be used within an application.  Refer to the Power
Management section of this publication.
Norlib
Use Norlib V2.00 or greater (or prerelease V1.20) for the PEN*KEY 6000 Series
handĆheld computers.  NRCursorSet does not support a blinking cursor on
PEN*KEY 6000 Series Computer.
PL/N Application Changes
In the interest of maintaining a single set of source code for applications that reĆ
quire changes that are different for each platform, these changes should be imĆ
plemented using the ++ifdef" conditional compile facility of the PL/N compiler
preprocessor.  By convention, use ++ifdef 6000" to encase code that should exeĆ
cute only on a PEN*KEY 6000 Series system.  For further information on the
++ifdef" facility, refer to the PL/N 4000 Series Reference Manual, Volume 1.
General Source Changes
In the HISTORY section, include explicit comments on changes and modules that
were changed.
6. Conversions and
Interfaces