mame_drive_to_gameplay
Drive a MAME game to active gameplay: wait for boot completion, inject coin and start inputs, and verify game tick to prevent replay desync.
Instructions
BOOT-AWARE drive to a running game: wait for the $0818 idle (boot done), inject clean coin/start EDGES, confirm GAME_TICK. Replay-robust where a fixed-frame .inp desyncs (the C-Chip boot handshake isn't bit-reproducible).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| coin | No | Coin 1 | |
| start | No | 1 Player Start | |
| credits | No |