gb_get_lcd_status
Reads Game Boy LCD/PPU registers and returns parsed state, decoding control and status bits for display inspection; errors when no ROM is loaded.
Instructions
Read LCD/PPU registers and return parsed state.
Reads LCDC (0xFF40), STAT (0xFF41), SCY/SCX, LY/LYC, WY/WX. LCDC and STAT bits are decoded into named fields. 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_lcd_status"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||