High Bit of State Register
ZXNet echo conference «zx.spectrum»
From Pavel Fedin → To All 14 September 1997
hello, Vladimir Yudin! I remember that on 11 Sep 97 you took it and launched
in All with this:
VY> Here people sent me a lot of letters saying that my emulator was slow
VY> working with disks. So, today, unexpectedly for myself, I decided this question
VY>! :) Here’s what’s not clear - in the controller’s status register, the most significant
VY> bit is responsible for the readiness of the disk drive (source: book by Larchenko and
VY> Rodionov), I always had it on, today I started resetting it
VY> at the end of the command and everything crashed, so what does
VY> this bit respond to?
In what sense did it crash? Did it work faster? The point is that when
the drive is ready, this bit is cleared. And many TR-DOS routines take the value of this bit before the operation and remember it, and look at it after the operation. If it was equal to 1, then a delay is made. As far as I know, the controller is designed so that the drive is considered ready for life - the readiness signal from the drive (pin 34) is not used, and 3 bits of the system register are supplied to pin 23 of the VG93. Why this is needed - I don’t really know; The 3
bit of the status register in TR-DOS itself is always set to 0, i.e. the drive is supposedly ready. Unfortunately, I can’t say anything more - the rest
information has been lost. :-(((
bye, with all the best wishes, Pavel Fedin.