Writing program for controlling floppy drive stepper motor

Programming, for all ages and all languages.
Post Reply
toystory
Posts: 1
Joined: Mon Oct 08, 2012 8:15 am

Writing program for controlling floppy drive stepper motor

Post 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.
User avatar
bluemoon
Member
Member
Posts: 1761
Joined: Wed Dec 01, 2010 3:41 am
Location: Hong Kong

Re: Writing program for controlling floppy drive stepper mot

Post 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
User avatar
Combuster
Member
Member
Posts: 9301
Joined: Wed Oct 18, 2006 3:45 am
Libera.chat IRC: [com]buster
Location: On the balcony, where I can actually keep 1½m distance
Contact:

Re: Writing program for controlling floppy drive stepper mot

Post 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.
"Certainly avoid yourself. He is a newbie and might not realize it. You'll hate his code deeply a few years down the road." - Sortie
[ My OS ] [ VDisk/SFS ]
Post Reply