blob: 9ea3ab5bc3b5304dc82ece2636c8e6e8b8a61e9d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
|
<table class="head">
<tr>
<td class="head-ltitle">IWM(4)</td>
<td class="head-vol">Device Drivers Manual (mac68k)</td>
<td class="head-rtitle">IWM(4)</td>
</tr>
</table>
<div class="manual-text">
<section class="Sh">
<h1 class="Sh" id="NAME"><a class="permalink" href="#NAME">NAME</a></h1>
<p class="Pp"><code class="Nm">iwm</code>, <code class="Nm">fd</code> —
<span class="Nd">floppy disk driver for IWM and non-DMA SWIM
controllers</span></p>
</section>
<section class="Sh">
<h1 class="Sh" id="SYNOPSIS"><a class="permalink" href="#SYNOPSIS">SYNOPSIS</a></h1>
<p class="Pp"><code class="Cd">iwm0 at obio?</code>
<br/>
<code class="Cd">fd* at iwm0 drive ?</code></p>
</section>
<section class="Sh">
<h1 class="Sh" id="DESCRIPTION"><a class="permalink" href="#DESCRIPTION">DESCRIPTION</a></h1>
<p class="Pp">The <code class="Nm">iwm</code> driver interfaces to the built-in
and external floppy disk drives on the Macintosh. It supports double-density
media, written in Apple's proprietary GCR format. Currently, there is no
disklabel support for the floppy drives. Instead, the
<code class="Nm">iwm</code> driver sets up a fake in-core disklabel, using
the minor device number to select from the supported disk formats.</p>
<p class="Pp">The following formats are supported:</p>
<table class="Bl-column">
<tr id="Partition">
<td><a class="permalink" href="#Partition"><b class="Sy">Partition</b></a></td>
<td><a class="permalink" href="#Size"><b class="Sy" id="Size">Size</b></a></td>
<td><a class="permalink" href="#sides"><b class="Sy" id="sides">sides</b></a></td>
<td><a class="permalink" href="#tracks"><b class="Sy" id="tracks">tracks</b></a></td>
<td><a class="permalink" href="#sectors/track"><b class="Sy" id="sectors/track">sectors/track</b></a></td>
</tr>
<tr>
<td>a</td>
<td>800Kb</td>
<td>2</td>
<td>80</td>
<td>10 (default)</td>
</tr>
<tr>
<td>b</td>
<td>400Kb</td>
<td>1</td>
<td>80</td>
<td>10</td>
</tr>
<tr>
<td>c</td>
<td>800Kb</td>
<td>2</td>
<td>80</td>
<td>10</td>
</tr>
</table>
<p class="Pp">(The above table describes the logical mapping as implemented by
the driver; the physical layout of GCR floppies has 8..12 sectors per
track.)</p>
</section>
<section class="Sh">
<h1 class="Sh" id="FORMATTING"><a class="permalink" href="#FORMATTING">FORMATTING</a></h1>
<p class="Pp">The <code class="Nm">iwm</code> driver does currently not support
floppy disk formatting.</p>
</section>
<section class="Sh">
<h1 class="Sh" id="SEE_ALSO"><a class="permalink" href="#SEE_ALSO">SEE
ALSO</a></h1>
<p class="Pp">Apple Computer, Inc.: "Inside Macintosh", Vol III-33f.
(Addison-Wesley)</p>
<p class="Pp">Apple Computer, Inc.: "New Technical Notes DV 17 - Sony
Driver"</p>
<p class="Pp">Neil Parker: "iwmstuff"</p>
<p class="Pp"><a class="Xr">eject(1)</a></p>
</section>
<section class="Sh">
<h1 class="Sh" id="HISTORY"><a class="permalink" href="#HISTORY">HISTORY</a></h1>
<p class="Pp">The <code class="Nm">iwm</code> interface first appeared in
<span class="Ux">NetBSD 1.4</span>.</p>
</section>
<section class="Sh">
<h1 class="Sh" id="AUTHORS"><a class="permalink" href="#AUTHORS">AUTHORS</a></h1>
<p class="Pp">Hauke Fath put together the beginnings of the
<code class="Nm">iwm</code> driver in 1996 from the sparse documentation in
"Inside Macintosh", Neil Parker's "iwmstuff"
documentation for the Apple IIgs and a long, hard look at the .Sony
driver.</p>
</section>
<section class="Sh">
<h1 class="Sh" id="BUGS"><a class="permalink" href="#BUGS">BUGS</a></h1>
<p class="Pp">The FFS code is incapable of dealing with a varying number of
sectors per track. We have to fake a mapping and so lose FFS support for
hardware parameters like transition times.</p>
<p class="Pp">The driver only supports an obsolete format.</p>
</section>
</div>
<table class="foot">
<tr>
<td class="foot-date">June 6, 1998</td>
<td class="foot-os">NetBSD 10.1</td>
</tr>
</table>
|