Floppy disk hardware emulator
File:Floppy hardware emulator.jpg
File:Floppy hardware emulator front.jpg port in which a flash drive is connected.]]
File:Floppy hardware emulator SY99.jpg allows to load and store thousands of disk images to the same flash drive. Different disc images can be selected via the display, the knob and the buttons that allow to screen the internal directory of the USB drive.]]
A floppy disk hardware emulator or semi-virtual diskette (SVD) is a device that emulates a floppy disk drive with a solid state or network storage device that is plug compatible with the drive it replaces, similar to how solid-state drives replace mechanical hard disk drives.
History
Older models of computers, electronic musical instruments and industrial automation often used floppy disk drives for data transfer. Older equipment may be difficult to replace or upgrade because of cost, requirement for continuous availability or unavailable upgrades. Proper operation may require operating system, software and data to be read and written from and to floppies, forcing users to maintain floppy drives on supporting systems.{{Cite web|url=https://www.techrepublic.com/article/techrepublic-tutorial-dont-be-too-quick-to-dump-the-floppy/|title=Don't be too quick to dump the floppy|last=Hardin|first=Ken|date=March 18, 2003|website=TechRepublic|archive-url=https://web.archive.org/web/20180614083012/https://www.techrepublic.com/article/techrepublic-tutorial-dont-be-too-quick-to-dump-the-floppy/|archive-date=June 14, 2018|url-status=live}}
Floppy disks and floppy drives are gradually going out of production,{{Cite news|url=http://news.bbc.co.uk/2/hi/technology/6314251.stm|title=PC World says farewell to floppy|date=January 30, 2007|work=BBC News|archive-url=https://web.archive.org/web/20180216222934/http://news.bbc.co.uk/2/hi/technology/6314251.stm|archive-date=February 16, 2018|url-status=live}}{{Cite news|url=http://news.bbc.co.uk/2/hi/uk_news/2905953.stm|title=R.I.P. Floppy Disk|date=April 1, 2003|work=BBC News|archive-url=https://web.archive.org/web/20180719111950/http://news.bbc.co.uk/2/hi/uk_news/2905953.stm|archive-date=July 19, 2018|url-status=live}}{{Cite web |url=http://www.reghardware.com/2010/04/26/sony_stops_selling_floppies/ |title=3.5-inch floppy still available from Verbatim, [[Imation]] (3M), and Maxell |access-date=2011-11-24 |archive-url=https://web.archive.org/web/20101130145956/http://www.reghardware.com/2010/04/26/sony_stops_selling_floppies/ |archive-date=2010-11-30 |url-status=dead }}{{Cite web|url=https://geeknewscentral.com/2010/04/26/tribute-to-floppy-disk-as-sony-discontinues-production/|title=Tribute to Floppy Disk as Sony discontinues production|last=Powers|first=Jeffrey|date=April 26, 2010|website=Geek News Central|archive-url=https://web.archive.org/web/20100501204759/https://geeknewscentral.com/2010/04/26/tribute-to-floppy-disk-as-sony-discontinues-production/|archive-date=May 1, 2010|url-status=live}} and replacement of malfunctioning drives, and the systems hosting them, is becoming increasingly difficult. Floppy disks themselves are fragile, or may need to be replaced often. An alternative is to use a floppy disk hardware emulator, a device which appears to be a standard floppy drive to the old equipment by interfacing directly to the floppy disk controller, while storing data in another medium such as a USB thumb drive, Secure Digital card, or a shared drive on a computer network. Emulators can also be used as a higher-performance replacement for mechanical floppy disk drives. A typical application is the replacement of worn-out floppy disk drives of classic digital musical instruments (synthesizers and samplers) so that they can still be used for music production today.
Emulation process
A typical floppy disk controller sends an MFM / FM / GCR encoded signal to the drive to write data, and expects a similar signal returned when reading the drive.{{Cite book|url=http://www.lintech.org/comp-per/07MAGREC.pdf|title=Computer Peripherals|publisher=Nanyang Technological University|location=Singapore|publication-date=October 16, 2001|chapter=Magnetic Recording Fundamentals|archive-url=https://web.archive.org/web/20181002001916/http://www.lintech.org/comp-per/07MAGREC.pdf|archive-date=October 2, 2018|url-status=live}} On a write, a hardware PLL or a software-based filter component undoes the encoding, and stores the sector data as logically written by the host. An inverse mechanism translates the stored data back into an encoded signal when the data is read. Noisy raw data signals are filtered and cleaned up before conversion.
Most FDC interfaces do not directly address tracks; instead they provide "step-in" and "step-out" pulses. Those, and the current sector number virtually rotating under the emulated read/write head, are tracked by the emulator in order to determine which sector is to be accessed.{{Cite web|url=http://www.hermannseib.com/documents/floppy.pdf|title=The floppy user guide|last=Haardt|first=Michael|last2=Knaff|first2=Alain|date=June 11, 2001|archive-url=https://web.archive.org/web/20190213173042/http://www.hermannseib.com/documents/floppy.pdf|archive-date=February 13, 2019|url-status=live|last3=Niemi|first3=David C.}}{{Cite web|url=http://www.pcguide.com/ref/fdd/index.htm|title=Floppy Disk Drives|last=Kozierok|first=Charles M.|website=The PC Guide|archive-url=https://web.archive.org/web/20010304025138/http://www.pcguide.com/ref/fdd/index.htm|archive-date=March 4, 2001|url-status=dead}}
Because the interface to the floppy drive is very low-level, emulators must maintain the approximate timing of floppy disk operations. This may require the emulator to provide buffering, with some delay in updating the permanent storage.
The emulator saves the data written to the floppy in either local storage (stand-alone emulators), or in a remote storage device or data exchange module (stateless emulators).
Data exchange
The floppy disk emulator can provide other systems access to the data on the emulated floppy in a number of ways:
- Direct access to some dedicated disk partition (e.g.: a 1.44MB partition on a USB key)
- Floppy file system translation (e.g.: FAT12 floppy ↔ USB key folder)
- Floppy disk images (e.g.: raw floppy ↔ .img/.iso USB key file)
Direct access and floppy image implementations can also emulate system / non-standard floppies, whose file system can't be simply translated.
Floppy image implementation can also be coupled with a virtual drive to seamlessly emulate floppy drives on a computer.
Some devices can store multiple floppy images, and provide a mechanism to select which emulated floppy is mounted on the emulated drive.
References
{{reflist}}