Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
I've completed a FD controller driver for my OS. It reads flawlessly a floppy disk. The only problem is when you try to read a floppy disk when it's not inserted. On VirtualBox, I just get a bunch of 0s. On bochs it panics:
is it PANIC on bochs while doing any operation? I mean that you could just to try reset fdc, and if get unpleaserable result make your decision that floppy is not inserted...
see where is a problem: floppy drive do not know such as cd drive when floppy is inserted, so it try to read it, while getting an error it makes decision that floppy isn't inserted...