Sonic The Hedgehog (USA, Europe).md: 524,288 bytes; machine genesis board: rom 68000: 23,286,815 instructions identical (1,495 interrupts taken where MAME took them) Z80: 12,728,465 instructions identical (0 interrupts) 2 instructions MAME began and a reset cut short (not run); 1,958 finished after a 68000 access that fell inside them; 50,897 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): 3,165 $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 1,477 VDP read replayed (the VDP is a stub in milestone 1) e.g. VR C00004.16: board 7208, MAME 3608 475 YM2612 status replayed (the YM2612 is a stub until milestone 4) e.g. AR A04000.8: board 80, MAME 0 48 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 FD, MAME 1F 26 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 0035 @ 11496504: board after, MAME before 68000 clocks, MAME minus core, by class: 23,282,043 agree 000206 @ 34: MAME 20, core 20 00020C @ 54: MAME 8, core 8 00020E @ 62: MAME 16, core 16 3,276 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') 0010F4 @ 7585759: MAME 17, core 16 001118 @ 7585868: MAME 17, core 16 0010F4 @ 7662829: MAME 17, core 16 1,495 agree (with an interrupt entry) 0029A8 @ 7584711: MAME 74, core 74 0029AC @ 7661793: MAME 62, core 62 0029AC @ 7789796: MAME 69, core 69 Z80 T-states, MAME minus core: 12,725,282 agree 3,180 held by the 68000's bus request (MAME counts the wait) wall 1,092 s, pypy 3.11.15 exit 0