Pelco 9770 manual DOS Environment and Command Reference, AUTOEXEC.BAT and the Boot Process

Page 55

DOS ENVIRONMENT AND COMMAND REFERENCE

DOS stands for Disk Operating System. Every time you turn on the CM9700-CC1 or every time you reboot (Alt +Ctrl +Del), the computer loads DOS from the CC1 disk into the memory (RAM). Once loaded DOS lets you run other programs, in particular, the CM9700.EXE program.

On factory-configured systems the autoexec.bat file is configured for one of the following scenarios:

The boot process ends at the following system prompt (c:\9700>).

The boot process loads and executes the CM9700.EXE program.

THE BOOT PROCESS

The following process occurs when the CC1 is turned on or is rebooted:

1.If turned OFF and then turned ON, the CC1 goes through a power-on self-test (POST). Here the computer essentially examines its electronic components.

2.The computer looks at drive A for a DOS system disk. If one is not there, the CC1 will load DOS from its hard drive.

3.This process looks for two “hidden” system files: IO.SYS and MSDOS.SYS. If these files are not present, DOS displays the “Non-System disk or disk error” message. (The CC1 also displays this error during the boot process if there is a floppy disk in the A drive that has no system files).

4.If the “hidden” files are present, IO.SYS loads first and executes. An initialization program called SYSINIT contained within IO.SYS reads in the MSDOS.SYS file; SYSINIT next locates the CONFIG.SYS file and executes its files for it to configure itself in memory. Then, SYSINIT locates and invokes COMMAND.COM. If SYSINIT cannot find COMMAND.COM, DOS displays the “Bad or missing Command Interpreter“ error message.

NOTE: Since COMMAND.COM is not a hidden file, it is possible that it could accidentally be moved, corrupted or erased. If this occurs, you may need to start DOS from a floppy disk and COPY COMMAND.COM into the CC1s root directory.

5.If SYSINIT finds and loads COMMAND.COM, it, in turn, searches your root directory for the AUTOEXEC.BAT file. If it exits, COMMAND.COM will cause the AUTOEXEC.BAT file to execute. If AUTOEXEC.BAT does not exist, the DATE and TIME commands are invoked by COMMAND.COM. After entering date and time information, the basic system prompt (C:>) appears. This completes the startup or boot process.

You cannot separate the boot process from CC1 initialization. The DOS boot process must succeed before the CM9700.EXE program can run. The result of the DOS initialization process is that you either have a system prompt on a DOS screen or, as part of the boot process, the CM9700.EXE program has been invoked. In the latter case, the System window of the diagnostic screen displays “Setup Complete…” if everything initialized OK; otherwise, an applicable error message appears.

AUTOEXEC.BAT AND THE BOOT PROCESS

The AUTOEXEC.BAT file is the last file called during the boot process. For CC1s configured as part of a system node at the factory, the end result of this process is the appearance of the CM9700 diagnostic screen on the attached VGA monitor.

The factory-configured boot process occurs because of the instructions added to the AUTOEXEC.BAT file. The AUTOEXEC.BAT file is a batch file, which contains a series of instructions that are executed serially when the file is called.

Invoking the CM9700 Executable

The following commands are the last two in the AUTOEXEC.BAT file:

CD9700

This command directs DOS to the 9700 directory where the 9700 executable resides.

CM9700 Node1

This command starts the executable (CM9700) and directs the program to load into memory all configuration files having the

 

collective prefix name of “Node1” (also located in the same directory).

The program continues to configure the system environment and goes on line. If everything is functioning properly, the “Setup Complete” message appears on the CM9700 diagnostic System Window on the attached VGA monitor.

If you change the name (the prefix) of your current flat files or copy a new set of configuration files (with a different name) to the 9700 directory, then you must change the AUTOEXEC.BAT file to correspond.

C1555M-G (12/07)

55

Image 55
Contents System C1555M-G 12/07 Contents List of Illustrations List of Tables Description Network Interface Unit ModelsController and CPU Components Matrix BayOptional Components KeyboardsCompatible Receivers CM9770-MXB InstallationUnpacking CM9700-CC1CM9770-MXB Mounting Baffle MountingMounting the CM9770-MXB on Top of the Mounting Baffle Mounting the CM9700-CC1 Opening the CM9770-MXB Front Cover Video INPUT/OUTPUT ConnectionsRemove a Video Card Installing Video Input Cards CM9770-VCCHow to Turn On the Pelco V-Sync Signal Insert or Replace a Video CardInsert or Replace a Monitor Card Installing Monitor Output Cards CM9770-VMCRemove a Monitor Card Performing a Basic LED Check Color Diagnostic CheckTable A. LEDs Illuminated During a Basic Check Insert or Replace a Rear Panel Video BNC Card CM9770-RPC Installing Rear Panel BNC CardsRemove a Rear Panel Video BNC Card CM9770-RPC CM9770-RPC Termination Jumpers-Right Card Looping Video Out from the CM9770-MXB Looping VideoInsert or Replace a Rear Panel Monitor BNC Card CM9770-RPM Single Bay Video INPUT/OUTPUT CapacityMultiple Bays, Single Node Sample Sideframing System Using an Output Bay Sample Single-Node System with Downframing Sample Networked System Networked SystemInstall a Backup Power Supply Power Supply Module CM9700-MPSRemove a Backup Power Supply How to Replace a Power Supply Fuse HOW to Replace the Fuse in a Power Supply ModulePower Supply Alarm Speaker Switch HOW to Turn OFF the Audible Power Supply AlarmCM9700-CC1 Device Connections System Device ConnectionsCM9700-MGR PC Pin-Out Detail As necessary NIU connection RS-422 COM Port Sercom ConnectionsNot have to be in sequential ports MXB connections Table D. Data Connections-Single Node, Hot-Switched SystemSwitch Switch NIU connectionSample CM9770-MXB to CM9700-CC1 Connection Initialize the CC1 System Start-UpInitialize Keyboards Verify System OperationDisplay the CM9770-MXB Software Version Level Monitor Color AdjustmentDisplay a Blue Raster Screen Programming Your System Sample Wizard Getting Help Using CM9700-MGROperating Your System OperationAppendix HOW to Expand Your SystemSystem Architecture Sideframing Downframing Downframing with DFC Cards Downframe Cards DFC Card ISA Slot Number W1 IRQ Setting HOW to Install or Replace a CM9700-SER Card in the CC1How to Install a CM9700-SER Card Video Input Card CM9770-VCC Detail When LED Is OnMonitor Output Card CM9770-VMC Detail Color When LED is on or blinkingData Protection Test ModeColor System Port 1 RS-422 Baud RateNetworking Programming Satellite Devices Connecting Satellite DevicesCM9700-VPP Vertical Mount HOW to Install Video Patch Panels CM9700-VPPMounting the CM9770-MXB in an Open Rack Mounting the CM9770-MXB in AN Open RackInvoking the CM9700 Executable DOS Environment and Command ReferenceBoot Process AUTOEXEC.BAT and the Boot ProcessExample PATH=c\c\dosc\windows DOS CommandsFile Names and DOS Navigating the DOS Directory TreeChange to the 9700 directory Using the Wild Card CharacterManipulating Files in the DOS Environment Example\CD DOS ReferenceBy default, DOS searchers just the current directory Help commandFloppy of a disk formatted using this switch Backslash \ symbolVCC Card CF LED Is Illuminated and the AUX LED Is Blinking TroubleshootingProblems with the CC1 Symptom Possible Cause Corrective ActionFront Panel Label Color Monitor Display ProblemsLED Indicators on the Power Supply Module SwitchSpecifications Communication Differential Gain 51% Differential Phase DegreesSignal to Noise Ratio 71dBrms Input VoltageCM9780-MXB Regulatory NoticesProduct Warranty and Return Information ISO9001