5 /* The type of device the file system is on: */
6 #define CPMDRV_FILE 0 /* Regular file or Unix block device */
7 #define CPMDRV_WIN95 1 /* Windows 95 floppy drive accessed via VWIN32 */
8 #define CPMDRV_WINNT 2 /* Windows NT floppy drive accessed via CreateFile */
29 const char *Device_open(struct Device *self, const char *filename, int mode, const char *deviceOpts);
30 void Device_setGeometry(struct Device *self, int secLength, int sectrk, int tracks);
31 const char *Device_close(struct Device *self);
32 const char *Device_readSector(const struct Device *self, int track, int sector, char *buf);
33 const char *Device_writeSector(const struct Device *self, int track, int sector, const char *buf);