Ballblazer (USA).zip: 7800 linear $4000=pokey pokey@4000 [ntsc; softlist] board ran 10.99 s emulated (660 frames) in 81 s MAME 1458 writes in its first 11 s ({'TIA $01': 180, 'TIA audio': 10, 'POKEY': 1268}); board 1458: first difference at 1134: MAME (16388, 127) board (16388, 75) the first difference is at MAME 10.327 s; re-aligned greedily: 1422 of 1458 writes match in order, 14 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 19, board 20; first different value #0 at MAME 10.127 s (MAME 09, board D2); Φ2 periods from power-on: board 18,124,802, MAME 18,125,150; 19 of 19 differ intervals: 1457; Φ2 count = CPU cycles + DMA periods + RDY periods and clocks = 4 x periods + 2 x slow in 1457 of 1457 board periods - MAME cycles per interval (most common): [(0, 869), (13, 63), (1, 37), (-1, 35), (-17, 23), (20, 22), (-11, 19), (-14, 12)] writes 0-1133 (to MAME 10.33 s): board 18,482,633 periods, MAME 18,482,932 cycles, drift -299 drift explained: a slow cycle is one 6-clock period (timing.md), so periods fall behind time by slow/2 = -387; the rest, +88, is when the program wrote (board time - MAME time in CPU cycles: +88) board DMA periods in the window 2,014,765, RDY periods 1,568,628, slow cycles 1,094