Contents of the LORAM.DOC file
LORAM V1.00 Copyright (c) 1992 Copy Con Incorporated Page 1
TO PRINT THIS FILE, TYPE "COPY LORAM.DOC PRN" AT THE DOS PROMPT.
LORAM is a utility that lets you see how programs run under low RAM
conditions. LORAM lets you specify an amount of RAM to leave free, or
an amount of RAM to take away, and the amount can be specified in
decimal, hex, or octal notation. LORAM also returns the errorlevel of
the specified program. LORAM is of great use in testing new programs,
especially those that allocate memory as they run.
LORAM is distributed on an "AS IS" basis without warranty, expressed
or implied. Considerable testing effort has been expended, but the
user is advised to check the program's suitability before relying on
it. The user assumes full risk as to the results of using this
program. In no event shall the author be liable for any incidental or
consequential damages arising from the use, or inability to use this
LORAM is freely distributable and fully functional, and may be used
for a 30-day trial period. If you plan to continue using LORAM, you
are obligated to pay the modest registration fee of $10. This one-time
fee allows you unlimited use of this and all future versions of LORAM.
All registration information is contained in the LORAM.REG file. If
that file is missing, register by sending a check or money order for
$10 in U.S. dollars, drawn on a U.S. bank, to:
Copy Con Incorporated
PO Box 23255
Baltimore MD 21203-5255
We thank you for your support.
LORAM V1.00 Copyright (c) 1992 Copy Con Incorporated Page 2
LORAM is activated from the command line, using the format
LORAM [-]memsize[k] [/p] program [program options]
If memsize is preceded with a '-' (minus sign), LORAM will subtract
memsize from the current RAM amount before running the program; other-
wise, LORAM will set the RAM size to memsize (assuming that memsize is
less than the amount of free RAM) before running the program.
Memsize can be specified in hexadecimal by preceding it with '0x'
(ex. 0xFEC0), or in octal by preceding it with '0' (ex. 077740). If
directly followed with a 'k', memsize will be read as kilobytes
instead of bytes (ex. 256k = 262144). The /p option pauses LORAM
at the settings screen before running the program.
The program to be run must be a .COM or .EXE file. LORAM will search
the current directory and path for the program if no drive and dir
info is given. There is no limit to the number of options passed to
LORAM 256k newprog
sets the RAM size to 256k, then runs the program NEWPROG.
LORAM -0xC000 newprog /t
subtracts 49152 bytes (C000 hex) from the current RAM size, then
runs NEWPROG with the /t option.
LORAM 0200k /p d:\utils\sysid
sets the RAM size to 128k (200k octal), and waits for a keypress
before running SYSID, which is on the D: drive in the UTILS dir.
If you have questions, comments, suggestions, bug reports, et cetera,
feel free to contact us by one of the following methods:
1: By modem at The Programmer's Corner (301-596-7692 or 410-995-6873).
Send a message to user number 3000, and check back in a couple of
work days for a reply.
2: By U.S. Mail at the address given on the first page. If you would
like a reply, please include a self-addressed, stamped envelope.
We look forward to hearing from you.