Command: cdrcache.sys
CDRCACHE.SYS is a CD drive cache program. It improves the drive
performance. Requires XMS memory, and at least a 386 computer.
CDRCACHE.SYS has to be loaded in CONFIG.SYS / FDCONFIG.SYS.
When FreeDOS is already running, you can load CDRCACHE.SYS later
with DEVLOAD.
Syntax:
In config.sys, either:
device=cdrcache device name cachesize
or:
devicehigh=cdrcache device name cachesize
Options:
device The same name of the device that you previously loaded
with your CD-ROM device driver.
name A new name which you will pass to shsucdx in the autoexec.bat
cachesize Specifies the cache buffer size in kilobytes. The cache is
stored in XMS memory.
Minimum value is 128
Maximum value is 65280
Values below 100 are valid for compatibility with previous
versions of CDRcache. Below 100, sizes are interpreted as
multiples of 0.25MB.
Controlling the driver after loading:
Use:
echo command > name
Command:
F Flush the cache
S Show Statistics
I Show statistics with extra technical Information
C Clear statistics
Q Quiet mode
N Normal verbosity
V Verbose/trace mode
0 Stop caching
1 Continue caching (after stop for instance)
? Shows the help
name is the parameter passed to CDRcache (see example).
Comments:
Load CDRCACHE after loading your CD-ROM device driver (usually
xcdrom.sys).
As CDRCACHE (2003) is based on LBACACHE, please read the LBAcache
documentation for some additional technical/programming details.
Examples:
In config.sys / fdconfig.sys:
DEVICE=c:\fdos\bin\xcdrom.sys /D:FDCD0000
DEVICE=c:\fdos\bin\CDRcache.sys FDCD0000 CDRCACH$ 2048
then in autoexec.bat:
c:\fdos\bin\shsucdx /D:CDRCACH$
This allocates a 2048KB (2MB) cache buffer for a single IDE CD drive.
echo F > cdrcach$ (flush cache)
echo SCF > cdrcach$ (show statistics, then clear statistics and
flush cache)
echo S > cdrcach$ (only show statistics)
See also:
atapicdd.sys
devload
lbacache
mscdex
shsucdx
tickle
udvd.sys
xcdrom.sys
File:
Please read this command's lsm file also.
You will find the updated version (internet) here and
the version described in this manual page here.
The lsm file contains information about the name of the programmer,
the download site, and some other command related information.
Copyright © 2004 Robert Platt, updated 2008 by W. Spiegl.
This file is derived from the FreeDOS Spec Command HOWTO.
See the file H2Cpying for copying conditions.