51
51
char *name; /* name of the device */
52
52
int (*getf)(struct vdrive_s *, BYTE *, unsigned int);
53
53
int (*putf)(struct vdrive_s *, BYTE, unsigned int);
54
int (*openf)(struct vdrive_s *, const char *, int, unsigned int);
54
int (*openf)(struct vdrive_s *, const BYTE *, unsigned int, unsigned int);
55
55
int (*closef)(struct vdrive_s *, unsigned int);
56
56
void (*flushf)(struct vdrive_s *, unsigned int);
57
58
BYTE nextbyte[16]; /* next byte to send, per sec. addr. */
58
59
char nextok[16]; /* flag if nextbyte is valid */