X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f From: "Carey Evans" Newsgroups: comp.os.msdos.programmer,comp.os.msdos.djgpp Subject: Re: Creating a copy protected floppy Date: 12 Jul 2005 18:31:04 -0700 Organization: http://groups.google.com Lines: 22 Message-ID: <1121218264.629952.121740@g44g2000cwa.googlegroups.com> References: <1121199731 DOT 361001 DOT 326030 AT g43g2000cwa DOT googlegroups DOT com> <42d445d0$1_1 AT spool9-west DOT superfeed DOT net> <1121216953 DOT 861570 DOT 248110 AT g43g2000cwa DOT googlegroups DOT com> NNTP-Posting-Host: 210.54.0.162 Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" X-Trace: posting.google.com 1121218269 18942 127.0.0.1 (13 Jul 2005 01:31:09 GMT) X-Complaints-To: groups-abuse AT google DOT com NNTP-Posting-Date: Wed, 13 Jul 2005 01:31:09 +0000 (UTC) In-Reply-To: <1121216953.861570.248110@g43g2000cwa.googlegroups.com> User-Agent: G2/0.2 Complaints-To: groups-abuse AT google DOT com Injection-Info: g44g2000cwa.googlegroups.com; posting-host=210.54.0.162; posting-account=a2Dz9g0AAAAQI7DN4N6e935Thq5XWCRh To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk arizvi wrote: > A pointer to the floppy disk format and disk controller specs will be > very helpful for me. I tried to search but could not find it. Please > send me a link if you can .. If someone has some sample code for > accessing the floppy disk controller, that would be awesome. The various free Unixes have their own floppy disk drivers, which could give you somewhere to start. Try: http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/dev/fdc/ http://lxr.linux.no/source/drivers/block/floppy.c http://cvs.opensolaris.org/source/xref/usr/src/uts/common/io/fdc.c FreeDOS-32 has its own floppy disk driver too, which might be easier to follow, but won't have had the same level of testing as the drivers above: http://cvs.sourceforge.net/viewcvs.py/freedos-32/fd32/modules/floppy/ -- Carey Evans