Hello Mervyn,
MB> Need advice re INT 2eh. Have always heard it to be a dodgy INT,
MB> prone to cause worst sort of crashes.
MB> I ask because I'm working on a Universally useable (in DOS systems)
MB> SHELL subroutine and using EXEC gets a bit complicated when searching
or
MB> COMMAND.COM. INT 2e looks much more simple to use.
Look for the program Shroom. The author has solved the problems
nvolved.
Here is some of the doc...
shroom.doc - readme file for Shell Room Utility
Copyright (C) Davis Augustine 1990-1992. All rights reserved.
Last Modified: 26nov93. Version 2.4b
Description
-----------
SHROOM is a utility that gives a DOS application's shells more
room. It does this by intercepting the shell operation,
swapping out the application program, freeing up the memory,
and then performing the shell operation. It also intercepts
the exit from the shell, so that it can swap the application
back in before returning to it. The program is none the wiser.
Features
--------
o Easy to use.
o Detects swap file overflow (disk full) and asks whether you want
to abort back to the application or continue with a partial swap.
o Detects TSR loading and unloading during the shell. Frees
the TSR's resources and puts a warning message.
o Small resident size (about 6k). Frees nearly all of the memory.
o Allows you to increase COMMAND.COM's environment size.
o Works with all major DOS applications.
o Fully user specifiable swap file path. Ie., you can put
it on a virtual disk.
o Swaps allocated memory only, avoiding unnecessary writes
and reads of free memory.
o Intelligent command line parsing. Searches DOS's PATH
for program to load, allows passing of args to the program.
Automatically tries .COM and .EXE extensions if not
specified by user.
o Verbose mode for inquisitive users.
o Quiet mode for apathetic users.
o Uses DOS "make temp file" facility to prevent network clashes.
[...]
The shareware registration fee is $25 for single users,...
Davis Augustine
P.O. Box 610
Sausalito, CA. 94966-0610
Commercial distribution licenses, source code and customized versions are
also available at reasonable rates. Please write to the above address or
send me email at CompuServe id 72230,3053. I would also appreciate any
comments, questions, suggestions or bug reports. The latest Shroom release
can always be found in CompuServe forums IBMSYS, lib 3 and TAPCIS, lib 2.
Kind regards, Barry
---------------
* Origin: EBO-BBS A'dam +31-20-6002828 (2:280/901.42)
|