Commando (USA).zip: 7800 supergame $4000=pokey pokey@4000 [ntsc; softlist] board ran 3.99 s emulated (240 frames) in 30 s MAME 482 writes in its first 4 s ({'TIA $01': 73, 'TIA audio': 393, 'POKEY': 16}); board 482: first difference at 353: MAME (22, 8) board (26, 0) the first difference is at MAME 3.504 s; re-aligned greedily: 456 of 482 writes match in order, 3 resyncs POKEY reads of $0: MAME 1, board 1; same values in order over the shorter POKEY reads of $1: MAME 1, board 1; same values in order over the shorter POKEY reads of $2: MAME 1, board 1; same values in order over the shorter POKEY reads of $3: MAME 1, board 1; same values in order over the shorter POKEY reads of $4: MAME 1, board 1; same values in order over the shorter POKEY reads of $5: MAME 1, board 1; same values in order over the shorter POKEY reads of $6: MAME 1, board 1; same values in order over the shorter POKEY reads of $7: MAME 1, board 1; same values in order over the shorter POKEY reads of $8: MAME 1, board 1; first different value #0 at MAME 2.509 s (MAME 00, board FF); Φ2 periods from power-on: board 4,489,516, MAME 4,489,783; 1 of 1 differ POKEY reads of $9: MAME 1, board 1; first different value #0 at MAME 2.509 s (MAME 09, board 00); Φ2 periods from power-on: board 4,489,506, MAME 4,489,773; 1 of 1 differ POKEY reads of $A: MAME 1, board 1; same values in order over the shorter POKEY reads of $B: MAME 1, board 1; same values in order over the shorter POKEY reads of $C: MAME 1, board 1; same values in order over the shorter POKEY reads of $D: MAME 1, board 1; same values in order over the shorter POKEY reads of $E: MAME 1, board 1; same values in order over the shorter POKEY reads of $F: MAME 1, board 1; same values in order over the shorter intervals: 481; Φ2 count = CPU cycles + DMA periods + RDY periods and clocks = 4 x periods + 2 x slow in 481 of 481 board periods - MAME cycles per interval (most common): [(0, 220), (13, 26), (-11, 15), (-17, 10), (-5, 10), (-4, 10), (4, 9), (-7, 9)] writes 0-352 (to MAME 3.49 s): board 6,241,482 periods, MAME 6,242,060 cycles, drift -578 drift explained: a slow cycle is one 6-clock period (timing.md), so periods fall behind time by slow/2 = -574; the rest, -4, is when the program wrote (board time - MAME time in CPU cycles: -4) board DMA periods in the window 826,033, RDY periods 582,310, slow cycles 1,435