> Want to access DISK Cashe value, programmatically, how ?
which you can retrieve by the GetSysPPtr() call documented in Inside
Macintosh:Operating Systems Utilities in chapter 7. The misc field
contains the size of the disk cache in 32K chunks stored in bits 8-15.
This means you can currently access this information using code something
pramPtr = GetSysPPtr();
diskCacheSize = ( ((unsigned short)(pramPtr->misc)) >> 8 ) << 5;
// diskCacheSize is now the size in K of the disk cache
This implementation is subject to change at any time
(Pointers to other Mac programming web sites at
To reply personally, remove the anti-spam "NOSPAM." from the email address
in the header.