dosbox_sample
Samples watched memory fields repeatedly into a TSV, showing how values move over time, while preserving the entry segment for offline analysis.
Instructions
Sample a set of memory fields repeatedly and write the series as a TSV. dosbox_read_memory answers what a value is and dosbox_wait_for answers when it becomes something; this answers how it MOVES, which is what most questions about a running program actually are. Every field in a row comes from one snapshot, so the columns do not drift against each other. watch takes symbol names, offsets, or the name of a watch set the profile defines. The whole segment at the entry instant is dumped beside the TSV, so a question nobody thought to put in the watch list can still be answered offline.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| hz | No | Samples per second. | |
| out | No | Write <out>.tsv and <out>_entry_ds.bin. | |
| pid | No | ||
| pokes | No | Written once after the entry sample, before the series. | |
| watch | Yes | Symbols, offsets, or a watch-set name. | |
| seconds | No | How long to sample. | |
| settle_seconds | No | Wait between the entry sample and the pokes. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||