the cat sat on the mat
After compression it could read:
the cat s#on %m#
The word "the " is replaced by "%" and "at " is replaced by "#" (including the space). The second sentence is 16 characters while the first is 22 characters long. This means the second sentence is 73% as long as the first. Another type of compression is called Run Length Encoding and is often used in image files. Take the following text:
aaaaaaaaaaaaabbbbcccdddd
eeeeeeeeeeeffffeedddwww
This could be written as:
13*a4*b3*c4*d
12*e4*f2*e3*d3*w
DoubleSpace & DriveSpace place all files on the disk into a large file called a compressed volume file (or CVF) . When DOS is booted, a virtual drive is set up which looks like a normal drive, but is actually the CVF. The drive containing the CFV is given another letter to keep it out of the way.
| Home | |
| MS-DOS Home |
|
|
Printed from the NukeSoft MS-DOS Reference. Copyright © 1995 - 2006 Marcus Houlden