home *** CD-ROM | disk | FTP | other *** search
- SWAP.COM
-
- This program allows you to shell out of your favorite editor and
- compile a program without worrying about running out of memory. SWAP
- works by swapping main memory to expanded memory (EMS V3.2 or better) or
- to disk, freeing main memory. Then starts your compiler or whatever.
-
- This program is from an article called "Swap" in Dr. Dobb's Journal (Vol
- 14, No 4, April 1989, pages 44-48). Included is the assembly source
- code (SWAP.ASM) and the executable (SWAP.COM). You can remake the
- executable by the following commands:
-
- MASM SWAP;
- LINK SWAP;
- EXE2BIN SWAP SWAP.COM
-
- SWAP has the following command line options:
-
- SWAP [options] command [command-parameters] [>filename]
-
- Brackets indicate optional parameters.
-
- SWAP options are:
- -C Copy redirected output to console.
- -D Disk file C:\SWAP.DAT is used instead of expanded memory.
- -F Forces SWAP to continue even if an interrupt vector
- points to the swappee.
- -Q Quiet operation. Informational messages are not displayed.
-
- "command" is any command that can be issued at the DOS prompt.
-
- "command-parameters" are parameters or options for the command.
-
- "filename" is a DOS file or device to which output from the
- command be directed.