|
|
coherent
/* (-lgl
* COHERENT Version 3.0
* Copyright 1989 by Inetco Systems, Ltd.
* All rights reserved. May not be copied without permission.
-lgl) */
/*
* Floppy io control commands.
*/
#ifndef FDIOCTL_H
#define FDIOCTL_H FDIOCTL_H
#define FDFORMAT 0100 /* Format diskette track */
/*
* Formatting information is largely supplied
* by the low nibble of the minor device number opened for formatting
* which will specify the number of heads and the track density.
* 0 1 head, 40 tracks, 8 sectors per track
* 1 2 heads, 40 tracks, 8 sectors per track
* 2 2 heads, 80 tracks, 8 sectors per track
* 3 1 head, 40 tracks, 9 sectors per track
* 4 2 heads, 40 tracks, 9 sectors per track
* 5 2 heads, 80 tracks, 9 sectors per track
* Each FDFORMAT command will format a single track.
* The parameter block consists of an array of fform structures
* one for each sector being formatted specifying the cylinder,
* head, sector number, and size of the sector.
*/
struct fform {
char ff_cylin; /* 0 .. number of tracks - 1 */
char ff_head; /* 0 or 1 */
char ff_sect; /* 1 .. number of sectors */
char ff_size; /* 1, 2, or 3 for 256, 512, or 1024 */
};
#endif
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.