## Using Your DDK

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

### Joystick Virtual Device Driver and Applications

Driver Description:

The IBM PC game port adapter provides a simple interface to joysticks and other similar analog devices. This component includes the OS/2 device driver source code for the PDD/VDD pair and OS/2 source code for the JOYTUNE and JOYTEST applications.

Compilers/assemblers Required:

         Microsoft Assembler 5.0
         IBM C Set ++ V2.01

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 COPYCSET.CMD REXX command file in the DDK\TOOLS directory. This command copies the set of needed files from your copy of the IBM C Set ++ V2.01 compiler to the proper directories under the DDK base directory.

    e.g., COPYCSET <IBMCdrive>:\'IBMC' <drive>:\DDK

Where <IBMCdrive> represents the IBM C Set ++ V2.01 installed drive and ' IBMC' represents the IBM C Set ++ V2.01 installed directory, <drive> represents your DDK installed drive and DDK represents the DDK installed directory.

3.Change the directory to \DDK\BASE\SRC\VDEV\MME\VJOY.

4.Invoke NMAKE on the resident makefile.

5.Invoke NMAKE DEBUG to build the debug version.

Files Created By Successful Build:

         Directory:  \DDK\BASE\SRC\VDEV\MME\VJOY

         Retail Version:

         o  GAMEVDD.SYS
         o  JOYTEST.EXE
         o  JOYTUNE.EXE

         Debug Version:

         o  DGAMEVDD.SYS