## Using Your DDK

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

### Optical Device Driver

Driver Description

The optical device driver provides support for SCSI optical drives that utilize 512-byte sector media.

Build Requirements:

         Microsoft C 6.0
         Microsoft MASM 5.1 (supplied with the DDK)

Build Instructions:

To build the Device Driver:

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.

2.Before the FIRST build is attempted, run (only once) the COPYC60.CMD REXX command file located in the DDK\TOOLS directory. This command file copies the set of needed files from your copy of the Microsoft C 6.0 compiler to the proper directories under the DDK base directory.

          e.g.,
             COPYC60 <MSCdrive>:\'MSC60' <drive>:\DDK
          Where:
                <MSCdrive> represents the Microsoft C 6.0 installed drive and
                'MSC60' represents the Microsoft C 6.0 installed directory,

                <drive> represents your DDK installed drive and
                DDK represents the DDK installed directory.

3.Change the directory to DDK\BASE\SRC\DEV\DASD\OPTICAL\DMD

4.Invoke NMAKE on the resident makefile.

Files Created by Successful Build:

         Directory:  \DDK\BASE\SRC\DEV\DASD\OPTICAL\DMD

         o  OPTICAL.DMD