VirtualAcorn Technical support:
Using ShareFS to add a Virtual Floppy Drive

It's very rare for any motherboard made after 2009 to support internal floppy disc drives. However there is a way to read an Acorn format floppy disc using VirtualRPC on a machine without a floppy disc drive.

For this little trick to work you will need a network and at least 1 machine that has a floppy disc drive that can be used by RISC OS. This doesn't have to be a "real" machine, it could be a desktop PC running VirtualRPC, or it could be an Iyonix, or a RiscPC, it really doesn't matter. What we are going to do is network the floppy drive from the machine that has it, so the drive can be used by the machine with no floppy drive, clever eh?

In my test rig in the office I used a desktop PC running VirtualRPC-SE and a laptop, with no floppy drive, running VirtualRPC-Adjust. The first thing to do is make sure that all the machines have ShareFS enabled on them, both any real machine and any virtual one. You can easily see if ShareFS is enabled by looking for the discs icon on the icon bar.


The ShareFS discs icon on the icon bar

Information on setting up ShareFS and on networking is in the VirtualAcorn manual, so I'm not going to reproduce it here. So I am going to assume that both machines have ShareFS running on them and that both machines can see each others harddiscs. If you find that the machines can't see each other then check that a Windows firewall hasn't blocked access from/to VirtualRPC.

So I have two machines, a desktop PC running VirtualRPC-SE with an internal floppy drive, and a laptop running VirtualRPC-Adjust with no floppy drive. Both copies of RISC OS have ShareFS enabled and can see each others harddrives. So we now need to fiddle ShareFS so that the laptop can see the desktop machines floppy drive and use it under RISC OS.

On the desktop PC (the one with the floppy drive) make sure a RISC OS floppy is inserted and simply press F12 and type:

Share ADFS::0.$ Floppy

And press return. If you get an error message then either you typed the command wrongly or you forgot to put a floppy in the disc drive, type the command again and press return. Press return one final time to go back to the desktop. If you now click on the discs icon on the desktop PC you will see the shared floppy disc icon:


The Shared floppy disc icon in the middle

If you now move over to the laptop and do the same you will also see a floppy disc icon in the list of shared discs. Double click on it and a new disc icon will appear on the laptops icon bar, this new disc will be called floppy. If you click on this disc drive you should hear the floppy drive in the desktop PC start up and after a few seconds a floppy drive window will open on the laptop. You can now read and write files from the floppy drive in the desktop machine on the laptop. See, I said it was clever.

As well as reading and writing files you will also be able to install some software from an original floppy disc onto the laptop. The reason I say "some" software is that some installers run across multiple discs, which won't work. Some other installers assume they are running on ADFS::0.$, which they aren't, these will also fail. However all isn't lost in these cases, all that's required is a little thought. Instead of accessing the floppy from the laptop, you can access the laptops RISC OS harddisc from the desktop. So from the desktop open the Laptops harddisc via ShareFS and simply install the software to that, instead of to the local harddisc.

The final thing to note is that the new floppy drive won't recognise the disc being swapped. In order to change discs you will need to remove the floppy share, to do this press F12 and type:

UnShare Floppy

And press return. Now change the floppy disc and then reshare the floppy drive with the new floppy disc inserted.

This technique can prove very useful, not just on VirtualAcorn but also with one of the new cheaper Iyonix machines that doesn't have a floppy drive.

I have put two obey files in the VirtualAcorn section of the software directory. One will turn on a shared floppy drive, the other will turn it off.

[Home] [Products] [FAQ] [Order] [Contact] [Press Releases] [Tech Support] [Downloads]

 Copyright (c) 2017 3QD Developments Ltd. All rights reserved. All trademarks are acknowledged. All details are correct at the time of publication, E & OE.
Last Edit Date 01/11/17
info@virtualacorn.co.uk
d