Paxar Gold 6037EX Printer User Manual


 
5-68 Utility Descriptions
VDISK
VDISK is a device driver that allows you to use RAM as a disk.
Syntax
device = VDISK [size [secs[dirs]]] [/E]
Remarks
VDISK partitions some of your computer’s memory as a disk. This disk is
called a RAM disk or virtual disk and is much faster than either a floppy
or hard disk. The RAM disk can use either standard DOS program
memory or extended memory (above 1MB) for the disk. Any data on the
VDISK is lost when the system power is turned off.
The
size
argument specifies the size of the VDISK in kilobytes. The
default is 64KB. The memory selected is allocated from the DOS memory
pool, decreasing the amount of memory available for programs unless the
extended memory switch is used.
The
secs
argument specifies the sector size in bytes. The default is 512
bytes per sector. This value must be 128, 256, 512, or 1024. All other
values are not valid, and the default of 512 bytes is used.
The
dirs
argument specifies the number of root directory entries. The
default value is 64 directory entries. There may be any number of root
directory entries between 2 and 1024. If an odd number is given, it is
rounded up to the nearest multiple of 16 to fill the entire sector.
The /E argument causes VDISK to use extended memory (memory above
the 1MB boundary) instead of DOS program memory for the disk.
The VDISK driver increases the resident size of DOS.
Note: Interrupts are turned off during the transfer of data from extended
memory to conventional memory.