Linards Ticmanis <ticmanis@gmx.de> wrote:
Jorge Chamorro Bieling wrote:
No... usually the loop runs forever, until data is there.
Is that what happens when you power it up without disk ?
(keeps waiting there forever)
Yes and no. It waits for D5 AA 96 to appear. If it doesn't, it'll just
run on and on and on. But...
But, if you boot and then remove the disk you'll get i/o errors..?
So somehow it quits instead of entering an endless loop.
...if the drive motor is running but there is no disk in the drive,
you'll read back random data. It's unlikely that the random data will
ever match D5 AA 96 unless you keep it running almost forever. But the
random data is enough to terminate the simple LDA ... BPL... loop that's
normally used to wait for a single byte.
I see... although it is an endless loop it won't lock because sooner or
later the msb is going to be set, by the data in a disk or by noise if
there's not a disk in the drive.
Then, I guess, if it was not because of the head stepper, a zipchip (or
anyother accelerator) at full speed could probably use a Disk II for
*reading* without any (timing) problems... right ?