## Using Your DDK

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

### 32-Bit DASD Device Manager

Driver Description:

The OS/2 DASD Device 32-bit Manager is the physical interface to the DASD I/O subsystem. At initialization, OS2DASD communicates with OS2LVM in order to compile and retain a current logical/physical view of the attached DASD devices.

Compilers/Assemblers Required:

           Microsoft MASM 5.1  (supplied with the DDK)
           Microsoft C 6.0
           IBM Visual Age V3.6.5

Build Instructions:

1. Ensure the necessary compilers and assemblers are installed.

2. Run the COPYVA36.CMD command file located in the DDK\TOOLS directory. COPYVA36.CMD copies the set of needed files from your copy of the IBM Visual Age compiler to the proper directories under the DDK base directory.

e.g., COPYVA36 <VACpath> <DDKpath>

    where 	<CSETpath> represents the IBM Visual Age install directory
    	<DDKpath> represents the DDK install directory

3. Run the SETCMPLR.CMD command file located in the DDK\TOOLS directory. . This command initializes environment variables to be used during the build.

e.g., SETCMPLR <MSCpath> <VACpath> <CSETpath> <DDKpath>

    Where <MSCpath> represents the Microsoft C 6.0 install directory
           <VACpath> represents the IBM Visual Age C++ install directory
           <CSETpath> represents the IBM C Set ++ install directory
           <DDKpath> represents the DDK install directory

Note: A period (.) may be substituted for a compiler directory that is not used during the build.

4. Change the directory to DDK\BASE32\SRC\BASEDD\DASD\OS2DASD.

5. To build the retail version, invoke NMAKE with target RETOS2C on the resident makefile.

6. To build the debug version, invoke NMAKE with target DBGOS2C on the resident makefile.

Files Created by Successful Build:

    Retail Version:
         Directory: \DDK\BASE32\REL\OS2C\RETAIL\BASE\OS2\BOOT
         o  OS2DASD.DMD
         Debug Version:
         Directory: \DDK\BASE32\REL\OS2C\DEBUG\BASE\OS2\BOOT
         o  OS2DASD.DMD