mirror of https://github.com/tongzx/nt5src
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
53 lines
2.0 KiB
53 lines
2.0 KiB
<HTML>
|
|
<HEAD>
|
|
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=windows-
|
|
1252">
|
|
<META NAME="Generator" CONTENT="Microsoft Word 97">
|
|
<TITLE>Flpydisk</TITLE>
|
|
</HEAD>
|
|
<BODY LINK="#0000ff">
|
|
|
|
<FONT FACE="Verdana" SIZE=5><H2>Flpydisk</H2>
|
|
</FONT><FONT FACE="Verdana" SIZE=2>
|
|
<P><span style="color:#FF0000;font-size:10pt;font-family:Arial">[This is preliminary
|
|
documentation and subject to change.]</span></P>
|
|
|
|
<H3>SUMMARY</H3></FONT><FONT FACE="Verdana" SIZE=2><P>
|
|
The
|
|
flpydisk sample is a floppy driver that resides in the directory \\Ntddk\Src\Storage\Fdc\Flpydsk.
|
|
It is similar to a class driver in that it
|
|
sits a level above the floppy disk controller in the driver stack, and brokers
|
|
communication between the application
|
|
level and the low-level driver. The
|
|
floppy driver takes commands from the application and then calls routines in the controller
|
|
which will in turn perform the actual interaction with the device. The sample compiles in
|
|
64-bit, but has not been tested in this environment. It is compatible with x86 and Alpha platforms.<P>
|
|
Note that the floppy driver could be replaced by a floppy
|
|
tape driver and still interact with the lower level Fdc. The sample works on NEC PD756 and Intel 82077 drives.
|
|
|
|
<H3>BUILDING THE SAMPLE</H3></FONT><FONT FACE="Verdana"
|
|
SIZE=2><P>
|
|
|
|
Type <B>build</B> in the \\Ntddk\Src\Storage\Fdc\Flpydsk directory. A successful build produces Flpydsk.sys.
|
|
|
|
|
|
|
|
<H3>CODE TOUR</H3>
|
|
<H4>File Manifest</H4>
|
|
</FONT><U><PRE>File		Description
|
|
</U>
|
|
Flo_data.h	Header file for floppy disk driver
|
|
Floppy.c	Floppy diskette driver
|
|
Floppy.rc	Resource file
|
|
Sources	 Sources for build
|
|
Flpydisk.inf	INF file floppy driver
|
|
<P>
|
|
</FONT><P ALIGN="CENTER"><A HREF="#top"><FONT FACE="Verdana" SIZE=2>Top of page</FONT></A><FONT FACE="Verdana" SIZE=2> </P></FONT>
|
|
<TABLE CELLSPACING=0 BORDER=0 WIDTH=624>
|
|
<TR><TD VALIGN="MIDDLE" BGCOLOR="#00ffff" HEIGHT=2>
|
|
<P></TD>
|
|
</TR>
|
|
</TABLE>
|
|
|
|
<FONT FACE="MS Sans Serif" SIZE=1><P>© 1999 Microsoft Corporation</FONT><FONT FACE="Verdana" SIZE=2> </P></FONT></BODY>
|
|
</HTML>
|