From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10fd69,85cc2625fc6d0ac,start X-Google-Attributes: gid10fd69,public X-Google-Thread: 1164f8,85cc2625fc6d0ac,start X-Google-Attributes: gid1164f8,public X-Google-Thread: 10d0b7,85cc2625fc6d0ac,start X-Google-Attributes: gid10d0b7,public X-Google-ArrivalTime: 2001-06-23 12:51:09 PST Path: archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!paloalto-snf1.gtei.net!news.gtei.net!news.compaq.com!src-news.pa.dec.com!pachyderm.pa.dec.com!not-for-mail From: tim.mann@compaq.com (Tim Mann) Newsgroups: comp.sys.tandy,comp.os.cpm,comp.sys.dec Subject: cw2dmk/dmk2cw 2.0: read/write floppy disks with a Catweasel ISA Date: Sat, 23 Jun 2001 19:51:00 +0000 (UTC) Organization: Compaq Systems Research Center Message-ID: <9h2rv4$4h3b$1@pachyderm.pa.dec.com> NNTP-Posting-Host: pachyderm.pa.dec.com Mime-Version: 1.0 Content-Type: text/plain X-Trace: src-news-too.pa.dec.com 993325861 304414 16.4.80.97 (23 Jun 2001 19:51:01 GMT) X-Complaints-To: usenet@src-news.pa.dec.com NNTP-Posting-Date: Sat, 23 Jun 2001 19:51:01 +0000 (UTC) X-Mailer: Pachyderm (client pachyderm.pa-x.dec.com, user mann) Xref: archiver1.google.com comp.sys.tandy:2747 comp.os.cpm:3896 comp.sys.dec:4653 Background: The Catweasel ISA floppy disk controller is an add-in card for the PC ISA bus. It uses specialized hardware, not a standard floppy disk controller chip, and it can be programmed to read and write just about any disk format. See http://www.jschoenfeld.com/ and http://apd2.tripod.com/catweasl.htm. I've written a pair of programs for the Catweasel called cw2dmk and dmk2cw. dmk2cw is new in release 2.0 of the package. cw2dmk can use a Catweasel ISA to read several kinds of floppy disk, some of which ordinary PC controllers have trouble with, and save them in the DMK disk image format. DMK is a format used by the Unix TRS-80 emulator xtrs and by David Keil's TRS-80 emulator for MS-DOS. cw2dmk does not just read TRS-80 disks. It can make an exact image of any disk written using a Western Digital 177x/179x floppy disk controller, a PC-style NEC765-compatible controller, or a Digital Equipment Corporation RX02 controller. dmk2cw uses a Catweasel ISA to write any DMK image back to a real floppy disk. It can handle the same kinds of disks as cw2dmk. Currently no tools other than TRS-80 emulators and dmk2cw can use disk images in DMK format, but perhaps more tools will be written in the future. The ability to read disks with cw2dmk and write out copies with dmk2cw already provides a useful way of archiving disks from old machines and making physical copies when needed. A likely future direction for cw2dmk/dmk2cw is to be able to write/read JV1 and JV3 disk images (these are other common TRS-80 emulator formats) or raw arrays of sectors, in cases where the disk can be represented in one of those formats. The programs are free software, released under the GPL. You can download the source code and executables for both Linux and MS-DOS from my TRS-80 resources page, http://www.tim-mann.org/trs80resources.html. The MS-DOS version also runs on Windows 95. Even those who prefer to build their own sampling hardware instead of buying a Catweasel may find the source code of some use. Tim Mann tim.mann@compaq.com http://www.tim-mann.org Compaq Computer Corporation, Systems Research Center, Palo Alto, CA