mgba_read_memory
Read memory values from specific addresses in Game Boy, Game Boy Color, or Game Boy Advance ROMs after running for a set number of frames, enabling game analysis and automated testing.
Instructions
Read memory at specified addresses after running for some frames
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rom_path | Yes | Path to the ROM file | |
| addresses | Yes | List of memory addresses to read (as integers, e.g., [0xC200, 0xFFBF]) | |
| savestate_path | No | Optional savestate to load | |
| frames | No | Frames to run before reading (default: 60) |