Page 1 of 1

my floppy drive keeps spinning

Posted: Fri Apr 11, 2003 11:00 pm
by echristian
I have a boot loader that works well with Christopher Giese's Protected Mode examples, but My floppy drive continues to spin if I comment out the following line.How can I stop my floppy from spinning and stay in 32 bit Protected mode?


;jmp REAL_CODE_SEL:do_16    ; switch to 16-bit protected mode on
                           ;your to real mode

RE:my floppy drive keeps spinning

Posted: Sat Apr 12, 2003 11:00 pm
by jamethiel
Turn the motor off yourself by writing 0x00 to port 0x3f2.

--Jamethiel

RE:my floppy drive keeps spinning

Posted: Sat Apr 12, 2003 11:00 pm
by echristian
i tried out 3f2,0x00h but it did not work. Is this what you meant for me to try?
Thanks for the help

RE:my floppy drive keeps spinning

Posted: Sat Apr 12, 2003 11:00 pm
by echristian
thanks i got it now. I am a newbie

mov eax ,0000h
mov dx,03f2h
out dx,ax ;stop floppy motor