mateuszviste
Experienced Member
Can you explain the "floppy" aspect of this? (...) What makes this program behave like a remote floppy vs. just being a remote drive?
Technically - from the DOS point of view - ehtflop is not a remote drive. A remote drive interacts with DOS through the INT 2F interface, and provides methods for handling files and directories. EtherDFS is such a network drive, and all CD-ROM readers as well.
ethflop provides DOS with an INT 13h block device. It knows nothing about files, it operates only on sectors that are addressed through CHS geometry. The block device emulated by ethflop is:
- appearing under drive A: or B:
- "removable" (medium descriptor 0xFD, 0xF9, 0xF0)
- advertised with a "MEDIA FORMAT" (int 13h/20) pointing to a 360K/720K/1.2M/1.44M/2.88M diskette*
*this is however true only for standard sizes, the bigger sizes supported by ethflop (4M, 8M, 9M, 15M, 31M) does not advertise a floppy media format, so these would be rather considered by DOS as "some removable drive".
All things considered, the difference between a "removable drive" and a "floppy drive" is indeed very slight.
In terms of the raw image on the Linux side they are the same thing, right?
Yes. Except for a few specific bytes in the MBR and (as you noted) the lack of a partition table.
Well my IMD question relates to one I often received--will this work with my copy-protected floppies? You know--lots of interest from the early game players.
Obviously, the answer is "no". Just wanted to clear that up.
Such games were presumably relying on some odd low-level formatting glitches, and to verify them they had to access the FD controller directly. ethflop does not cover such case indeed.
This is talking about making IMD support reading or writing to the ethflop, but what about the server side supporting the IMD format, in addition to the raw format? Perhaps that might help with the copy protected issue that Chuck is talking about? If the images were originally created on real hardware, then maybe those images could be used, with copy protection intact, on the ethflop?
In most cases - no, they would not. Floppy copy protection is a complex subject and many different methods were used. Most of these methods relied on reading values outside of the data areas of the floppy disk and required direct control of the FDC to do so, because the BIOS interface does not provide any methods for reading non-data values. ethflop does not emulate a FDD controller, hence games using such methods fall into the same category as specialized low-level disk tools.