## Using Your DDK

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

### 32-Bit PM (SVGA 256) Display Driver

Driver Description:

The 32-Bit PM (SVGA 256) Display Driver builds SVGA display devices for the Presentation Manager interface. The DDK contains source code for three different resolutions of SVGA drivers-640x480, 800x600, and 1024x768-all with 256 color support. The corresponding SVGA DLL provides SVGA support when it is renamed to IBMDEV32.DLL and is used with IBMVGA32.DLL.

Compilers/Assemblers Required:

         Microsoft MASM 6.0

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.

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

    e.g., COPYASM6 <MASMdrive>:\'MASM60' <drive>:\DDK

Where <MASMdrive> represents the Microsoft MASM 6.0 installed drive and ' MASM60' represents the Microsoft MASM 6.0 installed directory, <drive> represents your DDK installed drive and DDK represents the DDK installed directory.

3.Change the directory to DDK\VIDEO\SRC\VIDEO\VGA32\SVGA256.

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

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

Build Notes:

1.The device-specific DLL that is built will need to be renamed to IBMDEV32.DLL before it can be used in conjunction with IBMVGA32.DLL to make up the SVGA driver.

2.If the following error message is found during the compile:

    fatal error: A1017: out of near memory

remove unnecessary settings from your environment variables and run NMAKE again.

Files Created By Successful Build:

    32-Bit SVGA 256 Display Driver

         Retail Version of 640x480:
         Directory:  \DDK\VIDEO\REL\OS2C\RETAIL\BASE\OS2\DLL

         o  SV480256.DLL

         Debug Version of 640x480:
         Directory:  \DDK\VIDEO\REL\OS2C\DEBUG\BASE\OS2\DLL

         o  SV480256.DLL

         Retail Version of 800x600:
         Directory:  \DDK\VIDEO\REL\OS2C\RETAIL\BASE\OS2\DLL

         o  SV600256.DLL

         Debug Version of 800x600:
         Directory:  \DDK\VIDEO\REL\OS2C\DEBUG\BASE\OS2\DLL

         o  SV600256.DLL

         Retail Version of 1024x768:
         Directory:  \DDK\VIDEO\REL\OS2C\RETAIL\BASE\OS2\DLL

         o  SV768256.DLL

         Debug Version of 1024x768:
         Directory:  \DDK\VIDEO\REL\OS2C\DEBUG\BASE\OS2\DLL

         o  SV768256.DLL