Browse Prior Art Database

1K Terminate and Stay Resident to Support Application Execution Control in the DOS Environment

IP.com Disclosure Number: IPCOM000115186D
Original Publication Date: 1995-Mar-01
Included in the Prior Art Database: 2005-Mar-30
Document File: 4 page(s) / 117K

Publishing Venue

IBM

Related People

Erickson, DE: AUTHOR [+2]

Abstract

Disclosed is a method by which a small (less than 1K bytes) Terminate and Stay Resident (TSR) will support the detection and control of application programs in the DOS environment. This TSR can be used in conjunction with security programs, license management programs, application metering programs or other control programs that need to detect the initiation or termination of end-user application programs. This TSR provides the detection of program execution and the interfaces required by these control programs to validate the initiation and termination of end-user application programs, while not requiring a large amount of resident storage.

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

1K Terminate and Stay Resident to Support Application Execution Control
in the DOS Environment

      Disclosed is a method by which a small (less than 1K bytes)
Terminate and Stay Resident (TSR) will support the detection and
control of application programs in the DOS environment.  This TSR can
be used in conjunction with security programs, license management
programs, application metering programs or other control programs
that need to detect the initiation or termination of end-user
application programs.  This TSR provides the detection of program
execution and the interfaces required by these control programs to
validate the initiation and termination of end-user application
programs, while not requiring a large amount of resident storage.

      In the normal DOS environment, there are three (3) programs
involved in the execution of any application program (Fig. 1).  These
three programs are:
  1.  The invoking program,
  2.  DOS,
  3.  The target application program.

      When control of end-user applications is required in the DOS
environment, an additional program is needed.  This additional
program is usually a fairly large and complex program.  It needs to
be executed when DOS is initialized and then Terminates and Stays
Resident (TSR) (Fig. 2).  The four programs in this model are:
  1.  The invoking program,
  2.  The large control TSR,
  3.  DOS,
  4.  The target application program.

      There are problems with this approach that are solved with the
disclosed method.  These problems are:
  o  This TSR uses a large amount of the available memory.  Thus many
      of the user's applications cannot be executed.
  o  Only one function can easily be performed by the TSR.  It is
      difficult to provide security, license management, application
      metering and other control functions in the same TSR.

      This method alleviates these problems by detecting the
invocation or execution of all end-user application programs and
executing the control program (in lieu of the application program).
The small TSR provides Application Program Interfaces (API) such that
the control program can perform all of its required functions.

The APIs that the small TSR provided to the control program are:
  o  Request the home directory of the control program,
  o  Request the target application invocation information,
  o  Reset the target application invocation information,
  o  Special "load and execute program" request.

      The TSR and its APIs provide a shell around DOS in a manner
such that the control program can perform it...