dosbox_search_memory
Locate a byte pattern or text string in a DOS guest's conventional memory and get every hit as a segment:offset, so a known value becomes the address needed to start profiling.
Instructions
Search the guest's 640 KiB of conventional memory for a byte pattern and report every hit as a guest segment:offset. This is how a known string -- a file name the game opens, a message it prints -- becomes the segment that holds it, which is the first step in writing a profile. Give text, or hex for raw bytes.
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": "dosbox_search_memory"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| hex | No | Raw bytes as hex, instead of text. | |
| pid | No | ||
| text | No | Literal text to find (latin-1). | |
| limit | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||