Sabiendo lo "tiquismiquis" que eres, jaajaaja,
a ver si esta información ayuda un poco. Investigando por el trastero del spectrum se encuentran muchas cosas que simple vista pueden pasar desapercibidas pero son una fuente de información.
NTSC funciona 30 fps (frames per second) ( a 60 Hz ) frente a 25 fps del formato PAL ( a 50 Hz ). Ambos formatos también utilizan un número de líneas por imagen diferente y como resultado dan una resolución diferente. La calidad de resolución entre los sistemas NTSC y PAL es otra de las mayores diferencias entre ambos después del número de imágenes por segundo. Las imágenes en formato PAL están formadas por 625 líneas ( 576 en el campo de visión ) y el sistema NTSC utiliza 525 ( 486 en el campo de visión ). Por esto, a pesar de ofrecer un menor número de imágenes por segundo, el sistema PAL ofrece una mayor resolución.
Aunque los Timex son similares al 48K, hay algunas diferencias:
EL Z80 funciona a 3.52800 MHz, en el Spectrum 48K va a 3.50000 MHz.
El AY-3-8912 funciona a 1.76475 Mhz.
Las máquinas americanas tienen la interrupción de 60Hz y las europeas a 50Hz.
Los timmings del scanline serán probablemente diferentes.
Al parecer en un Spectrum 48K normal hay 224 T-estados , 312 líneas de exploración por trama y 64 líneas de exploración antes de generar la imagen de video. En teoría, en los modelos europeos no debería haber 226 T-estados por scanline. Hay ya sea 311 o 312 líneas de exploración por trama y 63 o 64 líneas de exploración antes de la imagen de video, no se sabe con precisión.
Esto significa que probablemente en algún lugar hay entre 70286 y 70512 T-estados por cuadro. Haciendo un cálculo, en modelos europeos la interrupción 50 Hz se produce a 50,04 Hz. No se sabe exactamente en qué momento la interrupción 60 Hz se produce en los modelos americanos.
La frecuencia de cuadro es de 29,97Hz, la prorpociona la propia ULA del Timex y no se puede cambiar. La codificación va a 3,575 MHz, que es el reloj de color y solo opera en NTSC. Así que ya rebuscando recursos americanos para el 2068 me encuentro:
The oscillator circuit utilizes an AT -cut quartz crystal at 14.112 MHz. This oscillator feeds a divide by 4 chain to generate the 3.528 MHz clock for the CPU. This clock runs continuously except when the CPU addresses the 16K bytes of RAM containing the video display file at the same time the video display processor logic requires access to that same RAM. For this contention case the CPU clock is stopped in the high state until the video display processor access has been completed, then the CPU clock continues in its normal manner.
Display File H/W Control and Timing
The 14.112 MHz oscillator is also used to drive the counter chain deriving video timing. By dividing the 14.112 MHz. signal by 896 a 15.75 KHz horizontal sweep frequency is generated. The 15.75 KHz signal feeds a 9-stage counter which counts from 0 to 106H (262 decimal)
developing the 60.1145 Hz vertical sync.
During each horizontal scan the video display processor accesses, in the standard video mode, 32 bytes of pixel data plus 32 bytes of attributes by 32 memory accesses reading 2 bytes per access in RAM page mode, i.e. the low order address bits are provided to the RAM once via RAS activation, then the data byte is read during the first activation of CAS and the attribute byte is read during the second activation of CAS. The page mode operation is completed by deactivating RAS.
The accessed pixel data is serially shifted out to the video generation circuitry at a rate of 1 bit each 142 nanoseconds (7.056 MHz) resulting in the need to fetch a new data/attribute pair each 1.134 microseconds during the horizontal scan time. The shifted out pixel information is used to control the selection of the 3 paper color (pixel=0) or 3 ink color (pixel=l) bits to be gated out as the R, G, and B signals. When FLASH is enabled by the attribute byte, the INK and PAPER field information is swapped at the 1.879 Hz. flash rate. The R, G, and B signals control t he D -to-A converter which generates the proper U, V, and Y outputs for use by the 1889 to create composite video
La ULA del Timex en este caso decide la salida a 60 Hz y no la podemos cambiar. Al parecer la señal de TV no es progresiva sino entrelazada y cada dos barridos de pantalla constituyen un solo cuadro. La ULA del TK tiene un pin de selección para los 50 o 60Hz, además lo hace sobre la marcha.
Y después de tanto esfuerzo, resulta que está todo aquí:
http://faqwiki.zxnet.co.uk/wiki/NTSC_SpectrumThe CPU is clocked at 3.5275 MHz.
The ULA is a model 6C011E-3 (dated 8501 in the example in question) which generates a NTSC frame size and rate.
One frame lasts 0xe700 (59136) T-states, giving a frame rate of 3.5275×106 ÷ 59136 = 59.65 Hz.
224 T-states per line implies 264 lines per frame.
The first contended cycle is at 0x22ff (8959). This implies 40 lines of upper border, 192 lines of picture and 32 lines of lower border/retrace.
The contention pattern is confirmed as being the same 6,5,4,3,2,1,0,0 as on the 48K machine.
Although the clock rate is slightly higher, any software making heavy use of the lower 16 KB of RAM will run slower on the NTSC Spectrum, since the proportion of time during which memory is contended is greater. This is a result of the NTSC Spectrums need to render the display at a higher frame rate (60 Hz instead of 50 Hz).
y de propina...