Lines Matching +full:no +full:- +full:pc +full:- +full:write
1 /*-
2 * SPDX-License-Identifier: BSD-3-Clause
22 * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
55 #define NE7_ST0_EC 0x10 /* equipment check, recalibrated but no trk0 */
66 #define NE7_ST1_ND 0x04 /* no data, sector not found or CRC in ID f. */
84 #define NE7_ST3_FT 0x80 /* fault; PC: n/a */
85 #define NE7_ST3_WP 0x40 /* write protected */
86 #define NE7_ST3_RD 0x20 /* ready; PC: always true */
88 #define NE7_ST3_TS 0x08 /* two-sided; PC: n/a */
100 * the top three bits -- where appropriate -- are set as follows:
102 * MT - multi-track; allow both sides to be handled in single cmd
103 * MFM - modified frequency modulation; use MFM encoding
104 * SK - skip; skip sectors marked as "deleted"
107 #define NE7CMD_MT 0x80 /* READ, WRITE, WRITEDEL, READDEL, SCAN* */
112 #define NE7CMD_SPECIFY 0x03 /* specify drive parameters - requires unit
114 #define NE7CMD_SENSED 0x04 /* sense drive - requires unit select byte */
115 #define NE7CMD_WRITE 0x05 /* write - requires eight additional bytes */
116 #define NE7CMD_READ 0x06 /* read - requires eight additional bytes */
117 #define NE7CMD_RECAL 0x07 /* recalibrate drive - requires
120 #define NE7CMD_WRITEDEL 0x09 /* write deleted data */
123 #define NE7CMD_FORMAT 0x0d /* format - requires five additional bytes */
124 #define NE7CMD_SEEK 0x0f /* seek drive - requires unit select byte
141 * srt - step rate; PC usually 3 ms
142 * hut - head unload time; PC usually maximum of 240 ms
143 * hlt - head load time; PC usually minimum of 2 ms
144 * nd - no DMA flag; PC usually not set (0)
147 #define NE7_SPEC_1(srt, hut) (((16 - (srt)) << 4) | (((hut) / 16)))