SAVESYS, LOADSYS, AND MEMSYS.
----------------------------

SAVESYS/CMD is a program for TRSDOS 6.x only, to save the complete content of a 64k memdisk, and the memdisk driver, to a file called MEMSYSx.

LOADSYS/CMD (also for TRSDOS 6.x) is the complementary program which reasd the file MEMSYSx and puts it in the memdisk, which it then activates. Loading takes under 15 seconds. 

See BL/TXT for BS/CMD and BL/CMD for DOSPLUS users.

To use SAVESYS you must first create your memdisk in the normal way and fill it with whatever data files or programs you need. Then, from DOS ready type 
SAVESYS x, where x is a single character in the range 1 to 9 or A to Z. The space separating SAVESYS and x is essential. The program will now create a single file called MEMSYSx:0 (no space this time) containing all the memdisk files AND the memdisk driver. When creating a new MEMSYSx file it is rather slow as it is continually looking for empty granules in which to put its 64.5k, taking a couple of minuted or so. Once created, though, it only takes about a minute. These save times can be reduced if when you format the disk you use the DOS Create command to create an empty file with contiguous sectors, i.e. only one file extent in the directory entry. The file created must of course have the name MEMSYSx with the right value of x.

To use LOADSYS, don't create a memdisk, simply type LOADSYS x from DOS ready after booting. The memdisk driver will be loaded and your fully loaded MEMDISK will be ready in a surprising 14 seconds! Again, speed is slightly dependent on the number of times it has to go to the directory to find where the next bit of file is. Note that the space is again necessary between LOADSYS and x.

Using different values of x you can save as many different memdidks as you want (or your disk will hold - remember they are each 64.5k long), and call them in for different applications. MEMSYS0 on this disk is a demonstration, and contains the source code for the two programs. Load it by typing LOADSYS 0 and pressing <ENTER>. 

NOTE: Whatever you have in the memdisk, SAVESYS always saves the complete 64k.

I and others have been using this for 3 years or so, so I reckon it is bug-free, but if you have any trouble, let me know.


Henry H.Shepherd,
3, White House Close,
Shippon,
Abingdon,
OXON OX13 6LP. 
(Tel 0235-21921)  