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
my floppy drive keeps spinning
RE:my floppy drive keeps spinning
Turn the motor off yourself by writing 0x00 to port 0x3f2.
--Jamethiel
--Jamethiel
RE:my floppy drive keeps spinning
i tried out 3f2,0x00h but it did not work. Is this what you meant for me to try?
Thanks for the help
Thanks for the help
RE:my floppy drive keeps spinning
thanks i got it now. I am a newbie
mov eax ,0000h
mov dx,03f2h
out dx,ax ;stop floppy motor
mov eax ,0000h
mov dx,03f2h
out dx,ax ;stop floppy motor