Ballblazer (USA).zip: 7800 linear $4000=pokey pokey@4000 [ntsc; softlist] board ran 60.00 s emulated (3598 frames) in 470 s MAME 24962 writes in its first 60 s ({'TIA $01': 180, 'TIA audio': 10, 'POKEY': 24772}); board 24962: first difference at 14330: MAME (16384, 1) board (16384, 3) the first difference is at MAME 37.848 s; re-aligned greedily: 18559 of 24962 writes match in order, 4980 resyncs POKEY reads of $0: MAME 86, board 86; first different value #0 at MAME 4.146 s (MAME E4, board 00); Φ2 periods from power-on: board 7,420,317, MAME 7,420,653; 86 of 86 differ POKEY reads of $2: MAME 86, board 86; first different value #0 at MAME 4.146 s (MAME E4, board 00); Φ2 periods from power-on: board 7,420,287, MAME 7,420,623; 86 of 86 differ POKEY reads of $4: MAME 86, board 86; first different value #0 at MAME 4.146 s (MAME E4, board 00); Φ2 periods from power-on: board 7,420,261, MAME 7,420,597; 86 of 86 differ POKEY reads of $6: MAME 86, board 86; first different value #0 at MAME 4.146 s (MAME E4, board 00); Φ2 periods from power-on: board 7,420,235, MAME 7,420,571; 86 of 86 differ POKEY reads of $A: MAME 801, board 801; same values in order over the shorter intervals: 24961; Φ2 count = CPU cycles + DMA periods + RDY periods and clocks = 4 x periods + 2 x slow in 24961 of 24961 board periods - MAME cycles per interval (most common): [(0, 12116), (-5, 280), (-3, 266), (-2, 266), (-6, 266), (4, 157), (-4, 155), (1, 86)] writes 0-14329 (to MAME 37.83 s): board 67,697,093 periods, MAME 67,704,077 cycles, drift -6,984 drift explained: a slow cycle is one 6-clock period (timing.md), so periods fall behind time by slow/2 = -6,979; the rest, -5, is when the program wrote (board time - MAME time in CPU cycles: -5) board DMA periods in the window 19,667,163, RDY periods 11,326,233, slow cycles 24,590