I was lately studying the Overscan/full screen topic. I think I found some answers and explanations that were never found before (or at least they were not disclosed), including some interesting new stuff. Expect some articles to be published shortly. In the meantime here it is an issue, perhaps not directly related, but very relevant to the topic.
As you may know, an MFP timer interrupt was a common method for opening the top border. But the full screen coders soon found out that the interrupt time depends on the specific machine:
I was quite amazed when I read that. A few cycles is reasonable as interrupt jitter or because minute differences among machines in the interrupt latency. But 60 cycles is far too much.Alien wrote: (from Alien’s great article)
Third bet, the latency to service the MFP interrupt will always be the same. This is true for the ST/STF series, but some STEs that I was able to test (thanks to Laurent) triggered the interrupt 60 cycles later than on a STF!
Then Paolo gives a better explanation:
Well, that certainly explains the difference. But I still thought that it is extremely weird that the machine clock is not the same in all the computers. But … wait ... is it really weird? Not at all, and it is actually obvious why. Considering that many ST coders come from the 8-bit or were also Amiga coders, it is amazing that the actual reason was not known.ljbk wrote: MFP handling also has another problem: it has a separate clock from the CPU and the 68000 does NOT have the same frequency for every ST: 8007100 for mine but 8021247 for most
Do you get it now? No … hint, hint: Why some Atari 8-bit computers have a slightly different clock than others? Why this happens also in the Amiga?
YES, you got it. There are PAL machines, and there are NTSC machines. And STs are not the exception. And there is no other possibility. The color clock that drives the TV signal must be different for both TV norms. And this is actually described in newer ST and STe schematics.
So Paolo, you have an NTSC computer! Note that the PAL vs. NTSC clock is important only for the modulator. The vertical and horizontal frequency doesn’t need to be exact as per the norm. Only the color clock must be. So it is very possible that computers without modulator in Europe had the NTSC clock. Actually, it is possible that all the earlier models (that didn’t have modulator) had the NTSC clock.
Below is a small program that will measure the main clock of the computer, in relation to the clock of the MFP timers (which is supposed to be constant). The program doesn’t attempt to measure the clock with extreme precision. Just with two decimal digits accuracy that is enough to distinguish the machine. It shows the value of the main clock/oscilator, which is ~32 Mhz (four times the CPU clock).
Note that according to the schematics there is a big difference between the clock on NTSC STf, and NTSC STe models. I’m not sure exactly why. Would be interesting if somebody with an US STe to see the actual result.