Dismiss
InnovationQ will be updated on Sunday, Oct. 22, from 10am ET - noon. You may experience brief service interruptions during that time.
Browse Prior Art Database

Enhancements for Adapter Description File Language

IP.com Disclosure Number: IPCOM000106124D
Original Publication Date: 1993-Sep-01
Included in the Prior Art Database: 2005-Mar-20
Document File: 4 page(s) / 104K

Publishing Venue

IBM

Related People

Hartley, J: AUTHOR [+3]

Abstract

Disclosed are enhancements for the Adapter Description File (ADF) language used in PS/2* Micro Channel* Systems, provid ing a capability for this language to adapt to new system features and underlying hardware. Flexibility is provided in this language to allow the Setup program to retrieve system data while it is running. When this data is used in IF statements, the Setup program can tailor the system configuration.

This text was extracted from an ASCII text file.
This is the abbreviated version, containing approximately 52% of the total text.

Enhancements for Adapter Description File Language

      Disclosed are enhancements for the Adapter Description File
(ADF) language used in PS/2* Micro Channel* Systems, provid ing a
capability for this language to adapt to new system features and
underlying hardware.  Flexibility is provided in this language to
allow the Setup program to retrieve system data while it is running.
When this data is used in IF statements, the Setup program can tailor
the system configuration.

      An expression within an IF statement, which is evaluated to
determine whether it is true, may contain certain keywords defined as
relational operators and other keywords defined as ADF functions,
which provide and evaluate data during the execution of the program.
A DEFSYM statement may be used to define a dynamic symbol, and a
SYSDATA function is used to provide access to system information from
a wide range of system resources.

      An IF/ELSE control structure is added to the ADF language,
having the following general syntax, in which the ELSE statement is
optional:

            IF expression
                  {
                  statement
                  .....
                  statement
                  }
            ELSE
                  {
                  statement
                  .....
                  statement
                  }

      The expression, which is composed of numbers and of dynamic
symbols formed with Boolean and Relational operators, can be
evaluated to be true (non-zero) or false (zero).  Parentheses are
used in an expression to define precedence or associativity.  The
brackets ({}) may be omitted if only one statement is listed.  In an
expression, certain keywords are defined as relational operators,
with EQ meaning "equal," NE meaning "not equal," LT meaning "less
than," GT meaning "greater than," LE meaning "less than or equal, and
GE meaning "greater than or equal."  Other keywords---AND, OR, and
XOR---are defined as logical operators within an expression.

      The ADF functions provide means to enhance the flexibility of
the ADF language by evaluating and providing data at ADF execution
time.  For example, the MODEL () and SUBMODEL () functions, which
return the system model byte and the submodel values respectively,
can only be used within an IF condition.

      The IF/ELSE statement construction can be used within the
planar definition file to control which dynamic symbols and which
associated values are included in the dynamic symbol list of the
Setup program, as shown in the following example:

            IF (Model EQ 0F8h) AND (Submodel NE 04h)
                  DefSys "Dat...