SECTION 1
Getting Started
PEN*KEY
R
6200/6300 Hand-Held Computer Programmer’s Reference Guide 1-33
Utility Programs
NORAPM.EXE
APM BIOS Installation for DOS
This is a DOS TSR (taking no parameters) that installs an APM BIOS for the
PEN*KEY 6000 Series computers. It is needed for running NPOWER.EXE. See
the
DOS Power Management
paragraph in Section 2 for details for installing
NPOWER.EXE.
62CALIB.EXE
DOS Pen Calibration utility (6200 Computer) See the
DOS Pen
Calibration
paragraph in Section 2 for more information.
CALIB.EXE
DOS Pen Calibration utility (6300 Computer)
See the
DOS Pen Calibration
paragraph in Section 2 for more information.
PENALIGN.EXE
Windows Pen Calibration
A Windows penĆcalibration utility. See the
Windows Pen Calibration
paragraph
in Section 2 for more information.
DOS Batch File Enhancers
BOOTDRV.COM
Determine Default Boot Drive
This application is for use in batch files that have a requirement to know which
drive was the default drive when the system was first booted. It returns an error
level indicating which drive is the boot drive:
1=A, 2=B, 3=C, ...
This program performs two simple DOS calls:
mov
ax, 3305h
; Get boot drive
int
21h
; DL = boot drive
mov
al, dl
; errorlevel = boot drive
mov
ah, 4Ch
; Exit( errorlevel );
int
21h
Batch file example:
BOOTDRV.COM
SET BootDrive=A:
IF ERRORLEVEL 2 SET BootDrive=B:
IF ERRORLEVEL 3 SET BootDrive=C:
IF ERRORLEVEL 4 SET BootDrive=D:
DD.EXE
Disk Duplicator
This utility copies SRAM and disk images.
DELAY.EXE
Display Message, Wait, Pause, Return Error Level
Serves four functions:
1. Display a message to the screen (like the Echo command).
2. Wait for some amount of time to expire before continuing (like a Sleep
command or DOS 6 Choice command with a timeout specified).
3. Pause execution of the system until a key is pressed, such as Pause."
4. Return an error level based on which key, if any, was pressed (like the DOS
6 Choice command).
The first three functions can be performed even when DELAY is loaded as a
device driver. Since the error level concept does not apply to CONFIG.SYS
processing, the fourth function applies only to command line (or batch file)
execution. To perform each of these functions:
1. No command line parameters are required to display the message
Press any
key to continue . . .
To display one or more different messages, supply the
new messages in double quotes on the command line. Each quoted text
string displays on a separate line. A null message (") displays a blank line.
To keep the cursor positioned immediately following the last character
displayed, do not use the trailing quote ("). To display a message without
waiting for a timeout or a key press, specify zero (/0) for a delay timeout.
1. Getting Started