DOCUMENTATION for M-DRIVE/H TURBODOS DRIVER This is the documentation file for a TurboDOS driver for a 2 Megabyte CompuPro M-Drive/H ramdisk board. There are two source files included: DSKMDRV.MAC which is the source for the driver itself which must be GENed into your operating system. Don't forget to include the new drive in your .PAR file too. MDRVFMT.MAC which is the formatting program for the M-Drive/H. These files are written in Zilog mnemonics and are intended to be assembled with M-80 or a compatible assembler. The formatting routines are not included in the driver and the format program goes directly to the M-Drive without going through the operating system. This was done for speed and simplicity and to keep the driver module small. The format program was primarily optimized for speed since the object file is smaller than any allocation block size that you might reasonably use anyway. The disk format used in the driver is a bit wierd but it was chosen for compact code and speed which is also why no checksum or CRC was used. The driver assumes that the M-Drive will not have any memory or logic errors. Note that the last track on the M-Drive has fewer sectors than the other tracks. This is unusual but TurboDOS does not seem to mind and does not try to go beyond the last allocation block which it has been told is available, so everything works. Neither the driver nor the formatter are currently set up to handle 512K M-Drive boards nor multiple M-Drive boards. I reccomend that you create a .DO file to format the M-Drive/H run FIXDIR or ERASEDIR on it to create a hashed directory and copy any files you regularly use to the M-Drive. Do not, however, auto execute the .DO file or someday you will have to reset the machine and will then have the M-Drive automatically reformatted thereby losing any files you may have had on it. Also be very careful you do not run ERASEDIR on the wrong drive by mistake since it does erase the directory. Permission is granted to use, distribute, and modify these programs in any way you see fit, however, you do so at your own risk and I make no warranty of ANY kind and assume no liability for any losses which may result from the use of this material. I would appreciate it if you would send a copy of any modifications to these programs to the Royal Oak RCP/M (313) 759-6569. Bob Clyne 11/06/87