## Using Your DDK

[prev][next][parent][TOC]

### Clock Device Driver (Family 1 and Family 2)

Driver Description:

The CLOCK Device Driver drives the real time CMOS clock for Family 1 (AT) and Family 2 (PS/2) machines.

Compilers/Assemblers Required:

         Microsoft MASM 5.1      (supplied with the DDK)

Build Instructions:

1.Set the environment variables so the correct tools are picked up during the build.

    e.g., SET PATH=<drive>:\DDK\TOOLS;%PATH%

Where <drive> represents your DDK installed drive and DDK represents the DDK installed directory. On the CD-ROM, the TOOLS directory path is DDK\ TOOLS.

Note: You must build the Family 1 Clock driver before you build the Family 2 Clock driver.

To build the Family 1 Clock Driver:

2.Change the directory to DDK\BASE\SRC\DEV\CLOCK\CLOCK01.

3.Invoke NMAKE on the resident makefile.

To build the Family 2 Clock Driver:

4.Change the directory to DDK\BASE\SRC\DEV\CLOCK\CLOCK02.

5.Invoke NMAKE on the resident makefile.

Files Created by Successful Build:

         Family 1 Clock:
         Directory:  \DDK\BASE\SRC\DEV\CLOCK\CLOCK01

         o  CLOCK01.SYS

         Family 2 Clock:
         Directory:  \DDK\BASE\SRC\DEV\CLOCK\CLOCK02

         o  CLOCK02.SYS