SECTION 1
Getting Started
PEN*KEY
R
6200/6300 Hand-Held Computer Programmer’s Reference Guide 1-35
FNDROMD
.
COM
Identify ROM Drive
This utility identifies the drive letter that corresponds to your ROM drive. The
drive letter is returned in the same way that FNDRAMD.COM does.
ISRAMDRV.COM
Determine if RAM Drive Exists
This program returns an error level that answers the question, Do I have a
RAM drive?" If the error level is set to zero, then a RAM drive exists. Use this
command in batch files to indicate whether a RAM drive was already formatted.
Batch file example:
ISRAMDRV.COM
IF ERRORLEVEL 1 GOTO NoRamDrive
IF NOT ERRORLEVEL 1 GOTO RamDrivePresent
MMBFLAG.COM
Set/Get ROM DOS Boot Flags
This program satisfies a couple of batch file needs:
1. The error level returned by MMBFLAG.COM indicates the current value of
the ROM DOS boot flags. The boot flags keep track of the default boot
drive and serve as an indicator of Master Mode Booting.
2. You can change the default boot drive by supplying a simple command
parameter:
MMBFLAG.COM 0
(Drive A:)
MMBFLAG.COM 1
(Drive B:
MMBFLAG.COM 2
(Drive C:)
MMBFLAG.COM 3
(Drive D:)
Table 1Ć7
MMBFLAG.COM Error Levels
Error
Level Meaning
131
Master Mode Boot from drive B (default boot drive is D)
130
Master Mode Boot from drive B (default boot drive is C)
129
Master Mode Boot from drive B (default boot drive is B)
128
Master Mode Boot from drive B (default boot drive is A)
3
Drive D is the default boot drive
2
Drive C is the default boot drive
1
Drive B is the default boot drive
0
Drive A is the default boot drive
RESET.EXE
Reset the System
Enables batch files or other software to reset the system.
THISDRV
.
COM
Identify the current drive
This utility identifies the drive letter that corresponds to your current drive. The
drive letter is returned in the same way that FNDRAMD.COM does.
1. Getting Started