pmode FDC driver

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.
Post Reply
HOS

pmode FDC driver

Post by HOS »

hi, i am working on a pmode FDC driver and i am wondering how to go about reading the result phase of the commands sent to the fdc controller. i try sending commands (for instance a seek command) and i hear the drive move, then i get a fdc interrupt. it is this point where i have the question. once i get the fdc interrupt, can i want till the Main Status Register says there is data available, and then when it does begin reading the result phase bytes? do i have to wait till the MSR says there is data available between each result byte? and do i have to do anything to acknowledge that i read the results other than reading from the port?

thanks a lot in advance!!
HOS

RE:pmode FDC driver

Post by HOS »

ok, one more thing: in protected mode, does the fdc still set a bit of the bios data area at 40:3E? if so, where is this in protected mode? right where it would be in real mode?
mindvnas

RE:pmode FDC driver

Post by mindvnas »

are you sure it is the FDC that sets this bit? as far as i know, the BIOS does this after the fdc signalled an irq.
Post Reply