APPENDIX A
Sample Configuration Files
A-20 PEN*KEY
R
6200/6300 Hand-Held Computer Programmer’s Reference Guide
DEVICE=D:\CARDID.EXE
INSTALL=D:\CS_APM.EXE
DEVICE=D:\NORAPM.EXE
DEVICE=D:\NPOWER.EXE /ID:4 /BB:50 /B1:30 /B2:30 /B3:30
DEVICE=D:\CLOCK.EXE
DEVICE=D:\BATWARN.EXE
DEVICE=PC4800.SYS LPT1 1 /I1
DEVICE=STACKER.COM /p=1 E:
INSTALL=D:\4000API.EXE
INSTALL=D:\MININET.EXE
AUTOEXEC.BAT
@ECHO OFF
REM Determine which drive was booted
BOOTDRV.COM
REM ERRORLEVEL 4 indicates that D: was booted, which means the NORAND
REM Utilities program executed this AUTOEXEC.BAT
IF ERRORLEVEL 4 GOTO BOOTCARD
IF ERRORLEVEL 3 GOTO BOOTC
:BOOTCARD
REM If the default RAM drive size is not acceptable, reformat it here
REM D:\RAMDFMT.EXE –s1024
REM Copy files needed for booting from the RAM drive
COPY *.* C: /V
REM Make the RAM drive the boot drive
MMBFLAG.COM 2
REM Reset the computer
RESET.EXE
:BOOTC
REM If booting from the RAM drive, make sure the card is set up
IF EXIST E:\AUTOEXEC.BAT GOTO CONTINUE
REM If files are not on the card, then assume the application files were
REM downloaded to the RAM drive using the Norand Utilities program. Copy the
REM files to the card.
XCOPY *.* E:\ /S/E/V
:CONTINUE
REM Execute the application from E:
PATH=E:\MYAPP
MYAPP.EXE
Setups for Third Party Applications
The following 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 toolkit (such as the mouse and calĆ
ibration programs), some are supplied with PenPal, and some can be separately
purchased from Norand Mobile Systems Division of Intermec Technologies CorĆ
poration.
Sample PenPal (DOS) Setup
The following is an example of DOS code that could set up PenPal (DOS),
through the use of an AUTOEXEC.BAT file on a 6300 Computer. Note the difĆ
ferences for a 6200 Computer.
PATH a:\;d:\;
REM Disable Video Memory writes as Activity
D:/VACTIVE –D
REM Load the PEN PAL pen driver
call PENDOSEM.BAT
A. Sample
Configuration Files