With the development of the times, the computer memory is growing, from the original 1 M, 2 M, 4 M and so on to the current 128 M, 256 M, 512 M, or even larger. Therefore, it is very important to allocate and use the memory reasonably to avoid unnecessary waste. In addition, memory has many advantages over general external storage devices, such as general disks (including hard disks and optical disks), such as high memory speed, it is usually dozens of times faster than the latter. The disk capacity is limited, especially for a floppy disk. The size of a floppy disk is generally less than 1.44 MB. Therefore, the required program cannot be stored in the boot disk. Therefore, if you can use the memory as a disk device to store files and data, it will undoubtedly greatly improve the operation speed, efficiency, and convenience, and maximize the effectiveness of the memory, memory usage is effective.
To this end, many memory Virtual Disk programs have been developed, such as VDISK. SYS and RAMDRIVE. SYS in DOS. However, these programs have some disadvantages, for example, they need to be in CONFIG. the SYS file cannot be loaded directly on the DOS command line. Once loaded, the memory disk size cannot be adjusted or deleted. The memory disk has a capacity limit, which generally cannot exceed 64 MB; they also occupy a large amount of regular memory. Now someone has finally developed a memory Virtual Disk program that solves all of the above problems, that is, the XMSDSK to be introduced below (which can be downloaded from the "disk tool ).
XMSDSK is a newer program and is quite powerful, practical, and stable. It is one of the Furd memory toolkit. Therefore, the memory is used to create a disk with XMS memory. Therefore, it can be used only when XMS memory is available. Generally, you only need to load the HIMEM that comes with DOS. SYS Program (if it is a MS-DOS, it is better to use version 7.10 or later to make HIMEM. SYS supports more than 64 m XMS memory), and then you can use it as needed. XMSDSK has many advantages. For example, in addition to loading in CONFIG. SYS, XMSDSK can also dynamically adjust the size or disassemble of the memory disk infinitely in the command line mode. It occupies a small amount of memory, only a few hundred bytes of low-end memory, and can be automatically transferred to UMB (upper memory block), without the need to use the LH command. It supports a large amount of memory (up to 2 GB at present), so for example, we have MB of memory, and we can even Virtualize all the XMS memory into a disk. If you use it in the boot disk, you can add a lot of colors to the boot disk. It also has a very useful use, because some software, such as some game software (such as xianjian Qixia Chuan), can only run in memory of less than 32 MB, in this case, you can use XMSDSK to install the memory disk so that the free XMS memory is less than 32 MB, so that the software can run normally. The most important thing is that it is very simple to use. The following describes how to use it.
The syntax for XMSDSK is as follows:
XMSDSK [memory disk size] [Drive] [Option]
The memory disk size is expressed in KB. For example, 4 indicates 4 K and 1024 indicates 1024 K = 1 M. If not specified, a 0 K memory disk is created. The drive represents the letter of the drive to which the memory disk is to be specified. If there is no drive, it uses the next letter automatically. For example, if the current drive only has disk A, disk B, disk C, and disk D, the memory disk is automatically loaded to disk E. The options are as follows:
/? : View the command line help;
/Y: When performing the operation, you do not have to confirm it. That is, the default value is "Yes )";
/U: remove the memory disk and exit the memory.
/T: place the memory disk on the top of the XMS memory;
/C: Specify the cluster size of the sector in the memory disk.
Generally, only the/Y and/U options are used.
When XMSDSK is run using a method without any parameters or options, that is, when XMSDSK is directly input, if XMSDSK is already loaded, you will be prompted whether to load it; otherwise, it automatically displays the status information of loaded memory disks, such as the memory disk size.
The following is an example of XMSDSK. For example, if you want to create a memory disk of 5 MB, adjust it to 10 MB, and delete the memory disk to release the letter of the drive and the memory used, if you do not confirm the installation, adjustment, or deletion, enter the following commands in the doscommand line:
1: XMSDSK 5120/Y (create a memory disk of 5 MB)
2: XMSDSK 10240/Y (adjust the size of the created 5 M memory disk to 10 M)
3: XMSDSK/U/Y (delete the loaded memory disk)
Is it very convenient?
In short, XMSDSK is currently the best and most powerful tool for using XMS memory Virtual Disks in DOS. It is the best alternative to other similar software such as RAMDRIVE. SYS. Besides XMSDSK, there is also the corresponding EMSDSK from the same author, that is, the tool for using the EMS memory virtual disk. The specific usage can be said to be exactly the same as the XMSDSK above, I will not detail it here.