gb_step
Advance Game Boy emulation by a set number of frames or CPU instructions, then return PC, decoded instruction, and full register state for debugging.
Instructions
Advance emulation by count steps and return CPU state.
Modes:
- "frame": advance *count* frames (fast, default).
- "instruction": advance *count* individual CPU instructions via
hook-based stepping (slower, precise).
Returns current PC, decoded instruction at the new PC, and full
register state.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "gb_step"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | frame | |
| count | No |