Browse Prior Art Database

Installing New Devices into the Multimedia Media Presentation Manager/2 System without Writing a Line of Code

IP.com Disclosure Number: IPCOM000116998D
Original Publication Date: 1995-Dec-01
Included in the Prior Art Database: 2005-Mar-31
Document File: 8 page(s) / 259K

Publishing Venue

IBM

Related People

Davis, S: AUTHOR [+2]

Abstract

Disclosed is a method that allows easy installation of new devices into an existing operating system. In order to install new devices, system files must be updated with configuration specific information such as interrupt level, customer preferences, etc. Typically this would require a separate program to be written for each new device to be installed. This disclosure describes a method to perform this installation without the need for code to be written.

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

Installing New Devices into the Multimedia Media Presentation Manager/2
System without Writing a Line of Code

      Disclosed is a method that allows easy installation of new
devices into an existing operating system.  In order to install new
devices, system files must be updated with configuration specific
information such as interrupt level, customer preferences, etc.
Typically this would require a separate program to be written for
each new device to be installed.  This disclosure describes a method
to perform this installation without the need for code to be written.

      The merit of this method will be demonstrated using the OS/2*
Multimedia Media Presentation Manager/2 (MMPM/2) as an example.
MMPM/2 allows new devices to be installed into a user's current
multimedia system.  For example, an audio card developer can write a
device driver for a new audio card and then install that device
driver into the MMPM/2 system.  This allows programs written with
MMPM/2 to use the new audio card with no change.

      Before this method was invented, each person installing a
device into the MMPM/2 system had to write an OS/2 Presentation
Manager* program to install the device.  These installation programs
would perform functions such as asking the user questions, querying
the current configuration, updating the config.sys file, and updating
the MMPM2.INI file.  As the number of devices supported by MMPM/2
grew, so did the number of these separate installation programs.
These programs required a lot of coding, testing, and maintainance on
the part of IBM*.

      This method uses a generic installation program that performs
all the functions that were previously performed by the numerous
separate installation programs.  A developer uses this generic
installation program by placing information about the device to be
installed in a data file (Figure).  The generic installation program
reads that data file and installs the device in a manner that is
appropriate for each individual device.  The functions that the
installation program provides are listed below.
  1.  Determining number of devices to install
        In the data file, the developer specifies the maximum number
       of the device that can be installed by a user in the user's
       computer.  The first thing the generic installation program
does
       is to ask the user how many of the devices the user wishes to
       install.  This information is used throughout the install
process
       to maintain the correct number of devices in the system.  All
of
       the following functions are performed once for each device to
be
       installed.
  2.  Asking the user questions
        Often, an installation program will need to ask questions of
the
       user installing a device.  These questions could ask the user
for
       configuration specific hardware values such as Interrupt Level...