Hello Tim
On Monday, 20 January 1997 10:59:22, you wrote to All:
TH> Sometimes I want to shell out to another program, but I can't
TH> because it requires more memory than the PowerBASIC SHELL command
TH> will permit. It's too bad that the SHELL command didn't come with
TH> swap options, but alas it doesn't.
I adapted Marty del Vecchio's swap procedure for PowerBasic, and it
works fine.
The package (swap) includes a MS-DOS assembly-language routine that can
be called from a PowerBasic 3.1 program. It will swap most of the
current program to extended memory (supplied by an XMS driver, such as
HIMEM.SYS), expanded memory (EMS version 4.0), or disk, thus freeing up
more memory for DOS. It will then execute another program in its place,
and re-load the original program to its original state. This allows
large DOS programs to execute other programs without the original
program taking up DOS memory.
Interested?
--- Terminate 4.00/Pro
# Origin: BBS De Lauwers For BASIC Programmers! ++31594688407 (2:282/610.12)
(1:100/560.0)
---------------
* Origin: Gate United Bbs Systems Fido USA (119:119/0.0) /
|