## Using Your DDK

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

### MPEG Video Playback Physical Device Driver Template

Driver Description:

The MPEG Video Playback Physical Device Driver (PDD) Template provides a framework you can use to create PDDs for other video playback devices.

Source files include documented headers, which provide detailed descriptions of the programming concepts and routines. The code in this template was derived from a working driver; however, all hardware-specific code and header files have been removed.

Compilers/Assemblers Required:

         Microsoft MASM 5.1         (supplied with the DDK)
         Watcom C 10.0 'B' Level or higher

Note: Watcom 'B' Level files are available through CompuServe or TCP/IP at ftp.watcom.on.ca in the \PUB\BBS\LANG_V10.0\C directory.

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.Make sure the Watcom 10.0 'B' Level or higher compiler is installed and the environment variables are correctly set.

    e.g.,
      SET WATCOM=<watcomdrive>:\'watcom'
      SET PATH=<watcomdrive>:\'watcom'\BINB;%PATH%
      SET INCLUDE=<watcomdrive>:\'watcom'\H;%INCLUDE%
      SET LIB=<watcomdrive>:\'watcom'\LIB;%LIB%

Where <watcomdrive> represents the Watcom 10.0 'B' Level or higher installed drive and 'watcom' represents the Watcom 10.0 'B' Level or higher installed directory.

3.Change the directory to DDK\BASE\SRC\DEV\MME\MPEGPLAY.

4.Invoke NMAKE on the resident makefile.

Files Created By Successful Build:

         Directory:  \DDK\BASE\SRC\DEV\MME\MPEGPLAY

         o  VIDRMS.SYS