home *** CD-ROM | disk | FTP | other *** search
-
- >>>>> Ty == tsarna@endicor.com (Ty Sarna) wrote:
-
- Ty> In article <9312072225.AA03312@paxnet.com.au>
- Ty> Abeech@splat.paxnet.com.au writes:
- > 1. Is the internal DFx: drives supported? If
- > they are then what /dev/... are they?
-
- Ty> Not in the current version, and I don't know of any
- Ty> drivers in development. I would hope that anyone writing
- Ty> a floppy driver (or anything else) would write a message
- Ty> to the list so that someone else doesn't waste time
- Ty> duplicating the same work. Also, my personal wishes for a
- Ty> floppy driver:
-
- I translated floppy hardware driver code to 'C' and sent it to
- Markus W. a long time ago. These drivers read/write amiga trackdisk
- format - you can use the disk in AmigaOS, but only with
- trackdisk.device (no amigados filesystem is on the disk). This
- means you can use DiskCopy to make duplicates of it.... When inserted
- in the drive with AmigaDOS running, you get a disk icon on the
- screen and the INFO command shows the disk 100% full (OS won't
- damage it by writing to it). The blitter is used to decode
- and encode MFM, but since there is no "QBlit()" functionality in
- netbsd kernel, it busy waits (fix it anyhow you choose).
-
- If anyone wishes to volunteer to make a device in the kernel from
- these routines, e-mail to Markus (mw@eunet.ch) and ask for the
- sources.
-
- Ty> - Work in either Amiga or PC mode so that PC disks can
- Ty> also be used, with msdosfs (once its fixed to run on
- Ty> bigendian machines). PC mode should be selected by a
- Ty> different set of minor device numbers (0-3 Amiga, 4-7
- Ty> PC).
-
- They don't support msdos (my drivers) but I do have some msdos drivers
- somewhere (in assembly). The way my routines work is as follows:
- You would have /dev/fd0 through /dev/fd9. When you mount one of
- those devices (or simply access, actually) the drivers search in
- the physical drives for a floppy disk formatted with the ID 0, 1, .. 9.
- This scheme lets you move the floppy to any drive and the routines
- will find the disk. Indeed, the routines are smart enough to
- allow you to move the floppy disk WHILE it is writing to it even
- (no guarantee this won't damage the disk :-) While reading, you
- will get 100% error free reads even if you eject/insert/eject/insert
- the floppy many times during the read operation. Not so scary as
- AmigaDOS? :-)
-
- The benefit of this system is that you can mount up to 10 floppies
- in one floppy drive. The only issue is that when the disk is not
- found in the drives, you would probably want a requester like
- AmigaDOS has: "Please insert fd6 in any drive"...
-
- As for MSDOS, there is mtools which reads/writes msdos under linux
- or netbsd for PC and also on Suns (and probably MANY other unix
- computers).
-
- Ty> - Support HD floppies (now that I actually have one :->)
- Ty> HD support should not require differnet minor numbers,
- Ty> but be automatic with detection of the HD hole. (are the
- Ty> low-level programming details of HD floppy drives
- Ty> documented anywhere? I don't think the Hardware RKM
- Ty> covers them).
-
- I don't suspect there's much difference for the HD floppies to the
- software. Perhaps only #sectors/track is the only difference :-)
- Also a switch in cia register (or whatever) to make the drive go
- half speed.
-
- > 2. Which /dev block files represents the internal
- > serial and parallel ports?
-
- Ty> There are no block devices for the serial and parallel
- Ty> ports, only character devices (since serial and parallel
- Ty> ports are naturally character-at-a-time devices).
-
- Ty> --
- Ty> Ty Sarna "Oh, I don't know *everything*. I don't
- Ty> tsarna@endicor.com even know how fish work." -- Joel,
- Ty> MST3K
-
-
-