[harness] scripts: megadrive-python 44ab15d; package: /data/emu/sega32x-python/.venv-pypy/lib/pypy3.11/site-packages/megadrive_python; 32X inserted, passive Gunstar Heroes (USA).md: 1,048,576 bytes; machine genesis board: rom 68000: 20,854,523 instructions identical (48,152 interrupts taken where MAME took them) Z80: 15,425,681 instructions identical (0 interrupts) 2 instructions MAME began and a reset cut short (not run); 6,955 finished after a 68000 access that fell inside them; 124,678 run after the 68000's bus request, as MAME caught the Z80 up to it unexplained differences: 0 named differences from MAME (MAME's value given to the CPU): 12,507 $A11100 read, bits other than the grant: MAME returns rand(); the board the next opcode's MSB and a zero LSB (CMD gen-hw.txt 1 note 4) e.g. BR A11100.8: board 66, MAME 3A 6,691 YM2612 status replayed (the YM2612 is a stub until milestone 4) e.g. AR A04000.8: board 80, MAME 0 1,686 VDP read replayed (the VDP is a stub in milestone 1) e.g. VR C00004.16: board 7208, MAME 3608 198 Z80 RAM read by the 68000 inside a Z80 instruction: MAME's timeslices put the instruction's write on the other side of the read than the board's machine-cycle estimate (the value matches it on that side) e.g. AR A01FFD.8: board 80, MAME 0 9 Z80 instruction the 68000's accesses fell inside: MAME's timeslices ran it on another side of them than the board's machine-cycle estimate, or finished it before a reset (the Z80's next registers match that order) e.g. Z80 0031 @ 56096076: board after, MAME before 1 I/O data register bit 7 before any write: MAME starts the latch at 1 (sega_md_ioport.cpp, m_data = 0xff); the board at 0 (CMD gen-hw.txt 3.0: the data registers read $7F) e.g. IR A10007.8: board 7F, MAME FF 68000 clocks, MAME minus core, by class: 20,804,361 agree 000200 @ 34: MAME 20, core 20 000206 @ 54: MAME 8, core 8 000208 @ 62: MAME 16, core 16 48,152 agree (with an interrupt entry) 000430 @ 13578352: MAME 73, core 73 00252A @ 13678060: MAME 65, core 65 002B74 @ 13806060: MAME 65, core 65 2,009 MAME's 68000-to-VDP DMA stall, length / 3.5 ns (315_5313.cpp insta_68k_to_*_dma: 'a hack until real DMA timings are implemented') 000D80 @ 13579509: MAME 17, core 16 000D80 @ 13679131: MAME 17, core 16 000D80 @ 14575171: MAME 17, core 16 Z80 T-states, MAME minus core: 15,415,462 agree 10,216 held by the 68000's bus request (MAME counts the wait) wall 2,344 s, pypy 3.11.15 [harness] systems built with a 32X: 1; claims read with ADEN set: 0 EXIT 0