> At 11:37 PM 17/03/2002 -0500, you wrote: > >Amazing!!! That is the EXACT same text I have printed out in > front of me to > >get this thing going... Oh well, I guess I'll keep on trying. Thanks > >anyways, TTYL > > > > > Yes, it should clear if there's nothing else to get. > > > >From the article by Peter Faasse at > > > http://www.pjrc.com/tech/8051/ide/wesley.html : > > > > > > bit 3 : DRQ bit. If this bit is set then the disk either wants > > > data (disk write) or has data for you (disk read). > > > > > > > It just bugs me that the DRQ bit > > > > stays, it should go away if I've read all it has to give me > > > shouldn't it? > > So maybe it has more data to give than what you think ? Actually I set it up so that it would continue getting data until the DRQ bit went away.. Just got it working, turns out that I was reading data from the device too soon (a bad DRQ check routine, retlw doesn't modify the Z flag??!??!), this seems to mess up the drive so that it gives the right data, but doesn't clear it's DRQ flag?? Strange, oh well, got the ident command to work, now off to the wonderful world of LBA and FAT16! :) Thanks to all for your help. TTYL -- http://www.piclist.com hint: To leave the PICList mailto:piclist-unsubscribe-request@mitvma.mit.edu