SECTION 2
Supporting DOS Applications
2-2 PEN*KEY
R
6200/6300 Hand-Held Computer Programmer’s Reference Guide
DOS Power Management Drivers: NPOWER.EXE,
NORAPM.EXE
Device drivers, NPOWER.EXE and NORAPM.EXE, are part of the Advanced
Power Management (APM) system when running under DOS.
NPOWER broadcasts APM events to applications, notifies the APM BIOS when
the system is busy performing DOS calls, and provides a command line interface
for configuring APM settings (most of which are managed by NORAPM).
NORAPM.EXE is the interface between applications and the APM BIOS. It
installs an APM BIOS; then gathers information from this BIOS and broadcasts
the information to APMĆaware applications. It also monitors DOS function calls
and notifies the APM BIOS when the system is busy.
For more information, see Section 4.
Installation
To run NPOWER.EXE and NORAPM.EXE, they must be installed as device
drivers, in the CONFIG.SYS file, at system startup time. NORAPM.EXE takes
no parameters and must be installed prior to NPOWER.EXE.
These would be a typical entry in the CONFIG.SYS file:
device=norapm.exe
device=npower.exe
device=clock.exe
After installation, NPOWER displays the program name and version, similar to
the following:
NORAND Power Monitor Extension
Version n.nn
Copyright (C) nnnn by Norand Corporation
"
NOTE:
In future revisions of this product, the name, Intermec Technologies Corporation, may appear
after the Copyright in the line above.
Operational Switches for NPOWER.EXE
NPOWER provides switches for both installation and command line operation.
The table on the next page enumerates the states that are valid for certain
switches, as per the APM BIOS specification. Remember, as you read the
installation descriptions that follow for any particular INT 15h call, NPOWER
may report an error, based on the configuration of the HHC.
For example, if a command to set the POD power on a 6200 Computer is issued,
NPOWER does not report an error because that option is not supported on the
6200 Computer.
States
0 Ready
1 Standby
2 Suspend
3 Off
2. DOS
Applications