# Timing, measured The one place on these boards with hardware-tier evidence in hand. ## Video: measured on two real boards `python -I scripts/sync_capture.py` decodes the two sigrok captures the va7deo developers recorded from real boards (pinned as CAP-IK3 and CAP-POW): | Board | Signal | Result | | --- | --- | --- | | Ikari III (A7007), ADALM2000 at 20 MHz, 0.21 s | HBL, SYNC | line period 1,280 samples = 64.0 us = **15,625 Hz** | | | VBL | frame period 337,920 samples = **264 lines** = **59.1856 Hz** (12 frames, periods 337,920 or 337,921) | | | CLK | 1,258,290 rising edges in 0.2097 s = **6.000 MHz** (the 20 MHz sampling aliases a single period to 3 or 4 samples; the edge count is the measurement) | | P.O.W. (A7008), DSLogic+ at 50 MHz, 0.20 s | composite sync | line 3,200 samples = 15,625 Hz; vertical gaps every 844,800-844,801 samples = **264.000 lines = 59.1855 Hz** | **MEASURED**: 6 MHz dots, 384 dots a line (64 us x 6 MHz), 264 lines, 59.1856 Hz. It agrees with SCH-A7007 sheet 1 (24 MHz / 4 = 6 MHz dot clock: DOC), with va7deo's README, and with MAME's screen (6 MHz, 384 x 264, 59.185606 Hz: OBSERVED). Not yet known: where in the line and frame HBL, VBL and sync start and how long each lasts (the captures hold this; U5 for M2), and the visible window (MAME: 256 x 224). ## Video: Prehistoric Isle disagrees (C1) va7deo's Prehistoric Isle README gives the real board **54.065743 Hz with 289 lines** (MAME testers bug 5939 is cited there, not read). The OSSC photograph it rests on (pinned, OSSC-PI, `OSSC_Timings_02.jpg`, viewed) reads "RGBS 289p, 15.61kHz 54.03Hz": the OSSC's own rounded measurement. 15,625 / 289 = 54.066 Hz, so README and readout agree within the OSSC's precision. MAME has 59.1856 Hz and 264 lines. **Recommend the OSSC reading (OBSERVED on a real unit) over MAME (tier 5)** for prehisle, PROVISIONAL until a capture is decoded. ## CPUs and sound | Clock | Value | Evidence | | --- | --- | --- | | 68000 | 9 MHz (18 MHz / 2) | DOC sheet 2; OBSERVED crystal markings (va7deo) | | Z80, YM3812 | 4 MHz (own 4.000 MHz crystal and HC04 oscillator, F17) | DOC sheet 12 | | uPD7759 | its own resonator on X1 with a 220 pF capacitor (sheet 12, bottom edge; value not legible); MAME 640 kHz; NEC's typical 640 kHz | DOC (partial), OBSERVED (MAME), DOC (NEC); **C2**: va7deo's table lists the 4 MHz crystal for "Z80 / YM3812 / uPD7759", which no integer divider turns into 640 kHz. Read the resonator in M0 |