# Mega Drive test ROMs for megadrive-python A folder to copy to another machine for trying megadrive-python's frontend (`megadrive-python-play`, milestone 9). Copied from the local romset on 2026-09-27; **not part of any repository -- never commit these.** Run with PyPy from a clone of `alewman/megadrive-python`: pypy3 -m venv .venv-pypy .venv-pypy/bin/pip install -e ".[frontend]" .venv-pypy/bin/megadrive-python-play "cartridges/Sonic The Hedgehog (USA, Europe).zip" Keys: arrows, Z X C = A B C, A S D = X Y Z, Enter = Start, Q = Mode, Backspace = the console's reset button, Tab = fast forward, F3 pause, F5 power cycle, F11 fullscreen, F12 screenshot, Esc quit. Useful flags: `--no-fm` (FM generator off, much faster, silent but for the PSG), `--skip N` (draw one frame in N + 1), `--pad 6button`, `--machine genesis|megadrive|megadrive-japan|...`, `--save FILE` (battery RAM), `--tmss-rom bios/...zip`. **Expect it below full speed.** This is the reference board: correct first. On PyPy it runs about 16-21 frames a second with the FM on, 40-55 with `--no-fm`; the title bar shows the speed. Speed is the job of the family's `-fast` projects, so a report of "slow" is expected -- reports of anything that *looks or sounds wrong* are the useful ones (with a screenshot, F12, and the frame or moment). ## cartridges/ | cartridge | why it is here | | --- | --- | | Sonic The Hedgehog (USA, Europe) | the baseline; lockstep-verified against MAME; reset button tested on it | | Sonic The Hedgehog 2 (World) | two-player split screen uses interlace mode 2 | | Sonic The Hedgehog 3 (USA) | FRAM battery save (`--save sonic3.srm`), the Z80 reads R | | Sonic & Knuckles (World) | the lock-on cartridge, loaded as itself (a past bug loaded its adapter) | | Streets of Rage 2 (USA) | heavy FM music, many sprites; lockstep game | | Gunstar Heroes (USA) | many sprites and raster effects | | Vectorman (USA, Europe) | writes plane B's vertical scroll every line: judged against the die model (224/224 lines) | | McDonald's Treasure Land Adventure (USA) | writes vertical scroll in the middle of every line | | Batman - The Video Game (USA) | moved onto MAME's picture with the vertical scroll latch | | Mega Turrican (USA) | the same | | Panorama Cotton (Japan) | the same; heavy raster effects (`--machine megadrive-japan` is chosen from its header) | | ZPF (World) (Demo) | homebrew; the same | | Overdrive 2 (Revision 2017) | Titan's demo, PAL only, the hardest known: fractal zoom at 2:21 (fixed), B-masked debug-register scenes; runs on real hardware only with some VDP revisions | | Earthion (v3.3.0) | Krikzz's Extended SSF mapper (MAME draws noise here; the board runs it) | | Demons of Asteborg | Extended SSF too (MAME crashes on it) | | Super Street Fighter II (USA) | the Sega (SSF2) bank mapper, 5 MB | | NBA Jam (USA, Europe) | serial EEPROM saves | | Phantasy Star Fukkokuban (Japan) | a bad dump with an odd initial PC: the board currently raises an error; a real console shows black (open, fixed in the next core update) | | Castle of Illusion (USA, Europe) | classic platformer, clean baseline | | Altered Beast (USA, Europe) (Rev 2) | the m68000 core's own 28-million-instruction MAME comparison game | | Contra - Hard Corps (USA, Korea) | fast action, raster effects | | Ristar (USA, Europe) | late-era effects | | Thunder Force IV (Europe) | PAL; heavy scrolling and FM | ## test-roms/ | file | what it shows | | --- | --- | | 240p Test Suite (v1.30) | Artemio's suite: colour bars, scroll tests, sound tests, controller test (MDFourier signal too) | | VDPFIFOTesting.zip | Nemesis's VDP FIFO/DMA timing tests: the board passes 122/122 | | SpriteMaskingTestRom.bin | Nemesis's sprite masking ROM: all 18 results match his MD1600 photographs | | vdp_tests.bin | r57shell's VDP tests (navigate with the D-pad) | | joy_speed_v1.02.bin | r57shell's pad re-read latency tool -- good for the gaming PC's input | | gen_test_z80_bus.md | Mask of Destiny's Z80 bus test: 8/8 PASS on the board | ## bios/ The TMSS boot ROM: `--tmss-rom "bios/[BIOS] Sega Mega Drive - Genesis - Boot ROM (World).zip"` with `--machine genesis-tmss` shows the licence message, then the cartridge. ## measurement-carts/ Small cartridges built by the project's measurement scripts (`scripts/run_*.py`), each the one it was judged with against Nuked-MD, the die-derived model. Each draws red and green lines; what is correct is in the script's docstring: - `vscroll-latch-plane{A,B}-{h40,h32}.bin` -- full-screen vertical scroll, written at a sweeping point across every line: **no line should change colour part way along**. - `vscroll-2cell-planeA-column10-h40.bin` -- 2-cell column scroll: column 10 (pixels 160-175) must never be split. - `output-delay-cram-*.bin`, `output-delay-reg7-*.bin` -- the backdrop colour changed mid-line: the change shows 21 (H40) / 24 (H32) pixels left of the H counter. - `fetch-tile-row-*.bin`, `fetch-name-column20-*.bin` -- tile data rewritten mid-line. These are for comparing against another emulator or real hardware (a flashcart); on the board they match the die model, within one access slot of 68000 timing.