Intermec 6100 Reference Guide

Page of 328
SECTION 1
Getting Started
1-28    PEN*KEY
R
 6100 Computer Programmer’s Reference Guide
"
NOTE:
Be aware that the Magnetic Stripe Reader (MSR) software is still evolving.  It reads most
common codes, but is currently being modified to work with some of the less common codes.
Which means, if you write an application for the current MSR, then when a new MSR is re-
leased at a later date, your application will be tied to the way the old MSR works, and may
not work with the new MSR.
Utility Programs
ELANAPM.EXE:  APM BIOS Installation for DOS
This is a DOS TSR (taking no parameters) that installs an APM BIOS for the
6100 Computer.  This program is needed if you want to run NORDOSPM.EXE.
ELANAPM.EXE and NORDOSPM.EXE could be called from the
AUTOEXEC.BAT file.  But the alternate and preferred method is to place the
following statement in the CONFIG.SYS file.
device=d:\elanapm.exe
device=d:\nordospm.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 Enhancers
BOOTDRV.COM:  Determines Default Boot Drive
This application was for use in batch files that have a requirement to determine
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 diskette images.
1. Getting Started