Browse Prior Art Database

Dynamically Freeing and Allocating a Reserved Memory Area Used to Load and Execute Mini Applications

IP.com Disclosure Number: IPCOM000062485D
Original Publication Date: 1986-Nov-01
Included in the Prior Art Database: 2005-Mar-09
Document File: 1 page(s) / 13K

Publishing Venue

IBM

Related People

Grafe, RJ: AUTHOR [+3]

Abstract

A method is described to dynamically free and allocate memory to execute application programs which vary in memory requirements. In systems with a minimum amount of memory, both the large and small applications should run under the Application Selector Program. The method by which the Application Selector dynamically frees and allocates a reserved block of memory that is used to execute Mini Applications in order to load and execute large application programs is described in detail below. The Application Selector Program has 2 types of applications that are dispatched (loaded and executed). These are the Mini Applications that are shipped with the Application Selector and regular DOS applications.

This text was extracted from a PDF file.
This is the abbreviated version, containing approximately 51% of the total text.

Page 1 of 1

Dynamically Freeing and Allocating a Reserved Memory Area Used to Load and Execute Mini Applications

A method is described to dynamically free and allocate memory to execute application programs which vary in memory requirements. In systems with a minimum amount of memory, both the large and small applications should run under the Application Selector Program. The method by which the Application Selector dynamically frees and allocates a reserved block of memory that is used to execute Mini Applications in order to load and execute large application programs is described in detail below. The Application Selector Program has 2 types of applications that are dispatched (loaded and executed). These are the Mini Applications that are shipped with the Application Selector and regular DOS applications. The Application Selector loads and executes the Mini Applications in a reserved area of memory that the Application Selector initially allocates when first loaded. The use of the reserved memory allows the Application Selector to suspend an application and run a Mini Application in this reserved area of memory. The size of the reserved memory is approximately 56K bytes. Regular DOS applications are loaded using DOS function calls to load and execute a program. The DOS operating system allocates the remaining free memory in the system to the application just loaded. Application programs vary in the amount of memory they require. The Application Selector with the reserved memory takes approximately 88K bytes of system memory. This leaves little memory for large DOS applications in systems with a minimum amount of memory. An algorithm was developed whereby the Application Selector could dynamically free up the reserved memory used to load Mini Applications in order to load large application programs and to re-allocate the reserved memory upon termination of the application. This allows large applications to be run...