Retired Document
Important: This sample code may not represent best practices for current development. The project may use deprecated symbols and illustrate technologies and techniques that are no longer recommended.
RAMDisk
Last Revision: | Version 1.0, 2003-01-14 First Version |
Build Requirements: | |
Runtime Requirements: | Carbon System 7.0 |
RAMDisk is a sample demonstrating how to write a simple Mac OS block device driver, in this case a RAM disk. It also demonstrates how to bundle a system extension (INIT), driver (DRVR) and control panel (cdev) in one file, to achieve maximum functionality while minimising the number of items in the System Folder. This sample is a control panel, which installs a RAM disk. It compiles using Metrowerks C and is written almost entirely in C, along with a small assembly language DRVR header. Requirements: System 7.0 Keywords: disk device driver, RAM disk, Driver Gestalt, INIT, cdev, DRVR, control panel, RAMDisk
Copyright © 2003 Apple Computer, Inc. All Rights Reserved. Terms of Use | Privacy Policy | Updated: 2003-01-14