Floppy sides?

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
Adek336

Floppy sides?

Post by Adek336 »

Hello

My readSector routine can't read a sector if it is on side 1! Why is it so? That means I can't read half the sectors!

Thanx,
Adrian.
Jamethiel

RE:Floppy sides?

Post by Jamethiel »

Well, from your exceedingly detailed description of the problem, I'd say that the problem is that there's a bug in your code somewhere.

Hope this helps.

(sarcasm aside, there are two places in the floppy command packet that you have to set the head number, did you get both of them? Alternatively, if you're just doing a whole-track read, did you set it up to flip heads once it reaches the last sector of the first side?)

--Jamethiel
Adek336

RE:Floppy sides?

Post by Adek336 »

Thanx

yea, I found the other place for the head number :)

now it works,
Adrian.
Post Reply