gb_get_timer_state
Read Game Boy timer registers and return parsed DIV, TIMA, TMA, and TAC state, including timer enable flag and frequency; reports an error when no ROM is loaded.
Instructions
Read timer registers and return parsed state.
Reads DIV (0xFF04), TIMA (0xFF05), TMA (0xFF06), TAC (0xFF07). TAC is decoded into enabled flag and frequency. Returns error if no ROM loaded.
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_get_timer_state"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||