bradr
Member
Hey All,
I'm looking into adding support for floppy disk support for my FPGA TRS80 project and as such have been reading over the docs for the WD1771 disk controller and have a question.
At the end of page 3 of the data sheet it says this:
What exactly is the "first encountered ID Field"? I'm wondering how the controller locates/recognises the ID field and what would prevent a similar pattern of bytes in the user sector data from tripping up the controller and getting an invalid field?
I can understand how this could work if the controller waited for the index hole, then decoded the track from the start, but this sounds like the head is simply moved to the new track and reading could start anywhere in the middle of the track. How does it know it's really a ID Field?
Any help appreciated
Brad
I'm looking into adding support for floppy disk support for my FPGA TRS80 project and as such have been reading over the docs for the WD1771 disk controller and have a question.
At the end of page 3 of the data sheet it says this:
"When a Seek, Step or Restore command is executed an optional verification of Read-Write head position can be performed by setting bit 2 in the command word to a logic 1. The verification operation begins at the end of the 10 millisecond settling time after the head is loaded against the media. The track number from the first encountered ID Field is compared against the contents of the Track..."
What exactly is the "first encountered ID Field"? I'm wondering how the controller locates/recognises the ID field and what would prevent a similar pattern of bytes in the user sector data from tripping up the controller and getting an invalid field?
I can understand how this could work if the controller waited for the index hole, then decoded the track from the start, but this sounds like the head is simply moved to the new track and reading could start anywhere in the middle of the track. How does it know it's really a ID Field?
Any help appreciated
Brad