## Display Device Driver Reference for OS/2

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

### Building the 32-Bit Super VGA Display Driver

The supplied display drivers can be built using the NMAKE Utility in the IBM Developer Connection Device Driver Kit for OS/2. (The NMAKE Utility is particularly useful in programs consisting of several source files because it builds only those components that have changed since the program was compiled last.) The following six drivers can be built from the same source set:

    640 x 480    256 colors   Debug version

    640 x 480    256 colors   Retail version

    800 x 600    256 colors   Debug version

    800 x 600    256 colors   Retail version

    1024 x 768   256 colors   Debug version

    1024 x 768   256 colors   Retail version

Each of the drivers supports all six of the previously-mentioned chip sets. The debug versions of each driver have enabled all code within the ifdef FIREWALLS conditional compilation, which provides some extra error checking and messages through the kernel debugger.

By default, all the drivers are built just by typing the NMAKE command. Individual drivers can be built by passing the following parameters to NMAKE:

        NMAKE  [vertical resolution].[debug or retail flag]

        for example:

            NMAKE 768.ret
            - builds the 1024 x 768 retail driver.

            NMAKE 600.deb
            - builds the 800 x 600 debug driver.

            NMAKE 480
            - builds both the debug and retail 640 x 480 drivers.

            NMAKE retail
            - builds all resolutions of retail drivers.