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.sys device name cachesize
or:
devicehigh=cdrcache.sys 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.SYS. 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.SYS (see example).
Comments:
Load CDRCACHE.SYS after loading your CD-ROM device driver (usually
uide.sys).
As CDRCACHE.SYS (2003) is based on LBACACHE.SYS, 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
(gcdrom.sys)
lbacache
(mscdex)
shsucdx
tickle
(udvd.sys)
uide.sys
(xcdrom.sys)
Copyright © 2004 Robert Platt, updated 2011 by W. Spiegl.
This file is derived from the FreeDOS Spec Command HOWTO.
See the file H2Cpying for copying conditions.