README.TXT
Upload User: linklycbj
Upload Date: 2009-11-12
Package Size: 447k
Code Size: 1k
Category:

Windows Develop

Development Platform:

WINDOWS

  1. The PortDriver sample illustrates how to build a port driver for a
  2. non-SCSI disk device, namely a RAM disk with a fixed amount of storage.
  3. (The only good reason for using a RAM disk in Windows 95 is for
  4. demonstration and for testing a local file system driver, which we'll
  5. do in Chapter 16.)
  6. AEP.H on the Windows 95 DDK contains a syntax error in the definition for the 
  7. AEP_rpm_change structure.  You should copy the corrected version of AEP.H from
  8. this subdirectory to your DDKINC32 directory before building this sample.
  9. To build this sample, prepare your system according to the general
  10. directions in the root directory of this disc. Run "nmake -f ramdisk.mak" to
  11. build from a command prompt, or open the PortDriver project in Microsoft Developer
  12. Studio and build within that environment.
  13. To test the sample, launch the Add New Hardware wizard from the Control Panel
  14. and specify you want to add a hard disk controller. Don't allow Windows to try
  15. to detect your device (because it doesn't really exist). Press the Have Disk
  16. button and point to this project directory. When the installer finishes, you
  17. should have a new disk drive visible on the desktop. Experiment with putting
  18. files on the disk, etc. If you do this under a debugger, you'll be able to
  19. see VFAT's structures in the memory area allocated by the driver.
  20. Clean up by removing the disk controller through the Device Manager.