beautypg.com

The resident driver for dos/windows – Meinberg GPS167PC User Manual

Page 17

background image

17

The resident driver for DOS/Windows

The resident driver PCPSDRV.COM runs with DOS version 2.11 or greater, Win-
dows 3.x, or Windows 9x. It uses only about 1500 bytes of memory and periodically
synchronizes the computer´s system time to the board time. Additionally, the driver is
able to display the board´s time continuously in a window on the text screen. This
feature can be enabled and controlled by some of the utility programs (see next
chapter).

In order to avoid conflicts accessing the board the driver should not be installed or

be temporarily disabled using the utility DRV.EXE if user-written software accesses
the board.

If the driver has to be installed every boot time, it should be called from the

AUTOEXEC.BAT which should reside in the root directory of the boot drive. Assu-
ming the driver file can be found in the directory MEINBERG on drive C:, a
command line like that shown below should be added to the AUTOEXEC.BAT using
any text editor:

C:\MEINBERG\PCPSDRV [port] [U:xxxx] [I] [R]

The parameter port is only needed for clocks with ISA bus, if the I/O port base
address does not match the default I/O address (300 hex). If a clock with PCI bus or
Microchannel bus is installed then the program will automatically retrieve the I/O
address from the computer's BIOS.

The optional parameter U:xxxx can be used to set the time span to be used for the

periodical update of the system time. Valid numbers for xxxx are 1 to 3600 (seconds).
If this parameter is omitted the time span defaults to 1800 seconds (= 30 minutes).

By default the driver will adjust the computer´s system time only if the clock has

synchronized at least once after power-up (Status: Synchronized after last Reset). If
the clock is installed in an environment where the RF signal can not be received
properly the parameter I may be given on the command line to let the driver ignore
that status flag and adjust system time even if the clock has not synchronized after
power-up.

The last parameter R tells the resident driver to set the real time clock in AT

compatible computers directly. This is only required if the DOS/BIOS interrupts
which modify the computer´s time are redirected by other applications as on Novell
Netware 2.xx file servers. In the default case this parameter should not be used in
order to minimize the execution time of the resident driver.