Jorge Chamorro Bieling wrote:
-loop to wait for data coming from the disk (*).Doesn't have to be exact, as long as it's not too *slow*....except if the program in question is a nibble copier -- in that case speed does matter.I thought this loop just keeps waiting for the msb bit to be set in theread register. The problem with a processor that is too fast is that the loop may endbefore the disk data got into the read register ?
No... usually the loop runs forever, until data is there.
Does a nibble copier read from the disk in a different way ?
Yes... it counts iterations of this loop to determine which bytes are sync bytes. If the loop runs far more often than is normal, this detection won't work,
-- Linards Ticmanis