Модуль для организации выгрузки (свопинг) текущей программы на диск или в
расширенную память, запуска внешней большой программы, и дальнейшего
восстановления исходной программы в памяти. Поддерживается переадресация
ввода-вывода.
Swap program to XMS, EMS, or Disk, then spawn. Version 3.3 91-11-26.
This file contains full source code (in C, Pascal, and Assembler)
for a module that allows you to swap your program to XMS, EMS, or disk,
and then spawn any DOS program, including COMMAND.COM. I/O redirection
and execution of batch files is handled automatically. Only a small
(about 1k) reload stub is left in memory. Compatible with Microsoft C,
Turbo C, Watcom C, and Turbo Pascal. Recompilation
requires MASM 5.1 or later, or TASM. |
100k |
An EXEC function with memory swap
Version 3.3, released 91-11-26
Public Domain Software by
Thomas Wagner
Ferrari electronic GmbH
This archive contains the sources for an 'EXEC' function that allows
calling external programs, while optionally swapping out the memory
image to EMS, XMS, or file. When swapping out, only a few K of main
memory remain resident. The code and data stub is about 1k, the actual
memory usage depends on memory fragmentation, and especially on the
size of the environment variables. The resident memory usage
typically ranges from 2K to 7K.
The Routines are compatible with
Turbo C (Versions 1.x, 2.x, and C++ 1.0)
Borland C++ (Version 2.0),
Microsoft C (Versions 5.1 and 6.0),
Watcom C (Version 8.0),
Turbo Pascal (Versions 4.x to 6.x).
EMS (
|