## Presentation Device Driver Reference for OS/2

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

### DSPINSTL Command Language Interpreter

The interpretation of the DSPINSTL commands in the DSPINSTL Display Driver Profile files is the final stage of the DSPINSTL process. The interpretation is performed by the DSPINSTL Command Language Interpreter. The interpreter operates by interpreting the contents of DSPINSTL Display Driver Profile files (DSP files) that contain DSPINSTL commands. DSPINSTL commands specify the basic installation and configuration operations that will be performed by the utility program. Each DSP file is tagged with a keyword string that identifies the file.

The DSPINSTL Command Language Interpreter selects DSP files for interpretation by traversing the data element chain. The chain was first initialized by the Configuration File Interpreter, and then might have been modified through the operation of action routines. Each data element corresponds to an installation/configuration "step." Among other uses, this multistep architecture allows DSPINSTL installation and configuration to be partitioned over multiple source diskettes (with each diskette handled in separate steps).

DSPINSTL provides a PM panel that allows the user to override the default value for the source directory that is to be used for a given step. The data chain element also includes a DSP file keyword string. The DSPINSTL Command Language Interpreter will interpret all DSP files in the source directory that are tagged with that keyword string.

It is the DSPINSTL commands that do the actual work of display driver installation and configuration. All the preceding DSPINSTL activities act to properly set up this final stage on a given user's system. In addition to commands that copy files and modify configuration files, there is a special RUN command that can be used to run specified programs during DSP file interpretation. Among other things, such programs can generate DSPINSTL commands that are immediately interpreted by the DSPINSTL Command Language Interpreter. This is the final manner in which the display driver developer can customize DSPINSTL execution.