Page 1 of 1

Writing program for controlling floppy drive stepper motor

Posted: Mon Oct 08, 2012 8:36 am
by toystory
I don't know if this is right place for asking this question but I always have a bad luck in asking questions on forum's.
So, I didn't find any material or code of modified linux floppy drive for controlling motor, only this tweak http://www.codeproject.com/Articles/167 ... ia-Paralle but, he is using parallel port for pulsing pins that are responsible for moving the motor. My qestion is: Is it possible to write program that can send signals to that pins(18 and 20) on floppy header.

Re: Writing program for controlling floppy drive stepper mot

Posted: Mon Oct 08, 2012 11:49 am
by bluemoon
toystory wrote:I don't know if this is right place for asking this question
I believe most sane person on the forum agree that physical floppy drive is obsoleted and do not care it anymore, some people may still uses it in emulator or BIOS emulations but that do not involve tweaking motor.
toystory wrote:My qestion is: Is it possible to write program that can send signals to that pins(18 and 20) on floppy header.
I'm not sure on the pins or motors but it is possible for software to have more usable sectors.
http://lmgtfy.com/?q=format+floppy+1.72mb

Re: Writing program for controlling floppy drive stepper mot

Posted: Mon Oct 08, 2012 12:23 pm
by Combuster
The FDC chip does have a spindle motor enable register for each of the attached drives. If it works as well for audio as playing PWM on the parallel port, I don't know, but I prefer my own floppy drives intact. The stepper (noisy) motor is however responsible for seeking and can't be controlled by simple means as far as I know. That's probably the reason why that bit is generally hooked up to a different connector to complete the music hack.